#  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:label "Dataset" ;
    mf:entries
    (
     [  mf:name    "graph-01" ;
        mf:action
            [ qt:query  <graph-01.rq> ] ;
        mf:result  <graph-01-result.ttl> ;
      ]

     [  mf:name    "graph-02" ;
        mf:action
            [ qt:query  <graph-02.rq> ] ;
        mf:result  <graph-02-result.ttl> ;
      ]

     [  mf:name    "graph-03" ;
        mf:action
            [ qt:query  <graph-03.rq> ;
              qt:data   <dft.ttl> ;
              qt:graphData  <a.ttl> ;
              qt:graphData  <b.ttl> ;
            ] ;
        mf:result  <graph-03-result.ttl> ;
      ]

     [  mf:name    "graph-04" ;
        mf:action
            [ qt:query  <graph-04.rq> ] ;
        mf:result  <graph-04-result.ttl> ;
      ]

     [  mf:name    "graph-05" ;
        mf:action
            [ qt:query  <graph-05.rq> ] ;
        # Result is the same as for graph-04
        mf:result  <graph-05-result.ttl> ;
      ]

     [  mf:name    "graph-06" ;
        mf:action
            [ qt:query  <graph-06.rq> ] ;
        mf:result  <graph-06-result.ttl> ;
      ]

    ## Accessing the URIs in a dataset

     [  mf:name    "graph-07" ;
        mf:action
            [ qt:query  <graph-07.rq> ] ;
        mf:result  <graph-07-result.ttl> ;
      ]

     [  mf:name    "graph-08" ;
        mf:action
            [ qt:query  <graph-08.rq> ;
              qt:data   <dft.ttl> ;
              qt:graphData  <a.ttl> ;
              qt:graphData  <b.ttl> ;
            ] ;
        mf:result  <graph-08-result.ttl> ;
      ]
     [  mf:name    "graph-09" ;
        mf:action
            [ qt:query  <graph-09.rq> ;
              qt:data   <dft.ttl> ;
              qt:graphData  <a.ttl> ;
              qt:graphData  <b.ttl> ;
            ] ;
        mf:result  <graph-09-result.srx> ;
      ]
     [  mf:name    "graph-10" ;
        mf:action
            [ qt:query  <graph-10.rq> ;
              qt:data   <dft.ttl> ;
              qt:graphData  <a.ttl> ;
              qt:graphData  <b.ttl> ;
            ] ;
        mf:result  <graph-10-result.srx> ;
      ]
    [  mf:name    "graph-11" ;
       # BNodes don't name graphs
        mf:action
            [ qt:query  <graph-11.rq> ;
              qt:graphData  <c.ttl> ;
              qt:graphData  <d.ttl> ;
            ] ;
        mf:result  <graph-11-result.ttl> ;
      ]

    [  mf:name    "graph-20" ;
        mf:action
            [ qt:query  <graph-20.rq>  ] ;
        mf:result  <graph-20-result.ttl> ;
      ]
    [  mf:name    "graph-21" ;
        mf:action
            [ qt:query  <graph-21.rq> ] ;
        mf:result  <graph-21-result.ttl> ;
      ]
   ).
