#  Licensed to the Apache Software Foundation (ASF) under one or more
#  contributor license agreements.  See the NOTICE file distributed with
#  this work for additional information regarding copyright ownership.
#  The ASF licenses this file to You under the Apache License, Version 2.0
#  (the "License"); you may not use this file except in compliance with
#  the License.  You may obtain a copy of the License at
# 
#       http://www.apache.org/licenses/LICENSE-2.0
# 
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.

@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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 "SPARQL examples from query WD" ;
    mf:entries
    ([  mf:name    "sparql-query-example-a" ;
        rdfs:comment
            "Example from section 2.1" ;
        mf:action
            [ qt:query  <ex2-1a.rq> ;
              qt:data   <ex2-1a.n3> ] ;
        mf:result  <ex2-1a-result.n3> ;
	dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358> ;
        dawgt:approval dawgt:Approved
      ]

     [  mf:name    "sparql-query-example-b" ;
        rdfs:comment
            "Example from section 2.3" ;
        mf:action
            [ qt:query  <ex2-2a.rq> ;
              qt:data   <ex2-2a.n3> ] ;
        mf:result  <ex2-2a-result.n3> ;
	dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358> ;
        dawgt:approval dawgt:Approved
      ]

     [  mf:name    "sparql-query-example-c" ;
        rdfs:comment
            "Example from section 2.4" ;
        mf:action
            [ qt:query  <ex2-3a.rq> ;
              qt:data   <ex2-3a.n3> ] ;
        mf:result  <ex2-3a-result.n3> ;
	dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358> ;
        dawgt:approval dawgt:Approved
      ]

     [  mf:name    "sparql-query-example-d" ;
        rdfs:comment
            "Example from section 2.5" ;
        mf:action
            [ qt:query  <ex2-4a.rq> ;
              qt:data   <ex2-4a.n3> ] ;
        mf:result  <ex2-4a-result.n3> ;
	dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0358> ;
        dawgt:approval dawgt:Approved
      ]

     [  mf:name    "sparql-query-example-e" ;
        rdfs:comment
            "Example from section 3" ;
        mf:action
            [ qt:query  <ex3.rq> ;
              qt:data   <ex3.n3> ] ;
        mf:result  <ex3-result.n3>
      ]

     [  mf:name    "sparql-query-example-Testing-Values-0" ;
        rdfs:comment
            "Example from section 11" ;
        mf:action
            [ qt:query  <ex11_0.rq> ;
              qt:data   <ex11_0.n3> ] ;
        mf:result  <ex11_0-result.n3>
      ]

     [  mf:name    "sparql-query-example-Testing-Values-1" ;
        rdfs:comment
            "2nd Example from section 11" ;
        mf:action
            [ qt:query  <ex11_1.rq> ;
              qt:data   <ex11_0.n3> ] ;
        mf:result  <ex11_1-result.n3>
      ]

     [  mf:name    "sparql-query-example-Testing-Values-RDFterm-equal" ;
        rdfs:comment
            "Example from section 11.2.3.1" ;
        mf:action
            [ qt:query  <ex11.2.3.1_0.rq> ;
              qt:data   <ex11.2.3.1_0.n3> ] ;
        mf:result  <ex11.2.3.1_0-result.n3>
      ]

     [  mf:name    "sparql-query-example-Testing-Values-RDFterm-equal-2" ;
        rdfs:comment
            "2nd Example from section 11.2.3.1" ;
        mf:action
            [ qt:query  <ex11.2.3.1_1.rq> ;
              qt:data   <ex11.2.3.1_1.n3> ] ;
        mf:result  <ex11.2.3.1_1-result.n3>
      ]

     [  mf:name    "sparql-query-example-Testing-Values-bound" ;
        rdfs:comment
            "Example from section 11.2.3.2" ;
        mf:action
            [ qt:query  <ex11.2.3.2_0.rq> ;
              qt:data   <ex11.2.3.2_0.n3> ] ;
        mf:result  <ex11.2.3.2_0-result.n3>
      ]

     [  mf:name    "sparql-query-example-Testing-Values-bound-2" ;
        rdfs:comment
            "2nd Example from section 11.2.3.2" ;
        mf:action
            [ qt:query  <ex11.2.3.2_1.rq> ;
              qt:data   <ex11.2.3.2_0.n3> ] ;
        mf:result  <ex11.2.3.2_1-result.n3>
      ]

     [  mf:name    "sparql-query-example-Testing-Values-isURI" ;
        rdfs:comment
            "Example from section 11.2.3.3" ;
        mf:action
            [ qt:query  <ex11.2.3.3_0.rq> ;
              qt:data   <ex11.2.3.3_0.n3> ] ;
        mf:result  <ex11.2.3.3_0-result.n3>
      ]

     [  mf:name    "sparql-query-example-Testing-Values-isBlank" ;
        rdfs:comment
            "Example from section 11.2.3.4" ;
        mf:action
            [ qt:query  <ex11.2.3.4_0.rq> ;
              qt:data   <ex11.2.3.4_0.n3> ] ;
        mf:result  <ex11.2.3.4_0-result.n3>
      ]

     [  mf:name    "sparql-query-example-Testing-Values-isLiteral" ;
        rdfs:comment
            "Example from section 11.2.3.5" ;
        mf:action
            [ qt:query  <ex11.2.3.5_0.rq> ;
              qt:data   <ex11.2.3.5_0.n3> ] ;
        mf:result  <ex11.2.3.5_0-result.n3>
      ]

     [  mf:name    "sparql-query-example-Testing-Values-str" ;
        rdfs:comment
            "Example from section 11.2.3.6" ;
        mf:action
            [ qt:query  <ex11.2.3.6_0.rq> ;
              qt:data   <ex11.2.3.6_0.n3> ] ;
        mf:result  <ex11.2.3.6_0-result.n3>
      ]

     [  mf:name    "sparql-query-example-Testing-Values-lang" ;
        rdfs:comment
            "Example from section 11.2.3.7, modified 11/1/2016 for HDT to convert the language tag to lowercase" ;
        mf:action
            [ qt:query  <ex11.2.3.7_0.rq> ;
              qt:data   <ex11.2.3.7_0.n3> ] ;
        mf:result  <ex11.2.3.7_0-result.n3>
      ]

    # End of tests
   ).
