@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix : <http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/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:comment "Some DAWG test cases on the CONSTRUCT result form" ;
    mf:entries
    ( 
      :construct-1
      :construct-2
      :construct-3
      :construct-4
      :construct-5
    ) .

:construct-1 rdf:type mf:QueryEvaluationTest ;
    mf:name    "dawg-construct-identity" ;
    qt:queryForm qt:QueryConstruct ;
    rdfs:comment "Graph equivalent result graph" ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes> ;
    mf:action
            [ qt:query  <query-ident.rq> ;
              qt:data   <data-ident.ttl> ] ;
    mf:result  <result-ident.ttl> ;
    .

:construct-2 rdf:type mf:QueryEvaluationTest ;
    mf:name    "dawg-construct-subgraph" ;
    qt:queryForm qt:QueryConstruct ;
    rdfs:comment "Result subgraph of original graph" ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes> ;
    mf:action
            [ qt:query  <query-subgraph.rq> ;
              qt:data   <data-ident.ttl> ] ;
    mf:result  <result-subgraph.ttl> ;
    .

:construct-3 rdf:type mf:QueryEvaluationTest ;
     mf:name    "dawg-construct-reification-1" ;
    qt:queryForm qt:QueryConstruct ;
     rdfs:comment "Reification of the default graph" ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes> ;
     mf:action
            [ qt:query  <query-reif-1.rq> ;
              qt:data   <data-reif.ttl> ] ;
     mf:result  <result-reif.ttl> ;
    .

:construct-4 rdf:type mf:QueryEvaluationTest ;
     mf:name    "dawg-construct-reification-2" ;
    qt:queryForm qt:QueryConstruct ;
     rdfs:comment "Reification of the default graph" ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes> ;
     mf:action
            [ qt:query  <query-reif-2.rq> ;
              qt:data   <data-reif.ttl> ] ;
     mf:result  <result-reif.ttl> ;
    .

:construct-5 rdf:type mf:QueryEvaluationTest ;
     mf:name    "dawg-construct-optional" ;
    qt:queryForm qt:QueryConstruct ;
     rdfs:comment "Reification of the default graph" ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes> ;
     mf:action
            [ qt:query  <query-construct-optional.rq> ;
              qt:data   <data-opt.ttl> ] ;
     mf:result  <result-construct-optional.ttl> ;
    .
