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

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 UTC