W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2011

Resolving URIs for a newly created graph in SPARQL 1.1 Graph Store HTTP Protocol

From: Nicholas Humfrey <nicholas.humfrey@bbc.co.uk>
Date: Tue, 10 May 2011 08:46:34 +0100
To: <public-rdf-dawg@w3.org>
Message-ID: <C9EEABEA.39F1D%nicholas.humfrey@bbc.co.uk>
Hello,

Can I check what the expected behaviour of POSTing to the root endpoint.

What should relative URIs in the document posted to resolved relative to?
The root endpoint, or the newly created graph identifier?

Example POSTing:
<rdf:RDF>
  <foaf:Person rdf:about="#me">
    <foaf:name xml:lang="en">Joe Bloggs</foaf:name>
  </foaf:Person>
</rdf:RDF>

To: http://mygraphstore.com/data/

Would the resulting URI for the person be:
  http://mygraphstore.com/data/#me
OR
  http://mygraphstore.com/data/6a090006-7ad9-11e0-b273-001f5bf3932c#me
  

Also, is posting an empty document valid? Should a new graph identifier be
returned in the Location header in this case?


Thanks,

nick.


http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					
Received on Tuesday, 10 May 2011 08:08:07 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:46 GMT