@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix : <http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/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 "Tests for GRAPH" ;
    mf:entries
    (
	:dawg-graph-01
	:dawg-graph-02
	:dawg-graph-03
	:dawg-graph-04
	:dawg-graph-05
	:dawg-graph-06
	:dawg-graph-07
	:dawg-graph-08
	:dawg-graph-09
	:dawg-graph-10
	:dawg-graph-10b
	:dawg-graph-11
   ).

:dawg-graph-01  rdf:type mf:QueryEvaluationTest ;
	mf:name "graph-01" ;
    rdfs:comment  "Data: default graph / Query: 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  <graph-01.rq> ;
              qt:data   <data-g1.ttl> ;
            ] ;
    mf:result  <graph-01.ttl> ;
    .

:dawg-graph-02  rdf:type mf:QueryEvaluationTest ;
	mf:name "graph-02" ;
    rdfs:comment  "Data: named graph / Query: 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       <graph-02.rq> ;
              qt:graphData   <data-g1.ttl> ;
            ] ;
    mf:result  <graph-02.ttl> ;
    .

:dawg-graph-03  rdf:type mf:QueryEvaluationTest ;
	mf:name "graph-03" ;
    rdfs:comment  "Data: named graph / Query: named graph 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       <graph-03.rq> ;
              qt:graphData   <data-g1.ttl> ;
            ] ;
    mf:result  <graph-03.ttl> ;
    .

:dawg-graph-04  rdf:type mf:QueryEvaluationTest ;
	mf:name "graph-04" ;
    rdfs:comment  "Data: named graph / Query: 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       <graph-04.rq> ;
              qt:data   <data-g1.ttl> ;
            ] ;
    mf:result  <graph-04.ttl> ;
    .

:dawg-graph-05  rdf:type mf:QueryEvaluationTest ;
	mf:name "graph-05" ;
    rdfs:comment  "Data: default and named / Query: 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        <graph-05.rq> ;
              qt:data         <data-g1.ttl> ;
              qt:graphData    <data-g2.ttl> ;
            ] ;
    mf:result  <graph-05.ttl> ;
    .

:dawg-graph-06  rdf:type mf:QueryEvaluationTest ;
	mf:name "graph-06" ;
    rdfs:comment  "Data: default and named / Query: named 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        <graph-06.rq> ;
              qt:data         <data-g1.ttl> ;
              qt:graphData    <data-g2.ttl> ;
            ] ;
    mf:result  <graph-06.ttl> ;
    .

:dawg-graph-07  rdf:type mf:QueryEvaluationTest ;
	mf:name "graph-07" ;
    rdfs:comment  "Data: default and named / Query: all data by UNION" ;
    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        <graph-07.rq> ;
              qt:data         <data-g1.ttl> ;
              qt:graphData    <data-g2.ttl> ;
            ] ;
    mf:result  <graph-07.ttl> ;
    .

:dawg-graph-08  rdf:type mf:QueryEvaluationTest ;
	mf:name "graph-08" ;
    rdfs:comment  "Data: default and named / Query: common subjects" ;
    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        <graph-08.rq> ;
              qt:data         <data-g1.ttl> ;
              qt:graphData    <data-g2.ttl> ;
            ] ;
    mf:result  <graph-08.ttl> ;
    .

:dawg-graph-09  rdf:type mf:QueryEvaluationTest ;
	mf:name "graph-09" ;
    rdfs:comment  "Data: default and named (bnodes) / Query: common subjects" ;
    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        <graph-09.rq> ;
              qt:data         <data-g3.ttl> ;
              qt:graphData    <data-g4.ttl> ;
            ] ;
    mf:result  <graph-09.ttl> ;
    .

:dawg-graph-10  rdf:type mf:QueryEvaluationTest ;
	mf:name "graph-10" ;
    rdfs:comment  "Data: default and named (same data, with bnodes) / Query: common subjects" ;
    dawgt:approval dawgt:Withdrawn ;
    #dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0047/31-dawg-minutes> ;
    mf:action
            [ qt:query        <graph-10.rq> ;
              qt:data         <data-g3.ttl> ;
              qt:graphData    <data-g3.ttl> ;
            ] ;
    mf:result  <graph-10.ttl> ;
    .

:dawg-graph-10b  rdf:type mf:QueryEvaluationTest ;
	mf:name "graph-10b" ;
    rdfs:comment  "Data: default and named (same data, with bnodes) / Query: common subjects" ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://www.w3.org/2007/10/09-dawg-minutes.html> ;
    mf:action
            [ qt:query        <graph-10.rq> ;
              qt:data         <data-g3.ttl> ;
              qt:graphData    <data-g3-dup.ttl> ;
            ] ;
    mf:result  <graph-10.ttl> ;
    .

:dawg-graph-11  rdf:type mf:QueryEvaluationTest ;
	mf:name "graph-11" ;
    rdfs:comment  "Data: default and named (several) / Query: get everything" ;
    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        <graph-11.rq> ;
              qt:data         <data-g1.ttl> ;
              qt:graphData    <data-g1.ttl> ;
              qt:graphData    <data-g2.ttl> ;
              qt:graphData    <data-g3.ttl> ;
              qt:graphData    <data-g4.ttl> ;
            ] ;
    mf:result  <graph-11.ttl> ;
    .

