# $Id: manifest.ttl,v 1.10 2007/09/20 14:26:51 aseaborne Exp $

@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix : <http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest#> .
@prefix rdfs:   <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dawgt:   <http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#> .
@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 "open world value testing tests" ;
    mf:entries
    (
      :open-eq-01 :open-eq-02 :open-eq-03 :open-eq-04 :open-eq-05 :open-eq-06
      :open-eq-07 :open-eq-08 :open-eq-09 :open-eq-10 :open-eq-11 :open-eq-12
      :date-1 :date-2 :date-3 :date-4
      :open-cmp-01 :open-cmp-02
    ) .

:open-eq-01 a mf:QueryEvaluationTest ;
    mf:name    "open-eq-01" ;
    rdfs:comment    "graph match - no lexical form in data (assumes no value matching)" ;
    mf:action
            [ qt:query  <open-eq-01.rq> ;
              qt:data   <data-1.ttl> ] ;
    mf:result  <open-eq-01-result.srx> ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html> .
   
:open-eq-02 a mf:QueryEvaluationTest ;
    mf:name    "open-eq-02" ;
    rdfs:comment    "graph match - unknown type" ;
    mf:action
           [ qt:query  <open-eq-02.rq> ;
             qt:data   <data-1.ttl> ] ;
    mf:result  <open-eq-02-result.srx> ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html> .
  
:open-eq-03 a mf:QueryEvaluationTest ;
    mf:name    "open-eq-03" ;
    rdfs:comment    "Filter(?v=1)" ;
        mf:action
           [ qt:query  <open-eq-03.rq> ;
             qt:data   <data-1.ttl> ] ;
        mf:result  <open-eq-03-result.srx> ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html> .
 
:open-eq-04 a mf:QueryEvaluationTest ;
    mf:name    "open-eq-04" ;
    rdfs:comment    "Filter(?v!=1)" ;
    mf:action
           [ qt:query  <open-eq-04.rq> ;
             qt:data   <data-1.ttl> ] ;
    mf:result  <open-eq-04-result.srx> ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html> .

:open-eq-05 a mf:QueryEvaluationTest ;
    mf:name    "open-eq-05" ;
    rdfs:comment    "FILTER(?v = unknown type)" ;
    mf:action
           [ qt:query  <open-eq-05.rq> ;
             qt:data   <data-1.ttl> ] ;
    mf:result  <open-eq-05-result.srx> ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html> .

:open-eq-06 a mf:QueryEvaluationTest ;
    mf:name    "open-eq-06" ;
    rdfs:comment    "FILTER(?v != unknown type)" ;
    mf:action
           [ qt:query  <open-eq-06.rq> ;
             qt:data   <data-1.ttl> ] ;
    mf:result  <open-eq-06-result.srx> ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html> .

:open-eq-07 a mf:QueryEvaluationTest ;
    mf:name    "open-eq-07" ;
    rdfs:comment    "Test of '=' " ;
    mf:action
           [ qt:query  <open-eq-07.rq> ;
             qt:data   <data-2.ttl> ] ;
    mf:result  <open-eq-07-result.srx> ;
    mf:requires mf:LangTagAwareness ;
    mf:requires mf:StringSimpleLiteralCmp ;
    mf:notable  mf:IllFormedLiteral ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html> .

:open-eq-08 a mf:QueryEvaluationTest ;
    mf:name    "open-eq-08" ;
    rdfs:comment    "Test of '!='" ;
    mf:action
           [ qt:query  <open-eq-08.rq> ;
             qt:data   <data-2.ttl> ] ;
    mf:result  <open-eq-08-result.srx> ;
    mf:requires mf:StringSimpleLiteralCmp ;
    mf:requires mf:LangTagAwareness ;
    mf:requires mf:KnownTypesDefault2Neq ;
    mf:notable  mf:IllFormedLiteral ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html> .

:open-eq-09 a mf:QueryEvaluationTest ;
    mf:name    "open-eq-09" ;
    rdfs:comment    "Test of '='" ;
    mf:action
           [ qt:query  <open-eq-09.rq> ;
             qt:data   <data-2.ttl> ] ;
    mf:result  <open-eq-09-result.srx> ;
    mf:notable  mf:IllFormedLiteral ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html> .

:open-eq-10 a mf:QueryEvaluationTest ;
    mf:name    "open-eq-10" ;
    rdfs:comment    "Test of '!='" ;
    mf:action
           [ qt:query  <open-eq-10.rq> ;
             qt:data   <data-2.ttl> ] ;
    mf:result  <open-eq-10-result.srx> ;
    mf:notable mf:IllFormedLiteral ;
    mf:requires mf:KnownTypesDefault2Neq ;
    mf:requires mf:LangTagAwareness ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html> .

:open-eq-11 a mf:QueryEvaluationTest ;
    mf:name    "open-eq-11" ;
    rdfs:comment    "test of '=' || '!='" ;
    mf:action
           [ qt:query  <open-eq-11.rq> ;
             qt:data   <data-2.ttl> ] ;
    mf:result  <open-eq-11-result.srx> ;
    mf:notable mf:IllFormedLiteral ;
    mf:requires mf:KnownTypesDefault2Neq ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html> .

:open-eq-12 a mf:QueryEvaluationTest ;
    mf:name    "open-eq-12" ;
    rdfs:comment    "find pairs that don't value-compare" ;
    mf:action
           [ qt:query  <open-eq-12.rq> ;
             qt:data   <data-2.ttl> ] ;
    mf:result  <open-eq-12-result.srx> ;
    mf:notable mf:IllFormedLiteral ;
    mf:requires mf:KnownTypesDefault2Neq ;
    mf:requires mf:LangTagAwareness ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html> .

:date-1 a mf:QueryEvaluationTest ;
    mf:name    "date-1" ;
    rdfs:comment    "Added type : xsd:date '='" ;
    mf:action
              [ qt:query  <date-1.rq> ;
                qt:data   <data-3.ttl> ] ;
    mf:result  <date-1-result.srx> ;
    mf:requires mf:XsdDateOperations ;
    .

    # Fixed test (was wrong) - needs reapproving 
    # Decision at http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html to leave test not approved
##         dawgt:approval dawgt:Approved ;
##     dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html> .

:date-2 a mf:QueryEvaluationTest ;
    mf:name    "date-2" ;
    rdfs:comment    "Added type : xsd:date '!='" ;
    mf:action
              [ qt:query  <date-2.rq> ;
                qt:data   <data-3.ttl> ] ;
    mf:result  <date-2-result.srx> ;
    mf:requires mf:XsdDateOperations ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html> .

:date-3 a mf:QueryEvaluationTest ;
    mf:name    "date-3" ;
    rdfs:comment    "Added type : xsd:date '>'" ;
    mf:action
             [ qt:query  <date-3.rq> ;
               qt:data   <data-3.ttl> ] ;
    mf:result  <date-3-result.srx> ;
    mf:requires mf:XsdDateOperations ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html> .

:date-4 a mf:QueryEvaluationTest ;
    mf:name    "date-4" ;
    rdfs:comment    "xsd:date ORDER BY" ;
    mf:action
           [ qt:query  <date-4.rq> ;
             qt:data   <data-3.ttl> ] ;
    mf:result  <date-4-result.srx> ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html> .

:open-cmp-01 a mf:QueryEvaluationTest ;
    mf:name    "open-cmp-01" ;
    rdfs:comment    "Find things that compare with < or >" ;
    mf:action
           [ qt:query  <open-cmp-01.rq> ;
             qt:data   <data-4.ttl> ] ;
    mf:result  <open-cmp-01-result.srx> ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007AprJun/att-0082/2007-06-12-dawg-minutes.html> .

:open-cmp-02 a mf:QueryEvaluationTest ;
    mf:name    "open-cmp-02" ;
    rdfs:comment    "Find things that compare with <= and >" ;
    mf:action
           [ qt:query  <open-cmp-02.rq> ;
             qt:data   <data-4.ttl> ] ;
    mf:result  <open-cmp-02-result.srx> ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0118/04-dawg-minutes.html> .

    
