w3c / sparql-dev

SPARQL dev Community Group
https://w3c.github.io/sparql-dev/
Other
124 stars 19 forks source link

Extend Graph Store HTTP Protocol to support operations on the RDF Dataset #56

Open jaw111 opened 5 years ago

jaw111 commented 5 years ago

Why?

SPARQL 1.1 Graph Store HTTP Protocol only provisions for operations on a single graph per request (be it the default graph or a named graph). In many situations it is useful to operate on the complete or partial RDF Dataset as a resource.

Previous work

Dydra implements support for quads in graph store protocol: https://github.com/dydra/http-api-tests/blob/master/README.md#triples-quads-and-named-graphs-in-graph-store-import-and-update-requests

Proposed solution

Considerations for backward compatibility

None, this extends the existing SPARQL 1.1 Graph Store HTTP Protocol, but remains backwards compatible.

afs commented 5 years ago

+1 : Apache Jena Fuseki provides GET, POST, PUT, OPTIONS for quad formats - and triple go to the default graph.

I don't think it necessarily requires any change to Graph Store Protocol - it is more like documentation to describe how the HTTP verbs on a web resource apply when that resource is a dataset.

namedgraph commented 5 years ago

I've tried defining some high-level semantics for this (the Quad Store section): https://gist.github.com/namedgraph/64ef07b0a3a66092cfdcbf65eefbf00f#quad-store-functions Linked Data and Graph Store semantics are also provided.