- From: Seaborne, Andy <andy.seaborne@hp.com>
- Date: Thu, 11 Mar 2004 22:17:38 -0000
- To: RDF Data Access Working Group <public-rdf-dawg@w3.org>
== Task & Roles A developer has had a bug report from a valued user (who may, or may not, also be a member of this working group) that indicates that a software tool (which for the sake of argument we will call the Jena N3 writer) is failing to correctly output the N3 representation of some of the RDF core test cases. The developer wishes to create a list of input and output documents for each of the approved test cases from the RDF core test suite. The list of tests resides in a single file. == Value/Why The value is the systematic processing of the RDF core manifest file with a result which is one line per input/output pair so that a bash script can easily be written to create the next stage - reading the input document, writing it and checking it. Writing a query, feeding it to a query processor is much quicker than writing a custom program to do the same. == Description The developer wants a list of pairs because he will, for each pair, write a test that reads the input file (in RDF/XML), writes it out again in N3, then does a graph compare (check isomorphism in the presence of bNodes) with the output document (which is in N-triples). The output happens to be text, in columns, making creation of the bash script easy. The test procedure is to apply a bash function to each line of the query results. A list of failing matches is printed by the test procedure. == Other The query that I actually used was: SELECT ?in ?out FROM <http://www.w3.org/2000/10/rdf-tests/rdfcore/Manifest.rdf> WHERE (?x test:inputDocument ?in) (?x test:outputDocument ?out) (?x test:status "APPROVED") USING test FOR <http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#>
Received on Thursday, 11 March 2004 17:18:20 UTC