@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix : <http://www.w3.org/2009/sparql/docs/tests/data-sparql11/drop/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#> .
@prefix ut:     <http://www.w3.org/2009/sparql/tests/test-update#> .

<>  rdf:type mf:Manifest ;
    rdfs:comment "Tests for SPARQL UPDATE" ;
    mf:entries
    (
	:dawg-drop-default-01
	:dawg-drop-graph-01
	:dawg-drop-named-01
	:dawg-drop-all-01
   ).

:dawg-drop-default-01 a mf:UpdateEvaluationTest ;
    mf:name    "DROP DEFAULT" ;
    rdfs:comment "This is a DROP of the default graph" ;
    dawgt:approval dawgt:Approved;
    dawgt:approvedBy <http://www.w3.org/2009/sparql/meeting/2012-02-07#resolution_3> ;
    mf:action [
    			ut:request <drop-default-01.ru> ; 
                ut:data <drop-default.ttl> ;
                ut:graphData [ ut:graph <drop-g1.ttl> ;
                               rdfs:label "http://example.org/g1" ] ;
                ut:graphData [ ut:graph <drop-g2.ttl> ;
                               rdfs:label "http://example.org/g2" ] ;
              ] ;
    mf:result [
                ut:graphData [ ut:graph <drop-g1.ttl> ;
                               rdfs:label "http://example.org/g1" ] ;
                ut:graphData [ ut:graph <drop-g2.ttl> ;
                               rdfs:label "http://example.org/g2" ] ;
              ] ;
    .

:dawg-drop-graph-01 a mf:UpdateEvaluationTest ;
    mf:name    "DROP GRAPH" ;
    rdfs:comment "This is a DROP of an existing named graph" ;
    dawgt:approval dawgt:Approved;
    dawgt:approvedBy <http://www.w3.org/2009/sparql/meeting/2012-02-07#resolution_3> ;
    mf:action [
    			ut:request <drop-graph-01.ru> ; 
                ut:data <drop-default.ttl> ;
                ut:graphData [ ut:graph <drop-g1.ttl> ;
                               rdfs:label "http://example.org/g1" ] ;
                ut:graphData [ ut:graph <drop-g2.ttl> ;
                               rdfs:label "http://example.org/g2" ] ;
              ] ;
    mf:result [
    			ut:data <drop-default.ttl> ;
                ut:graphData [ ut:graph <drop-g2.ttl> ;
                               rdfs:label "http://example.org/g2" ] ;
              ] ;
    .

:dawg-drop-named-01 a mf:UpdateEvaluationTest ;
    mf:name    "DROP NAMED" ;
    rdfs:comment "This is a DROP of all the named graphs" ;
    dawgt:approval dawgt:Approved;
    dawgt:approvedBy <http://www.w3.org/2009/sparql/meeting/2012-02-07#resolution_3> ;
    mf:action [
    			ut:request <drop-named-01.ru> ; 
                ut:data <drop-default.ttl> ;
                ut:graphData [ ut:graph <drop-g1.ttl> ;
                               rdfs:label "http://example.org/g1" ] ;
                ut:graphData [ ut:graph <drop-g2.ttl> ;
                               rdfs:label "http://example.org/g2" ] ;
              ] ;
    mf:result [
    			ut:data <drop-default.ttl> ;
              ] ;
    .

:dawg-drop-all-01 a mf:UpdateEvaluationTest ;
    mf:name    "DROP ALL" ;
    rdfs:comment "This is a DROP of all graphs (default and named)" ;
    dawgt:approval dawgt:Approved;
    dawgt:approvedBy <http://www.w3.org/2009/sparql/meeting/2012-02-07#resolution_3> ;
    mf:action [
    			ut:request <drop-all-01.ru> ; 
                ut:data <drop-default.ttl> ;
                ut:graphData [ ut:graph <drop-g1.ttl> ;
                               rdfs:label "http://example.org/g1" ] ;
                ut:graphData [ ut:graph <drop-g2.ttl> ;
                               rdfs:label "http://example.org/g2" ] ;
              ] ;
    mf:result [] ;
    .

