URI of server included in graph name
Closed this issue · 1 comments
ctenolophon commented
Hi,
In the current master a bug seems to have been introduced that is not in 0.5.2. When a local file is posted to the server with:
curl -T foo.rdf http://localhost:8080/data/http://bar.com/foo.rdf
the graph produced is called http://localhost:8080/data/http://bar.com/foo.rdf
not http://bar.com/foo.rdf
as it should be.
njh commented
Hello,
The new version of RedStore implements SPARQL 1.1 Graph Store HTTP Protocol. The graph API is slightly different to previous versions. To use curl to create a graph, as in you example, you need to do:
curl -T foaf.ttl http://localhost:8080/data?graph=http://bar.com/foo.rdf
Other triple stores will being making this change too.
For details please see:
http://www.w3.org/TR/sparql11-http-rdf-update/
Thanks,
nick.