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

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 UTC