Re: Re: Tests: ASK

* Eric Prud'hommeaux <eric@w3.org> [2007-08-07 04:47-0400]
> * Seaborne, Andy <andy.seaborne@hp.com> [2007-07-30 12:51+0100]
> >
> > Tests for ASK
> >
> > http://www.w3.org/2001/sw/DataAccess/tests/data-r2/ask/
> >
> > Tests 1,2 and 3 are the same - it's the output formats that are different 
> > (XML, JSON,  RDF/TTL). Ditto 4, 5 & 6.
> >
> > We probably only need to approve 1, 4, 7 and 8 which are all srx results.
> 
> The tests include srx, turtle and json results. Our other tests
> include srx and turtle so it seems reasonable to test the test harness
> by including turtle tests. I reduced this to the minimum set of files
> (eliminated identical rqs) and renamed them:
> 
>       <#ask-true-srx>
>       <#ask-true-json>
>       <#ask-true-ttl>
>       <#ask-false-srx>
>       <#ask-false-json>
>       <#ask-false-ttl>
>       <#ask-var-srx>
>       <#ask-var-ttl>
> 
> I propose adopting ask-{true,false}-{srx,ttl} and ask-var-srx in the
> attached manifest.

oh yeah, I pass the manifest with renamed tests and files except for
the JSON results:

┌────────────────┬────────────────────┬─────────────────────────────────┐
│            name│              result│                            error│
├────────────────┼────────────────────┼─────────────────────────────────┤
│  "ask-true-srx"│            "passed"│                        !unbound!│
│ "ask-true-json"│"unsupported format"│"application/sparql-results+json"│
│  "ask-true-ttl"│            "passed"│                        !unbound!│
│ "ask-false-srx"│            "passed"│                        !unbound!│
│"ask-false-json"│"unsupported format"│"application/sparql-results+json"│
│ "ask-false-ttl"│            "passed"│                        !unbound!│
│   "ask-var-srx"│            "passed"│                        !unbound!│
└────────────────┴────────────────────┴─────────────────────────────────┘


> -- 
> -eric
> 
> office: +1.617.258.5741 NE43-344, MIT, Cambridge, MA 02144 USA
> mobile: +1.617.599.3509
> 
> (eric@w3.org)
> Feel free to forward this message to any list for any purpose other than
> email address distribution.

> @prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
> @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
> @prefix mf:     <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
> @prefix qt:     <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> .
> 
> <>  rdf:type mf:Manifest ;
>     rdfs:label "ASK" ;
>     mf:entries
>     ( 
>       <#ask-true-srx>
>       <#ask-true-json>
>       <#ask-true-ttl>
>       <#ask-false-srx>
>       <#ask-false-json>
>       <#ask-false-ttl>
>       <#ask-var-srx>
>     ) .
> 
> 
> <#ask-true-srx>
>       mf:name    "ask-true-srx" ;
>       rdfs:comment    "ASK => TRUE (SPARQL XML results)" ;
>       mf:action
>          [ qt:query  <ask-true.rq> ;
>            qt:data   <data.ttl> ] ;
>       mf:result  <ask-true.srx>
>       .
> 
> <#ask-true-json>
>       mf:name    "ask-true-json" ;
>       rdfs:comment    "ASK => TRUE (SPARQL JSON results)" ;
>       mf:action
>          [ qt:query  <ask-true.rq> ;
>            qt:data   <data.ttl> ] ;
>       mf:result  <ask-true.srj>
>       .
> 
> <#ask-true-ttl>
>       mf:name    "ask-true-ttl" ;
>       rdfs:comment    "ASK => TRUE (SPARQL TURTLE results)" ;
>       mf:action
>          [ qt:query  <ask-true.rq> ;
>            qt:data   <data.ttl> ] ;
>       mf:result  <ask-true.ttl>
>       .
> 
> <#ask-false-srx>
>       mf:name    "ask-false-srx" ;
>       rdfs:comment    "ASK => FALSE (SPARQL XML results)" ;
>       mf:action
>          [ qt:query  <ask-false.rq> ;
>            qt:data   <data.ttl> ] ;
>       mf:result  <ask-false.srx>
>       .
> 
> <#ask-false-json>
>       mf:name    "ask-false-json" ;
>       mf:comment    "ASK => FALSE (SPARQL JSON results)" ;
>       mf:action
>          [ qt:query  <ask-false.rq> ;
>            qt:data   <data.ttl> ] ;
>       mf:result  <ask-false.srj>
>       .
> 
> <#ask-false-ttl>
>       mf:name    "ask-false-ttl" ;
>       rdfs:comment    "ASK => FALSE (SPARQL TURTLE results)" ;
>       mf:action
>          [ qt:query  <ask-false.rq> ;
>            qt:data   <data.ttl> ] ;
>       mf:result  <ask-false.ttl>
>       .
> 
> <#ask-var-srx>
>       mf:name    "ask-var-srx" ;
>       rdfs:comment    "ASK with VAR1 => TRUE (SPARQL XML results)" ;
>       mf:action
>          [ qt:query  <ask-var.rq> ;
>            qt:data   <data.ttl> ] ;
>       mf:result  <ask-true.srx>
>       .
> 




-- 
-eric

office: +1.617.258.5741 NE43-344, MIT, Cambridge, MA 02144 USA
mobile: +1.617.599.3509

(eric@w3.org)
Feel free to forward this message to any list for any purpose other than
email address distribution.

Received on Tuesday, 7 August 2007 08:52:52 UTC