W3C home > Mailing lists > Public > www-rdf-rules@w3.org > March 2003

RE: RDF query testcase requirements: IRC chat?

From: Seaborne, Andy <Andy_Seaborne@hplb.hpl.hp.com>
Date: Wed, 5 Mar 2003 12:00:46 -0000
Message-ID: <5E13A1874524D411A876006008CD059F061D696B@0-mail-1.hpl.hp.com>
To: "'Alberto Reggiori'" <areggiori@webweaving.org>, "'Libby Miller'" <libby.miller@bristol.ac.uk>
Cc: "'www-rdf-rules@w3.org'" <www-rdf-rules@w3.org>
Libby, Alberto,

I like the borrowing ideas and terms from the RDF test cases vocabulary [1].
Maybe splitting the test into and "inputs" sections and a "outputs" section
with separate nodes would be useful so properties that might apply to both
(e.g. rdfs:comment and other annotations) can be attached to either the test
as a whole or to elements of the test.  Something like:

<t:test t:num="3">
   <t:description>two rss files</t:description>

   <t:input rdf:ParseType='Resource'>
          <t:RDF-XML-Document rdf:about="file:rdf/jobs-rss.rdf" />
          <t:RDF-XML-Document rdf:about="file:rdf/jobs.rss" />
          <t:NT-Document rdf:about="file:queries/nt/q3.sq.nt" />

   <t:output rdf:ParseType='Resource'>
        <t:RDF-XML-Document rdf:about="file:rdf/rs/q3.rdf" t:numberRows="5"


Going along this route: we could split the manifest into the "manifest"
concepts and the part specific to query so other systems might be able to
reuse the manifest for their own testing.  There would be two vocabularies -
one for "manifest", one for "query testing": the latter would define the
terms for the input and output sections.

Re: order of tests:

> - rdf:Seq ordering of tests is not so important at the moment

If we are going to have order then we have to have it now to define the
vocabulary.  How about a collection as a list?  I prefer order because when
running, knowing the eight test fails is an indication of what has been
tested OK.  My tests try to build from simple tests of the basic building
blocks, then move onto more complex things.

     <t:tests rdf:parseType='Collection'>
         . . . 
         . . . 

Its one level of nesting.

My XML version of the example is attached.


[1] http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema

Received on Wednesday, 5 March 2003 07:01:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 2 March 2016 11:10:14 UTC