-
Notifications
You must be signed in to change notification settings - Fork 0
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
schema:encodingFormat SPARQL #67
Comments
We had some discussion about this in #45 already. A possible downside of using |
The default
In a request you can specify the This leads to the following conclusion (to be included in the specification):
Downside: it's harder to query for SPARQL-endpoints, you cannot rely on the "Linked Data" encodingFormats (because an SPARQL endpoint may respond with |
Alternatively, require all supported SPARQL response formats to be specified in
A complication is that SPARQL CONSTRUCT queries return a different format, i.e. one of the RDF serialisations such as All things considered, I think we should specify SPARQL endpoints differently. In DCAT we would use dcat:distribution [
rdf:type dcat:Distribution ;
dcterms:conformsTo <https://www.w3.org/TR/rdf-schema/> ;
dcterms:title "RDF representation of the data"@en ;
dcat:accessService [
rdf:type dcat:DataService ;
dcterms:conformsTo <https://www.w3.org/TR/sparql11-protocol/> ;
dcterms:title "International Chronostratigraphic Chart hosted at Research Vocabularies Australia"@en ;
dcterms:description "Service that supports queries to obtain RDF representations of subsets of the data"@en ;
dcat:endpointURL <http://vocabs.ands.org.au/repository/api/sparql/csiro_international-chronostratigraphic-chart_2017> ;
dcat:landingPage <https://vocabs.ands.org.au/viewById/196> ;
] ;
] ; |
ref: https://twitter.com/markuitheiloo/status/1554838166174965761
In the example, and also SHACL and demonstrator, application/sparql-query is used as an example for a distributions
schema:encodingFormat
. Butapplication/sparql-query
applies to the request type, andscheme:encodingFormat
should describe the response type, for a SPARQL endpoint this isapplication/sparql-results+xml
.TODO: correct requirements, correct SHACL and add to demonstrator iana mediatypes json.
The text was updated successfully, but these errors were encountered: