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

LD friendly term response #61

Open
carueda opened this issue Dec 19, 2017 · 2 comments
Open

LD friendly term response #61

carueda opened this issue Dec 19, 2017 · 2 comments

Comments

@carueda
Copy link
Member

carueda commented Dec 19, 2017

(summarized from recent email thread. Thanks Nick Car, @dr-shorthair, @lewismc . )

Currently, term requests are internally handled via SPARQL query.

By default (and this may actually vary depending on the default accept header -or lack thereof- from the requesting client), the response is in one of the SPARQL Response formats, like https://www.w3.org/TR/rdf-sparql-XMLres/.

Two desiderata here:

  • LD Friendly response format. We would like to determine and implement a better, Linked Data friendly format as the default behavior. In other words, do serve such SPARQL query result format only when explicitly requested from the user or client application. One option is to serve the same (or very similar) format used to register the term's containing ontology. (In the case of SWEET, this would be "Turtle").

  • Better contents of the term response itself, in particular regarding any blank nodes. Related issue User-friendly HTML view #57 .

Note, the focus here is on the "semantic format" for term responses, whereas #57's, although closely related, is HTML presentation.

@nicholascar
Copy link

HTTP Content Negotiation calling for a SPARQL response for URI dereferencing (e.g. Accept: application/sparql-results-xml) cannot be the entire solution since the query used to generate the data returned is not known. One assumes DESCRIBE is used but this may not be the case or an accepted convention. Also a DESCRIBE query will not expand blank nodes related to the dereferenced URI via an object property predicate.

@dr-shorthair
Copy link

Also a DESCRIBE query will not expand blank nodes related to the dereferenced URI via an object property predicate.

I don't think this is correct. DESCRIBE response is the prerogative of the service provider. CBD https://www.w3.org/Submission/CBD/ is one option that does expand blank nodes.

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

3 participants