#  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 : <http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/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 dawgt:   <http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#> .

<>  rdf:type mf:Manifest ;
    rdfs:comment "SPARQL tests - XPath operators in FILTERs" ;
    mf:entries
    ( 
        :ge-1 :le-1 :mul-1 :plus-1 :minus-1 :unplus-1 :unminus-1
    ).


:unplus-1 a mf:QueryEvaluationTest ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html> ;
         mf:name    "Unary Plusn" ;
         rdfs:comment "+A in FILTER expressions" ;
         mf:action
            [ qt:query  <query-unplus-1.rq> ;
              qt:data   <data.ttl> ] ;
         mf:result  <result-unplus-1.srx>
      .
:unminus-1 a mf:QueryEvaluationTest ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html> ;
         mf:name    "Unary Minus" ;
         rdfs:comment "-A in FILTER expressions" ;
         mf:action
            [ qt:query  <query-unminus-1.rq> ;
              qt:data   <data.ttl> ] ;
         mf:result  <result-unminus-1.srx>
      .
:plus-1 a mf:QueryEvaluationTest ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html> ;
         mf:name    "Addition" ;
         rdfs:comment "A + B in FILTER expressions" ;
         mf:action
            [ qt:query  <query-plus-1.rq> ;
              qt:data   <data.ttl> ] ;
         mf:result  <result-plus-1.srx>
      .
:minus-1 a mf:QueryEvaluationTest ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html> ;
         mf:name    "Subtraction" ;
         rdfs:comment "A - B in FILTER expressions" ;
         mf:action
            [ qt:query  <query-minus-1.rq> ;
              qt:data   <data.ttl> ] ;
         mf:result  <result-minus-1.srx>
      .
:mul-1 a mf:QueryEvaluationTest ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html> ;
         mf:name    "Multiplication" ;
         rdfs:comment "A * B in FILTER expressions" ;
         mf:action
            [ qt:query  <query-mul-1.rq> ;
              qt:data   <data.ttl> ] ;
         mf:result  <result-mul-1.srx>
      .

:ge-1 a mf:QueryEvaluationTest ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html> ;
         mf:name    "Greater-than or equals" ;
         rdfs:comment ">= in FILTER expressions" ;
         mf:action
            [ qt:query  <query-ge-1.rq> ;
              qt:data   <data.ttl> ] ;
         mf:result  <result-ge-1.srx>
      .

:le-1 a mf:QueryEvaluationTest ;
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JulSep/att-0087/14-dawg-minutes.html> ;
         mf:name    "Less-than or equals" ;
         rdfs:comment "<= in FILTER expressions" ;
         mf:action
            [ qt:query  <query-le-1.rq> ;
              qt:data   <data.ttl> ] ;
         mf:result  <result-le-1.srx>
      .
