CommentResponse:GR-2

From SPARQL Working Group
Jump to: navigation, search

see: GR-2

Hello, Greg. Thanks for your comments, see the response(s) below (in context).

I see nothing indirect about a graph identifier encoded in the query string.

The indirection is due to the fact that when a request URI encodes a graph identifier in the query string, it is not the request URI that is used to determine which RDF graph is modified but the embedded URI.

An indirect reference would involve a lookup table of some kind (e.g. "URI number 9"), which is not what happens in the query string.

The word 'indirect' is being used in the normal english language sense rather than in any technical (or computer science-specific) sense. It is a principle of REST that a resource identifier is used to identify the particular resource involved in an interaction between components. As this document attempts to define the semantics of manipulating a graph store with the REST principles and constraints in mind, it is necessary to clarify that (in this case) the request URI does not directly identify the resource that is modified as a result.

In my view it would be better to make this distinction in purely syntactic terms, e.g. there are two ways to encode a graph identifier in the IRI syntax. One is to make it the "Request-URI" (ref. to RFC2616) and the other is to encode it in the query string (ref. to RFC2616).

The distinction is more that just syntactic since (as was mentioned above) the protocol model is constrained by the REST view of hypermedia applications which requires clarity in how resources are identified by HTTP messages.