Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent return value for proxy URI get #3

Open
townxelliot opened this issue May 5, 2017 · 3 comments
Open

Inconsistent return value for proxy URI get #3

townxelliot opened this issue May 5, 2017 · 3 comments

Comments

@townxelliot
Copy link

The RDF for a proxy URI sometimes contains olo:Slot objects and the expected search results format, and sometimes doesn't.

Compare:

http://acropolis.org.uk/9d6f86627b4c46eca3dda409d611c27e.ttl (no olo:Slot resources)
http://acropolis.org.uk/6ec96f5bd2c64232a17d132334f1da75.ttl (olo:Slot resources)

My assumption is that the olo:Slot objects are added by Acropolis and are not part of the original data source that the data came from. If this is the case, the olo:Slot objects should either always be present or always absent.

If the output varies unpredictably, it could make it difficult for a client to figure out how to process the RDF for a proxy URI.

@townxelliot
Copy link
Author

Any possibility of an explanation of why a response sometimes contains olo:Slot resources and sometimes doesn't?

@nevali
Copy link
Member

nevali commented Jan 22, 2018

Interpretation of returned RDF must always depend upon the properties associated with the resource being requested. olo:Slot, as with any other property, are present when there is data to include and not when there isn't.

@nevali
Copy link
Member

nevali commented Jan 22, 2018

See bbcarchdev/patchwork#3 for the approach we're taking to make this a little clearer, although there will still be cases where the sub-graphs do not include any olo:Slot properties because there are no related items of the specified type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants