RDF query testcases RDF Schemas

Libby, Andy,

here is another attempt to integrate in two separated RDF Schema files 
the information needed to describe the RDF Query and Rules Test cases 
stuff. I tried to include definitions which cover Libby's [1], Andy's 
[2] and my ideas [3] for the manifest. A like the idea of Andy of 
splitting up the test cases data into manifest specific and query 
specific and the use of collections [2]

The following example is attached together with the two RDF Schema 
files for the manifest and the query input/output specific parts

<?xml version="1.0"?>

<!DOCTYPE rdf:RDF [
   <!ENTITY tq 'http://www.w3.org/2003/03/rdfqr-tests/query.rdfs#'>
]>

<rdf:RDF
     xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
     xmlns:mf='http://www.w3.org/2003/03/rdfqr-tests/manifest.rdfs#'
     xmlns:tq='&tq;' >

     <rdf:Description>
         <mf:tests rdf:parseType='Collection'>
             <mf:Test mf:num="3">
                 <mf:name>test3</mf:name>
                 <mf:description>two rss files</mf:description>
                 <mf:status>true</mf:status>
                 <mf:input rdf:parseType='Resource'>
                     <tq:queryDocument
                           rdf:resource='file:queries/nt/q3.sq.nt'
                           rdf:type="&tq;NT-Document"/>
                     <tq:inputDocument 
rdf:resource='file:rdf/jobs-rss.rdf'
                          rdf:type='&tq;RDF-XML-Document'/>
                     <tq:inputDocument rdf:resource='file:rdf/jobs.rss'
                          rdf:type='&tq;RDF-XML-Document'/>
                 </mf:input>
                 <mf:output rdf:parseType='Resource'>
                     <tq:outputDocument rdf:resource='file:rdf/rs/q3.rdf'
                          rdf:type='&tq;RDF-XML-Document'
                          tq:numberRows='5'/>
                 </mf:output>
             </mf:Test>
         </mf:tests>
     </rdf:Description>

</rdf:RDF>

comments, suggestions or corrections are welcome

Alberto

[1] http://lists.w3.org/Archives/Public/www-rdf-rules/2003Feb/0000.html
[2] http://lists.w3.org/Archives/Public/www-rdf-rules/2003Mar/0008.html
[3] http://lists.w3.org/Archives/Public/www-rdf-rules/2003Mar/0005.html

Received on Thursday, 13 March 2003 08:53:07 UTC