W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > July to September 2010

Re: SPARQL test case structure for update test cases (ACTION-267 completed)

From: Axel Polleres <axel.polleres@deri.org>
Date: Tue, 20 Jul 2010 18:12:07 +0100
Message-Id: <3A977655-6BE1-4136-AD2A-4B98298237F4@deri.org>
To: SPARQL Working Group <public-rdf-dawg@w3.org>

On 20 Jul 2010, at 13:36, Axel Polleres wrote:

> Hi all,
> 
> I completed ACTION-267 and modified the structure of update test cases to use qt:data/qt:graphData to denote the graphstore for update test cases
> 
> http://www.w3.org/2009/sparql/docs/tests/README.html
> 
> Note however, that I couldn't use qt:graphData the same way as it was done for query test cases.
> I modified the text explaining qt:graphData as follows:
> 
> "The qt:data and qt:graphData relations points the status of the Graph Store prior to the update execution described in terms of at most one qt:data property denoting the unnamed graph and optional qt:graphData properties denoting named graphs. The object of the qt:data property is a URI reference to an RDF graph, whereas the object of the qt:graphData property indicates the named graph components of the Graph Store. Named graphs are described either by explicit URI reference (in which case the graph name is supposed to correspong to the respective URI reference), or the object of the qt:graphData property may be a resource further described in terms of a reference to the graph by the qt:data property and a reference to its name under which it is accessible in the graph store using the rdfs:label property."
> 

minor update on that: following the dioscussion today, I changed the graph names in the examples to plain literals instead of URI refs (also because rdfs:label has Literals as range)

Axel

> 
> The reason why this is needed (explicit reference of the name) is that in SPARQL UPDATE a named graph can be modified, so I can;t just dereference it by it's name.
> (Note that an alternative would still be to use just qt:data and a TriG file, but I suggest to go with the current, due to the non-standard status of TriG)
> 
> (I also added some test cases illustratign this, particularly insert-data-spo-named2 ... see next mail)
> 
> 
> I did a similar addition to the query test cases section, which allows us to explicitly rename graphs for future query evaluation test cases as well:
> 
> "The object of the <tt>qt:graphData</tt> property may be a resource further described in terms of a reference to the graph by the <tt>qt:data</tt> property and a reference to its name in the dataset using the <tt>rdfs:label</tt> property."
> 
> 
> Axel
> 
> 
> 
Received on Tuesday, 20 July 2010 17:12:38 GMT

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