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

<>  rdf:type mf:Manifest ;
    rdfs:label "Copy" ;
    mf:entries
    ( 
    :copy01
    :copy02
    :copy03
    :copy04
    :copy06
    :copy07
    ) .

:copy01 rdf:type mf:UpdateEvaluationTest ;
    mf:name "COPY 1" ;
    rdfs:comment "Copy the default graph to an existing graph" ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://www.w3.org/2009/sparql/meeting/2012-05-22#resolution_2> ;
    mf:action [ ut:request <copy-01.ru> ;
                ut:data <copy-default.ttl> ;
                ut:graphData [ ut:graph <copy-01.ttl> ;
                               rdfs:label "http://example.org/g1" ]
              ] ;
    mf:result [ ut:data <copy-default.ttl> ;
                ut:graphData [ ut:graph <copy-default.ttl> ;
                               rdfs:label "http://example.org/g1" ]
              ] .

:copy02 rdf:type mf:UpdateEvaluationTest ;
    mf:name "COPY 2" ;
    rdfs:comment "Copy the default graph to a non-existing graph" ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://www.w3.org/2009/sparql/meeting/2012-05-22#resolution_2> ;
    mf:action [ ut:request <copy-01.ru> ;
                ut:data <copy-default.ttl> ;
              ] ;
    mf:result [ ut:data <copy-default.ttl> ;
                ut:graphData [ ut:graph <copy-default.ttl> ;
                               rdfs:label "http://example.org/g1" ]
              ] .

:copy03 rdf:type mf:UpdateEvaluationTest ;
    mf:name "COPY 3" ;
    rdfs:comment "Copy a named graph to an existing graph" ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://www.w3.org/2009/sparql/meeting/2012-05-22#resolution_2> ;
    mf:action [ ut:request <copy-03.ru> ;
                ut:data <copy-default.ttl> ;
                ut:graphData [ ut:graph <copy-01.ttl> ;
                               rdfs:label "http://example.org/g1" ] ;
                ut:graphData [ ut:graph <copy-02.ttl> ;
                               rdfs:label "http://example.org/g2" ]
              ] ;
    mf:result [ ut:data <copy-default.ttl> ;
                ut:graphData [ ut:graph <copy-01.ttl> ;
                               rdfs:label "http://example.org/g1" ] ;
                ut:graphData [ ut:graph <copy-01.ttl> ;
                               rdfs:label "http://example.org/g2" ]
              ] .

:copy04 rdf:type mf:UpdateEvaluationTest ;
    mf:name "COPY 4" ;
    rdfs:comment "Copy a named graph to a non-existing graph" ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://www.w3.org/2009/sparql/meeting/2012-05-22#resolution_2> ;
    mf:action [ ut:request <copy-03.ru> ;
                ut:data <copy-default.ttl> ;
                ut:graphData [ ut:graph <copy-01.ttl> ;
                               rdfs:label "http://example.org/g1" ]
              ] ;
    mf:result [ ut:data <copy-default.ttl> ;
                ut:graphData [ ut:graph <copy-01.ttl> ;
                               rdfs:label "http://example.org/g1" ] ;
                ut:graphData [ ut:graph <copy-01.ttl> ;
                               rdfs:label "http://example.org/g2" ]
              ] .

:copy06 rdf:type mf:UpdateEvaluationTest ;
    mf:name "COPY 6" ;
    rdfs:comment "Copy an existing graph to the default graph" ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://www.w3.org/2009/sparql/meeting/2012-05-22#resolution_2> ;
    mf:action [ ut:request <copy-06.ru> ;
                ut:data <copy-default.ttl> ;
                ut:graphData [ ut:graph <copy-01.ttl> ;
                               rdfs:label "http://example.org/g1" ]
              ] ;
    mf:result [ ut:data <copy-01.ttl> ;
                ut:graphData [ ut:graph <copy-01.ttl> ;
                               rdfs:label "http://example.org/g1" ]
              ] .

:copy07 rdf:type mf:UpdateEvaluationTest ;
    mf:name "COPY 7" ;
    rdfs:comment "Copy a graph to itself" ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://www.w3.org/2009/sparql/meeting/2012-05-22#resolution_2> ;
    mf:action [ ut:request <copy-07.ru> ;
                ut:data <copy-default.ttl> ;
                ut:graphData [ ut:graph <copy-01.ttl> ;
                               rdfs:label "http://example.org/g1" ]
              ] ;
    mf:result [ ut:data <copy-default.ttl> ;
                ut:graphData [ ut:graph <copy-01.ttl> ;
                               rdfs:label "http://example.org/g1" ]
              ] .
