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

RDF query testcases RDF Schemas

From: Alberto Reggiori <areggiori@webweaving.org>
Date: Thu, 13 Mar 2003 14:51:31 +0100
Cc: Alberto Reggiori <areggiori@webweaving.org>, "'www-rdf-rules@w3.org'" <www-rdf-rules@w3.org>
To: Libby Miller <libby.miller@bristol.ac.uk>, Andy Seaborne <Andy_Seaborne@hplb.hpl.hp.com>
Message-Id: <E5775551-555A-11D7-BC3A-000393A63C18@webweaving.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:53:10 GMT