#  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 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 "Property Functions" ;
    mf:entries
    # data-0 is a zero triple graph.
    ( 
      [  mf:name    "Property Function - list 1" ;
         mf:action
            [ qt:query  <list-1.rq> ;
              qt:data   <data-1.ttl> ] ;
        mf:result  <list-1.srx>
      ]
      [  mf:name    "Property Function - list 2" ;
         mf:action
            [ qt:query  <list-2.rq> ;
              qt:data   <data-1.ttl> ] ;
        mf:result  <list-2.srx>
      ]

      [  mf:name    "Property Function - list 3" ;
         mf:action
            [ qt:query  <list-3.rq> ;
              qt:data   <data-1.ttl> ] ;
        mf:result  <list-3.srx>
      ]
      [  mf:name    "Property Function - list 4" ;
         mf:action
            [ qt:query  <list-4.rq> ;
              qt:data   <data-1.ttl> ] ;
        mf:result  <list-4.srx>
      ]

      [  mf:name    "Property Function - list 5" ;
         mf:action
            [ qt:query  <list-5.rq> ;
              qt:data   <data-1.ttl> ] ;
        mf:result  <list-5.srx>
      ]

      [  mf:name    "Property Function - list 6" ;
         mf:action
            [ qt:query  <list-6.rq> ;
              qt:data   <data-1.ttl> ] ;
        mf:result  <list-6.srx>
      ]

      [  mf:name    "Property Function - list 7" ;
         mf:action
            [ qt:query  <list-7.rq> ;
              qt:data   <data-1.ttl> ] ;
        mf:result  <list-7.srx>
      ]

      [  mf:name    "Property Function - list 8" ;
         mf:action
            [ qt:query  <list-8.rq> ;
              qt:data   <data-1.ttl> ] ;
        mf:result  <list-8.srx>
      ]

      [  mf:name    "Property Function - list 9" ;
         mf:action
            [ qt:query  <list-9.rq> ;
              qt:data   <data-1.ttl> ] ;
        mf:result  <list-9.srx>
      ]

      [  mf:name    "Property Function - list length 1" ;
         mf:action
            [ qt:query  <list-length-1.rq> ;
              qt:data   <data-5.ttl> ] ;
        mf:result  <list-length-1.srx>
      ]
      [  mf:name    "Property Function - list length 2" ;
         mf:action
            [ qt:query  <list-length-2.rq> ;
              qt:data   <data-5.ttl> ] ;
        mf:result  <list-length-2.srx>
      ]
      [  mf:name    "Property Function - list length 3" ;
         mf:action
            [ qt:query  <list-length-3.rq> ;
              qt:data   <data-5.ttl> ] ;
        mf:result  <list-length-3.srx>
      ]

      [  mf:name    "Property Function - list index 1" ;
         mf:action
            [ qt:query  <list-index-1.rq> ;
              qt:data   <data-5.ttl> ] ;
        mf:result  <list-index-1.srx>
      ]
      [  mf:name    "Property Function - list index 2" ;
         mf:action
            [ qt:query  <list-index-2.rq> ;
              qt:data   <data-5.ttl> ] ;
        mf:result  <list-index-2.srx>
      ]
      [  mf:name    "Property Function - list index 3" ;
         mf:action
            [ qt:query  <list-index-3.rq> ;
              qt:data   <data-5.ttl> ] ;
        mf:result  <list-index-3.srx>
      ]
      [  mf:name    "Property Function - list index 4" ;
         mf:action
            [ qt:query  <list-index-4.rq> ;
              qt:data   <data-5.ttl> ] ;
        mf:result  <list-index-4.srx>
      ]
      [  mf:name    "Property Function - list index 5" ;
         mf:action
            [ qt:query  <list-index-5.rq> ;
              qt:data   <data-5.ttl> ] ;
        mf:result  <list-index-5.srx>
      ]
      [  mf:name    "Property Function - list index 6" ;
         mf:action
            [ qt:query  <list-index-6.rq> ;
              qt:data   <data-5.ttl> ] ;
        mf:result  <list-index-6.srx>
      ]

      [  mf:name    "Property Function - list index 7" ;
         mf:action
            [ qt:query  <list-index-7.rq> ;
              qt:data   <data-5.ttl> ] ;
        mf:result  <list-index-7.srx>
      ]

      [  mf:name    "Property Function - list index 8" ;
         mf:action
            [ qt:query  <list-index-8.rq> ;
              qt:data   <data-5.ttl> ] ;
        mf:result  <list-index-8.srx>
      ]

      [  mf:name    "Property Function - list index 9" ;
         mf:action
            [ qt:query  <list-index-9.rq> ;
              qt:data   <data-5.ttl> ] ;
        mf:result  <list-index-9.srx>
      ]

      [  mf:name    "Property Function - container 1" ;
         mf:action
            [ qt:query  <container-1.rq> ;
              qt:data   <data-2.ttl> ] ;
        mf:result  <container-1.srx>
      ]
      [  mf:name    "Property Function - container 2" ;
         mf:action
            [ qt:query  <container-2.rq> ;
              qt:data   <data-2.ttl> ] ;
        mf:result  <container-2.srx>
      ]
      [  mf:name    "Property Function - container 3" ;
         mf:action
            [ qt:query  <container-3.rq> ;
              qt:data   <data-2.ttl> ] ;
        mf:result  <container-3.srx>
      ]
      [  mf:name    "Property Function - container 4" ;
         mf:action
            [ qt:query  <container-4.rq> ;
              qt:data   <data-2.ttl> ] ;
        mf:result  <container-4.srx>
      ]
      [  mf:name    "Property Function - container 5" ;
         mf:action
            [ qt:query  <container-5.rq> ;
              qt:data   <data-4.ttl> ] ;
        mf:result  <container-5.srx>
      ]
      [  mf:name    "Property Function - container 6" ;
         mf:action
            [ qt:query  <container-6.rq> ;
              qt:data   <data-4.ttl> ] ;
        mf:result  <container-6.srx>
      ]

      [  mf:name    "Property Function - container 7" ;
         mf:action
            [ qt:query  <container-7.rq> ;
              qt:data   <data-4.ttl> ] ;
        mf:result  <container-7.srx>
      ]

      [  mf:name    "Property Function - container 8" ;
         mf:action
            [ qt:query  <container-8.rq> ;
              qt:data   <data-4.ttl> ] ;
        mf:result  <container-8.srx>
      ]

      [  mf:name    "Property Function - container 9" ;
         mf:action
            [ qt:query  <container-9.rq> ;
              qt:data   <data-6.ttl> ] ;
        mf:result  <container-9.srx>
      ]

      [  mf:name    "Property Function - sequence 1" ;
         mf:action
            [ qt:query  <seq-1.rq> ;
              qt:data   <data-2.ttl> ] ;
        mf:result  <seq-1.ttl>
      ]

      [ mf:name    "Property Function - splitIRI 1" ;
        mf:action
            [ qt:query  <splitIRI-1.rq> ;
              qt:data   <data-3.ttl> ] ;
        mf:result  <splitIRI-1.srx>
      ]
      [ mf:name    "Property Function - splitIRI 2" ;
        mf:action
            [ qt:query  <splitIRI-2.rq> ;
              qt:data   <data-3.ttl> ] ;
        mf:result  <splitIRI-2.srx>
      ]
      [ mf:name    "Property Function - splitIRI 3" ;
        mf:action
            [ qt:query  <splitIRI-3.rq> ;
              qt:data   <data-3.ttl> ] ;
        mf:result  <splitIRI-3.srx>
      ]
      [ mf:name    "Property Function - splitIRI 4" ;
        mf:action
            [ qt:query  <splitIRI-4.rq> ;
              qt:data   <data-3.ttl> ] ;
        mf:result  <splitIRI-4.srx>
      ]
      [ mf:name    "Property Function - splitIRI 5" ;
        mf:action
            [ qt:query  <splitIRI-5.rq> ;
              qt:data   <data-3.ttl> ] ;
        mf:result  <splitIRI-5.ttl>
      ]
      [ mf:name    "Property Function - splitIRI 6" ;
        mf:action
            [ qt:query  <splitIRI-6.rq> ;
              qt:data   <data-3.ttl> ] ;
        mf:result  <splitIRI-6.srx>
      ]
      [ mf:name    "Property Function - splitIRI 7" ;
        mf:action
            [ qt:query  <splitIRI-7.rq> ;
              qt:data   <data-3.ttl> ] ;
        mf:result  <splitIRI-7.srx>
      ]
      [ mf:name    "Property Function - splitIRI 8" ;
        mf:action
            [ qt:query  <splitIRI-8.rq> ;
              qt:data   <data-3.ttl> ] ;
        mf:result  <splitIRI-8.srx>
      ]
      [ mf:name    "Property Function - splitIRI 9" ;
        mf:action
            [ qt:query  <splitIRI-9.rq> ;
              qt:data   <data-3.ttl> ] ;
        mf:result  <splitIRI-9.srx>
      ]
      [ mf:name    "Property Function - Assign 1" ;
        mf:action
            [ qt:query  <assign-1.rq> ;
              qt:data   <data-3.ttl> ] ;
        mf:result  <assign-1.srx>
      ]
      [ mf:name    "Property Function - Assign 2" ;
        mf:action
            [ qt:query  <assign-2.rq> ;
              qt:data   <data-3.ttl> ] ;
        mf:result  <assign-2.srx>
      ]
      [ mf:name    "Property Function - Assign 3" ;
        mf:action
            [ qt:query  <assign-3.rq> ;
              qt:data   <data-3.ttl> ] ;
        mf:result  <assign-3.srx>
      ]
      [ mf:name    "Property Function - Assign 4" ;
        mf:action
            [ qt:query  <assign-4.rq> ;
              qt:data   <data-3.ttl> ] ;
        mf:result  <assign-4.srx>
      ]
      [ mf:name    "Property Function - Assign 5" ;
        mf:action
            [ qt:query  <assign-5.rq> ;
              qt:data   <data-3.ttl> ] ;
        mf:result  <assign-5.srx>
      ]

     [ mf:name    "Property Function - Assign 6 (via java:)" ;
        mf:action
            [ qt:query  <assign-6.rq> ;
              qt:data   <data-3.ttl> ] ;
        mf:result  <assign-6.srx>
      ]
     [ mf:name    "Property Function - str" ;
        mf:action
            [ qt:query  <str-1.rq> ;
              qt:data   <data-0.ttl> ] ;
        mf:result  <str-1.srx>
     ]
     [ mf:name    "Property Function - concat" ;
        mf:action
            [ qt:query  <concat-1.rq> ;
              qt:data   <data-3.ttl> ] ;
        mf:result  <concat-1.srx>
      ]
    ) .
