RE: RDF query testcase requirements: IRC chat?

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:name>test3</t:name>
   <t:description>two rss files</t:description>
   <t:status>true</t:status>

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

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

</t:test>

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'>
         <t:test>
         . . . 
         </t:test>
         <t:test>
         . . . 
         </t:test>
     </t:tests>

Its one level of nesting.

My XML version of the example is attached.

	Andy

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

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