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

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

From: Axel Polleres <axel.polleres@deri.org>
Date: Tue, 20 Jul 2010 13:36:04 +0100
Message-Id: <01C225ED-7F17-4C23-B953-9DDE4BDC9385@deri.org>
To: SPARQL Working Group <public-rdf-dawg@w3.org>
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


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."

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." 

Received on Tuesday, 20 July 2010 12:36:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:01 UTC