You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2011/11/03 18:33:04 UTC
svn commit: r1197234 [13/24] - in
/incubator/jena/Jena2/ARQ/trunk/testing/ARQ: Algebra/ Ask/ Assign/ Basic/
BasicPatterns/ BlankNodes/ Bound/ Construct/ Dataset/ Describe/ Distinct/
EngineMain/ EngineRef/ Examples/ Expr/ Expr1/ Expr2/ ExprBuiltIns/ Exp...
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/count-23.arq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/count-23.arq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/count-23.arq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/count-23.arq Thu Nov 3 17:32:36 2011
@@ -1,11 +1,11 @@
-PREFIX : <http://example/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-
-SELECT ?p (count(?m) as ?num)
-{
- { ?x rdf:type :X . } UNION { ?x rdf:type :X . FILTER (?x != :x2 )}
- OPTIONAL { ?x :p ?p . }
- OPTIONAL { ?x :n ?n . }
- OPTIONAL { ?x :noSuch ?m . }
-}
-GROUP BY ?p
+PREFIX : <http://example/>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+
+SELECT ?p (count(?m) as ?num)
+{
+ { ?x rdf:type :X . } UNION { ?x rdf:type :X . FILTER (?x != :x2 )}
+ OPTIONAL { ?x :p ?p . }
+ OPTIONAL { ?x :n ?n . }
+ OPTIONAL { ?x :noSuch ?m . }
+}
+GROUP BY ?p
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/data-1.ttl
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/data-1.ttl?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/data-1.ttl (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/data-1.ttl Thu Nov 3 17:32:36 2011
@@ -1,49 +1,49 @@
-@prefix : <http://example/> .
-@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-
-# Complete data in :p and :q
-# :p: 2,2,4,5,5
-# :q: "a" and "b"
-# :n: Use for multiplicity
-# All :r different
-# All have type :X
-
-:x1
- rdf:type :X ;
- :p 4 ;
- :q "a" ;
- :n 1 ;
- :n 2 ;
- :r "x1" .
-
-:x2
- rdf:type :X ;
- :p 2 ;
- :q "a" ;
- :n 1 ;
- :r "x2" .
-
-:x3
- rdf:type :X ;
- :p 2 ;
- :q "b" ;
- :n 2 ;
- :r "x3" .
-
-:x4
- rdf:type :X ;
- :p 5 ;
- :q "b" ;
- :n 1 ;
- :n 2 ;
- :r "x4" .
-
-:x5
- rdf:type :X ;
- :p 5 ;
- :q "b" ;
- :n 1 ;
- :r "x5" .
-
-
-
+@prefix : <http://example/> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+
+# Complete data in :p and :q
+# :p: 2,2,4,5,5
+# :q: "a" and "b"
+# :n: Use for multiplicity
+# All :r different
+# All have type :X
+
+:x1
+ rdf:type :X ;
+ :p 4 ;
+ :q "a" ;
+ :n 1 ;
+ :n 2 ;
+ :r "x1" .
+
+:x2
+ rdf:type :X ;
+ :p 2 ;
+ :q "a" ;
+ :n 1 ;
+ :r "x2" .
+
+:x3
+ rdf:type :X ;
+ :p 2 ;
+ :q "b" ;
+ :n 2 ;
+ :r "x3" .
+
+:x4
+ rdf:type :X ;
+ :p 5 ;
+ :q "b" ;
+ :n 1 ;
+ :n 2 ;
+ :r "x4" .
+
+:x5
+ rdf:type :X ;
+ :p 5 ;
+ :q "b" ;
+ :n 1 ;
+ :r "x5" .
+
+
+
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/data-2.ttl
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/data-2.ttl?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/data-2.ttl (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/data-2.ttl Thu Nov 3 17:32:36 2011
@@ -1,49 +1,49 @@
-@prefix : <http://example/> .
-@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-
-# Complete data in :p and :q
-# :p: ,4,5,5
-# :q: "a" and "b"
-# :n: Use for multiplicity
-# All :r different
-# All have type :X
-
-:x1
- rdf:type :X ;
- :p 4 ;
- :q "a" ;
- :n 1 ;
- :n 2 ;
- :r "x1" .
-
-:x2
- rdf:type :X ;
-## :p 2 ;
- :q "a" ;
- :n 1 ;
- :r "x2" .
-
-:x3
- rdf:type :X ;
-## :p 2 ;
-## :q "b" ;
- :n 2 ;
- :r "x3" .
-
-:x4
- rdf:type :X ;
- :p 5 ;
-## :q "b" ;
- :n 1 ;
- :n 2 ;
- :r "x4" .
-
-:x5
- rdf:type :X ;
- :p 5 ;
- :q "b" ;
- :n 1 ;
- :r "x5" .
-
-
-
+@prefix : <http://example/> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+
+# Complete data in :p and :q
+# :p: ,4,5,5
+# :q: "a" and "b"
+# :n: Use for multiplicity
+# All :r different
+# All have type :X
+
+:x1
+ rdf:type :X ;
+ :p 4 ;
+ :q "a" ;
+ :n 1 ;
+ :n 2 ;
+ :r "x1" .
+
+:x2
+ rdf:type :X ;
+## :p 2 ;
+ :q "a" ;
+ :n 1 ;
+ :r "x2" .
+
+:x3
+ rdf:type :X ;
+## :p 2 ;
+## :q "b" ;
+ :n 2 ;
+ :r "x3" .
+
+:x4
+ rdf:type :X ;
+ :p 5 ;
+## :q "b" ;
+ :n 1 ;
+ :n 2 ;
+ :r "x4" .
+
+:x5
+ rdf:type :X ;
+ :p 5 ;
+ :q "b" ;
+ :n 1 ;
+ :r "x5" .
+
+
+
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-01.rq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-01.rq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-01.rq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-01.rq Thu Nov 3 17:32:36 2011
@@ -1,10 +1,10 @@
-PREFIX : <http://example/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-
-SELECT ?p
-{
- ?x rdf:type :X .
- ?x :p ?p .
- ?x :n ?n .
-}
-GROUP BY ?p
+PREFIX : <http://example/>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+
+SELECT ?p
+{
+ ?x rdf:type :X .
+ ?x :p ?p .
+ ?x :n ?n .
+}
+GROUP BY ?p
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-01.srx
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-01.srx?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-01.srx (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-01.srx Thu Nov 3 17:32:36 2011
@@ -1,26 +1,26 @@
-<?xml version="1.0"?>
-<sparql
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:xs="http://www.w3.org/2001/XMLSchema#"
- xmlns="http://www.w3.org/2005/sparql-results#" >
- <head>
- <variable name="p"/>
- </head>
- <results>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">2</literal>
- </binding>
- </result>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
- </binding>
- </result>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">5</literal>
- </binding>
- </result>
- </results>
-</sparql>
+<?xml version="1.0"?>
+<sparql
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema#"
+ xmlns="http://www.w3.org/2005/sparql-results#" >
+ <head>
+ <variable name="p"/>
+ </head>
+ <results>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">2</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">5</literal>
+ </binding>
+ </result>
+ </results>
+</sparql>
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-02.rq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-02.rq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-02.rq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-02.rq Thu Nov 3 17:32:36 2011
@@ -1,11 +1,11 @@
-PREFIX : <http://example/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-
-SELECT ?p ?q
-{
- ?x rdf:type :X .
- ?x :p ?p .
- ?x :q ?q .
- ?x :n ?n .
-}
-GROUP BY ?p ?q
+PREFIX : <http://example/>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+
+SELECT ?p ?q
+{
+ ?x rdf:type :X .
+ ?x :p ?p .
+ ?x :q ?q .
+ ?x :n ?n .
+}
+GROUP BY ?p ?q
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-02.srx
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-02.srx?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-02.srx (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-02.srx Thu Nov 3 17:32:36 2011
@@ -1,44 +1,44 @@
-<?xml version="1.0"?>
-<sparql
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:xs="http://www.w3.org/2001/XMLSchema#"
- xmlns="http://www.w3.org/2005/sparql-results#" >
- <head>
- <variable name="p"/>
- <variable name="q"/>
- </head>
- <results>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">5</literal>
- </binding>
- <binding name="q">
- <literal>b</literal>
- </binding>
- </result>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
- </binding>
- <binding name="q">
- <literal>a</literal>
- </binding>
- </result>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">2</literal>
- </binding>
- <binding name="q">
- <literal>b</literal>
- </binding>
- </result>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">2</literal>
- </binding>
- <binding name="q">
- <literal>a</literal>
- </binding>
- </result>
- </results>
-</sparql>
+<?xml version="1.0"?>
+<sparql
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema#"
+ xmlns="http://www.w3.org/2005/sparql-results#" >
+ <head>
+ <variable name="p"/>
+ <variable name="q"/>
+ </head>
+ <results>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">5</literal>
+ </binding>
+ <binding name="q">
+ <literal>b</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
+ </binding>
+ <binding name="q">
+ <literal>a</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">2</literal>
+ </binding>
+ <binding name="q">
+ <literal>b</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">2</literal>
+ </binding>
+ <binding name="q">
+ <literal>a</literal>
+ </binding>
+ </result>
+ </results>
+</sparql>
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-03.rq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-03.rq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-03.rq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-03.rq Thu Nov 3 17:32:36 2011
@@ -1,11 +1,11 @@
-PREFIX : <http://example/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-
-SELECT ?z
-{
- ?x rdf:type :X .
- ?x :p ?p .
- ?x :q ?q .
- ?x :n ?n .
-}
-GROUP BY ?z
+PREFIX : <http://example/>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+
+SELECT ?z
+{
+ ?x rdf:type :X .
+ ?x :p ?p .
+ ?x :q ?q .
+ ?x :n ?n .
+}
+GROUP BY ?z
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-03.srx
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-03.srx?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-03.srx (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-03.srx Thu Nov 3 17:32:36 2011
@@ -1,13 +1,13 @@
-<?xml version="1.0"?>
-<sparql
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:xs="http://www.w3.org/2001/XMLSchema#"
- xmlns="http://www.w3.org/2005/sparql-results#" >
- <head>
- <variable name="z"/>
- </head>
- <results>
- <result>
- </result>
- </results>
-</sparql>
+<?xml version="1.0"?>
+<sparql
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema#"
+ xmlns="http://www.w3.org/2005/sparql-results#" >
+ <head>
+ <variable name="z"/>
+ </head>
+ <results>
+ <result>
+ </result>
+ </results>
+</sparql>
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-04.rq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-04.rq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-04.rq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-04.rq Thu Nov 3 17:32:36 2011
@@ -1,11 +1,11 @@
-PREFIX : <http://example/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-
-SELECT ?p
-{
- ?x rdf:type :X .
- ?x :p ?p .
- ?x :q ?q .
- ?x :n ?n .
-}
-GROUP BY ?p (?q = "a" && ?n = 2)
+PREFIX : <http://example/>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+
+SELECT ?p
+{
+ ?x rdf:type :X .
+ ?x :p ?p .
+ ?x :q ?q .
+ ?x :n ?n .
+}
+GROUP BY ?p (?q = "a" && ?n = 2)
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-04.srx
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-04.srx?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-04.srx (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-04.srx Thu Nov 3 17:32:36 2011
@@ -1,31 +1,31 @@
-<?xml version="1.0"?>
-<sparql
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:xs="http://www.w3.org/2001/XMLSchema#"
- xmlns="http://www.w3.org/2005/sparql-results#" >
- <head>
- <variable name="p"/>
- </head>
- <results>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
- </binding>
- </result>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">2</literal>
- </binding>
- </result>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
- </binding>
- </result>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">5</literal>
- </binding>
- </result>
- </results>
-</sparql>
+<?xml version="1.0"?>
+<sparql
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema#"
+ xmlns="http://www.w3.org/2005/sparql-results#" >
+ <head>
+ <variable name="p"/>
+ </head>
+ <results>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">2</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">5</literal>
+ </binding>
+ </result>
+ </results>
+</sparql>
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-05.arq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-05.arq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-05.arq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-05.arq Thu Nov 3 17:32:36 2011
@@ -1,11 +1,11 @@
-PREFIX : <http://example/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-
-SELECT *
-{
- ?x rdf:type :X .
- ?x :p ?p .
- ?x :q ?q .
- ?x :n ?n .
-}
-GROUP BY ?p (?n*?p AS ?prod)
+PREFIX : <http://example/>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+
+SELECT *
+{
+ ?x rdf:type :X .
+ ?x :p ?p .
+ ?x :q ?q .
+ ?x :n ?n .
+}
+GROUP BY ?p (?n*?p AS ?prod)
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-05.srx
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-05.srx?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-05.srx (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-05.srx Thu Nov 3 17:32:36 2011
@@ -1,60 +1,60 @@
-<?xml version="1.0"?>
-<sparql
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:xs="http://www.w3.org/2001/XMLSchema#"
- xmlns="http://www.w3.org/2005/sparql-results#" >
- <head>
- <variable name="p"/>
- <variable name="prod"/>
- </head>
- <results>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
- </binding>
- <binding name="prod">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">8</literal>
- </binding>
- </result>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
- </binding>
- <binding name="prod">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
- </binding>
- </result>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">2</literal>
- </binding>
- <binding name="prod">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">2</literal>
- </binding>
- </result>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">5</literal>
- </binding>
- <binding name="prod">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">5</literal>
- </binding>
- </result>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">2</literal>
- </binding>
- <binding name="prod">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
- </binding>
- </result>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">5</literal>
- </binding>
- <binding name="prod">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">10</literal>
- </binding>
- </result>
- </results>
-</sparql>
+<?xml version="1.0"?>
+<sparql
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema#"
+ xmlns="http://www.w3.org/2005/sparql-results#" >
+ <head>
+ <variable name="p"/>
+ <variable name="prod"/>
+ </head>
+ <results>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
+ </binding>
+ <binding name="prod">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">8</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
+ </binding>
+ <binding name="prod">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">2</literal>
+ </binding>
+ <binding name="prod">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">2</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">5</literal>
+ </binding>
+ <binding name="prod">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">5</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">2</literal>
+ </binding>
+ <binding name="prod">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">5</literal>
+ </binding>
+ <binding name="prod">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">10</literal>
+ </binding>
+ </result>
+ </results>
+</sparql>
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-06.arq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-06.arq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-06.arq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-06.arq Thu Nov 3 17:32:36 2011
@@ -1,11 +1,11 @@
-PREFIX : <http://example/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-
-SELECT *
-{
- ?x rdf:type :X .
- ?x :p ?p .
- ?x :q ?q .
- ?x :n ?n .
-}
-GROUP BY (?n*?p AS ?prod)
+PREFIX : <http://example/>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+
+SELECT *
+{
+ ?x rdf:type :X .
+ ?x :p ?p .
+ ?x :q ?q .
+ ?x :n ?n .
+}
+GROUP BY (?n*?p AS ?prod)
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-06.srx
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-06.srx?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-06.srx (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-06.srx Thu Nov 3 17:32:36 2011
@@ -1,36 +1,36 @@
-<?xml version="1.0"?>
-<sparql
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:xs="http://www.w3.org/2001/XMLSchema#"
- xmlns="http://www.w3.org/2005/sparql-results#" >
- <head>
- <variable name="prod"/>
- </head>
- <results>
- <result>
- <binding name="prod">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
- </binding>
- </result>
- <result>
- <binding name="prod">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">2</literal>
- </binding>
- </result>
- <result>
- <binding name="prod">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">5</literal>
- </binding>
- </result>
- <result>
- <binding name="prod">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">10</literal>
- </binding>
- </result>
- <result>
- <binding name="prod">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">8</literal>
- </binding>
- </result>
- </results>
-</sparql>
+<?xml version="1.0"?>
+<sparql
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema#"
+ xmlns="http://www.w3.org/2005/sparql-results#" >
+ <head>
+ <variable name="prod"/>
+ </head>
+ <results>
+ <result>
+ <binding name="prod">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="prod">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">2</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="prod">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">5</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="prod">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">10</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="prod">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">8</literal>
+ </binding>
+ </result>
+ </results>
+</sparql>
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-10.rq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-10.rq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-10.rq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-10.rq Thu Nov 3 17:32:36 2011
@@ -1,9 +1,9 @@
-PREFIX : <http://example/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-
-SELECT ?p
-{
- { ?x rdf:type :X . } UNION { ?x rdf:type :X . FILTER (?x != :x2 )}
- OPTIONAL { ?x :p ?p . }
-}
-GROUP BY ?p
+PREFIX : <http://example/>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+
+SELECT ?p
+{
+ { ?x rdf:type :X . } UNION { ?x rdf:type :X . FILTER (?x != :x2 )}
+ OPTIONAL { ?x :p ?p . }
+}
+GROUP BY ?p
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-10.srx
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-10.srx?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-10.srx (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-10.srx Thu Nov 3 17:32:36 2011
@@ -1,23 +1,23 @@
-<?xml version="1.0"?>
-<sparql
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:xs="http://www.w3.org/2001/XMLSchema#"
- xmlns="http://www.w3.org/2005/sparql-results#" >
- <head>
- <variable name="p"/>
- </head>
- <results>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
- </binding>
- </result>
- <result>
- </result>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">5</literal>
- </binding>
- </result>
- </results>
-</sparql>
+<?xml version="1.0"?>
+<sparql
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema#"
+ xmlns="http://www.w3.org/2005/sparql-results#" >
+ <head>
+ <variable name="p"/>
+ </head>
+ <results>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
+ </binding>
+ </result>
+ <result>
+ </result>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">5</literal>
+ </binding>
+ </result>
+ </results>
+</sparql>
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-11.rq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-11.rq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-11.rq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-11.rq Thu Nov 3 17:32:36 2011
@@ -1,9 +1,9 @@
-PREFIX : <http://example/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-
-SELECT (1 AS ?p)
-{
- ?x rdf:type :X .
- OPTIONAL { ?x :noSuch ?z }
-}
-GROUP BY ?z
+PREFIX : <http://example/>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+
+SELECT (1 AS ?p)
+{
+ ?x rdf:type :X .
+ OPTIONAL { ?x :noSuch ?z }
+}
+GROUP BY ?z
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-11.srx
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-11.srx?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-11.srx (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-11.srx Thu Nov 3 17:32:36 2011
@@ -1,13 +1,13 @@
-<?xml version="1.0"?>
-<sparql xmlns="http://www.w3.org/2005/sparql-results#">
- <head>
- <variable name="p"/>
- </head>
- <results>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">1</literal>
- </binding>
- </result>
- </results>
-</sparql>
+<?xml version="1.0"?>
+<sparql xmlns="http://www.w3.org/2005/sparql-results#">
+ <head>
+ <variable name="p"/>
+ </head>
+ <results>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">1</literal>
+ </binding>
+ </result>
+ </results>
+</sparql>
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-12.arq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-12.arq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-12.arq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-12.arq Thu Nov 3 17:32:36 2011
@@ -1,11 +1,11 @@
-PREFIX : <http://example/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-
-SELECT *
-{
-
- { ?x rdf:type :X . } UNION { ?x rdf:type :X . FILTER (?x != :x2 )}
- OPTIONAL { ?x :p ?p . }
-}
-GROUP BY (str(?p) as ?str)
-
+PREFIX : <http://example/>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+
+SELECT *
+{
+
+ { ?x rdf:type :X . } UNION { ?x rdf:type :X . FILTER (?x != :x2 )}
+ OPTIONAL { ?x :p ?p . }
+}
+GROUP BY (str(?p) as ?str)
+
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-12.srx
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-12.srx?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-12.srx (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-12.srx Thu Nov 3 17:32:36 2011
@@ -1,23 +1,23 @@
-<?xml version="1.0"?>
-<sparql
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:xs="http://www.w3.org/2001/XMLSchema#"
- xmlns="http://www.w3.org/2005/sparql-results#" >
- <head>
- <variable name="str"/>
- </head>
- <results>
- <result>
- <binding name="str">
- <literal>5</literal>
- </binding>
- </result>
- <result>
- <binding name="str">
- <literal>4</literal>
- </binding>
- </result>
- <result>
- </result>
- </results>
-</sparql>
+<?xml version="1.0"?>
+<sparql
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema#"
+ xmlns="http://www.w3.org/2005/sparql-results#" >
+ <head>
+ <variable name="str"/>
+ </head>
+ <results>
+ <result>
+ <binding name="str">
+ <literal>5</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="str">
+ <literal>4</literal>
+ </binding>
+ </result>
+ <result>
+ </result>
+ </results>
+</sparql>
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-20.rq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-20.rq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-20.rq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-20.rq Thu Nov 3 17:32:36 2011
@@ -1,8 +1,8 @@
-PREFIX : <http://example/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-
-SELECT ?p
-{
- :x :noMatch "123" .
-}
+PREFIX : <http://example/>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+
+SELECT ?p
+{
+ :x :noMatch "123" .
+}
GROUP BY ?p
\ No newline at end of file
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-20.srx
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-20.srx?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-20.srx (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/group-20.srx Thu Nov 3 17:32:36 2011
@@ -1,8 +1,8 @@
-<?xml version="1.0"?>
-<sparql xmlns="http://www.w3.org/2005/sparql-results#">
- <head>
- <variable name="p"/>
- </head>
- <results>
- </results>
-</sparql>
+<?xml version="1.0"?>
+<sparql xmlns="http://www.w3.org/2005/sparql-results#">
+ <head>
+ <variable name="p"/>
+ </head>
+ <results>
+ </results>
+</sparql>
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/having-1.rq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/having-1.rq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/having-1.rq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/having-1.rq Thu Nov 3 17:32:36 2011
@@ -1,10 +1,10 @@
-PREFIX : <http://example/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-
-SELECT ?p (count(*) AS ?count)
-{
- ?x rdf:type :X .
- ?x :p ?p .
-}
-GROUP BY ?p
-HAVING (count(*) = 1)
+PREFIX : <http://example/>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+
+SELECT ?p (count(*) AS ?count)
+{
+ ?x rdf:type :X .
+ ?x :p ?p .
+}
+GROUP BY ?p
+HAVING (count(*) = 1)
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/having-1.srx
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/having-1.srx?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/having-1.srx (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/having-1.srx Thu Nov 3 17:32:36 2011
@@ -1,20 +1,20 @@
-<?xml version="1.0"?>
-<sparql
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:xs="http://www.w3.org/2001/XMLSchema#"
- xmlns="http://www.w3.org/2005/sparql-results#" >
- <head>
- <variable name="p"/>
- <variable name="count"/>
- </head>
- <results>
- <result>
- <binding name="p">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
- </binding>
- <binding name="count">
- <literal datatype="http://www.w3.org/2001/XMLSchema#integer">1</literal>
- </binding>
- </result>
- </results>
-</sparql>
+<?xml version="1.0"?>
+<sparql
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema#"
+ xmlns="http://www.w3.org/2005/sparql-results#" >
+ <head>
+ <variable name="p"/>
+ <variable name="count"/>
+ </head>
+ <results>
+ <result>
+ <binding name="p">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">4</literal>
+ </binding>
+ <binding name="count">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#integer">1</literal>
+ </binding>
+ </result>
+ </results>
+</sparql>
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/manifest.ttl
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/manifest.ttl?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/manifest.ttl (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/manifest.ttl Thu Nov 3 17:32:36 2011
@@ -1,263 +1,263 @@
-@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 mfx: <http://jena.hpl.hp.com/2005/05/test-manifest-extra#> .
-@prefix qt: <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> .
-
-<> rdf:type mf:Manifest ;
- rdfs:label "GROUP BY" ;
- mf:entries
- (
- # Complete data
- [ mf:name "Group By - 1" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <group-01.rq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <group-01.srx>
- ]
-
- [ mf:name "Group By - 2" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <group-02.rq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <group-02.srx>
- ]
-
- [ mf:name "Group By - 3 (Group var does not occur)" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <group-03.rq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <group-03.srx>
- ]
-
- [ mf:name "Group By - 4 (Group expression)" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <group-04.rq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <group-04.srx>
- ]
-
- [ mf:name "Group By - 5 (Named group expression)" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <group-05.arq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <group-05.srx>
- ]
-
- [ mf:name "Group By - 6 (Named group expression)" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <group-06.arq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <group-06.srx>
- ]
-
- ## Partial data
- [ mf:name "Group By - 10" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <group-10.rq> ;
- qt:data <data-2.ttl> ] ;
- mf:result <group-10.srx>
- ]
-
- [ mf:name "Group By - 11" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <group-11.rq> ;
- qt:data <data-2.ttl> ] ;
- mf:result <group-11.srx>
- ]
-
- [ mf:name "Group By - 12" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <group-12.arq> ;
- qt:data <data-2.ttl> ] ;
- mf:result <group-12.srx>
- ]
-
- ## No data
-
- [ mf:name "Group By - 20 / Zero data" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <group-20.rq> ;
- qt:data <data-0.ttl> ] ;
- mf:result <group-20.srx>
- ]
-
- ## Count.
-
- [ mf:name "Count - 1 - No Group" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <count-01.arq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <count-01.srx>
- ]
-
- [ mf:name "Count - 2 - No Group" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <count-02.rq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <count-02.srx>
- ]
-
- [ mf:name "Count - 3" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <count-03.rq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <count-03.srx>
- ]
-
- [ mf:name "Count - 4" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <count-04.rq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <count-04.srx>
- ]
-
- [ mf:name "Count - 5 - count(*) / count(distinct *)" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <count-05.rq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <count-05.srx>
- ]
-
- [ mf:name "Count - 6 - count(?var) / count(distinct ?var)" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <count-06.rq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <count-06.srx>
- ]
-
- [ mf:name "Count - 7 - count(*) / count(*)" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <count-07.rq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <count-07.srx>
- ]
-
-
- ## Empty pattern
- [ mf:name "Count - 10 - count(*) / no matches" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <count-10.rq> ;
- qt:data <data-0.ttl> ] ;
- mf:result <count-10.srx>
- ]
-
- [ mf:name "Count - 11 - count(distinct *) / group / no matches" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <count-11.rq> ;
- qt:data <data-0.ttl> ] ;
- mf:result <count-11.srx>
- ]
- [ mf:name "Count - 12 - count(?z) / no matches" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <count-12.rq> ;
- qt:data <data-0.ttl> ] ;
- mf:result <count-12.srx>
- ]
-
- [ mf:name "Count - 13 - count(distinct ?z) / group / no matches" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <count-13.rq> ;
- qt:data <data-0.ttl> ] ;
- mf:result <count-13.srx>
- ]
-
- ## Partial data
-
- [ mf:name "Count - 20 - No group" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <count-20.arq> ;
- qt:data <data-2.ttl> ] ;
- mf:result <count-20.srx>
- ]
-
- [ mf:name "Count - 21 - No group - count(distinct ?var)" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <count-21.arq> ;
- qt:data <data-2.ttl> ] ;
- mf:result <count-21.srx>
- ]
-
- [ mf:name "Count - 22 - count(?var)" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <count-22.arq> ;
- qt:data <data-2.ttl> ] ;
- mf:result <count-22.srx>
- ]
-
- [ mf:name "Count - 23 - count(?var) - empty" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <count-23.arq> ;
- qt:data <data-2.ttl> ] ;
- mf:result <count-23.srx>
- ]
-
-
- [ mf:name "Sum - 1 - sum(?v)" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <sum-01.rq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <sum-01.srj>
- ]
-
- [ mf:name "Min - 1 - min(?v)" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <min-01.rq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <min-01.srj>
- ]
-
- [ mf:name "Max - 1 - max(?v)" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <max-01.rq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <max-01.srj>
- ]
-
- [ mf:name "Avg - 1 - avg(?v)" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <avg-01.rq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <avg-01.srj>
- ]
-
- ## HAVING
-
- [ mf:name "Having - 1" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <having-1.rq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <having-1.srx>
- ]
-
- ).
+@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 mfx: <http://jena.hpl.hp.com/2005/05/test-manifest-extra#> .
+@prefix qt: <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> .
+
+<> rdf:type mf:Manifest ;
+ rdfs:label "GROUP BY" ;
+ mf:entries
+ (
+ # Complete data
+ [ mf:name "Group By - 1" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <group-01.rq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <group-01.srx>
+ ]
+
+ [ mf:name "Group By - 2" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <group-02.rq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <group-02.srx>
+ ]
+
+ [ mf:name "Group By - 3 (Group var does not occur)" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <group-03.rq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <group-03.srx>
+ ]
+
+ [ mf:name "Group By - 4 (Group expression)" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <group-04.rq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <group-04.srx>
+ ]
+
+ [ mf:name "Group By - 5 (Named group expression)" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <group-05.arq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <group-05.srx>
+ ]
+
+ [ mf:name "Group By - 6 (Named group expression)" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <group-06.arq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <group-06.srx>
+ ]
+
+ ## Partial data
+ [ mf:name "Group By - 10" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <group-10.rq> ;
+ qt:data <data-2.ttl> ] ;
+ mf:result <group-10.srx>
+ ]
+
+ [ mf:name "Group By - 11" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <group-11.rq> ;
+ qt:data <data-2.ttl> ] ;
+ mf:result <group-11.srx>
+ ]
+
+ [ mf:name "Group By - 12" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <group-12.arq> ;
+ qt:data <data-2.ttl> ] ;
+ mf:result <group-12.srx>
+ ]
+
+ ## No data
+
+ [ mf:name "Group By - 20 / Zero data" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <group-20.rq> ;
+ qt:data <data-0.ttl> ] ;
+ mf:result <group-20.srx>
+ ]
+
+ ## Count.
+
+ [ mf:name "Count - 1 - No Group" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <count-01.arq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <count-01.srx>
+ ]
+
+ [ mf:name "Count - 2 - No Group" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <count-02.rq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <count-02.srx>
+ ]
+
+ [ mf:name "Count - 3" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <count-03.rq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <count-03.srx>
+ ]
+
+ [ mf:name "Count - 4" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <count-04.rq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <count-04.srx>
+ ]
+
+ [ mf:name "Count - 5 - count(*) / count(distinct *)" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <count-05.rq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <count-05.srx>
+ ]
+
+ [ mf:name "Count - 6 - count(?var) / count(distinct ?var)" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <count-06.rq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <count-06.srx>
+ ]
+
+ [ mf:name "Count - 7 - count(*) / count(*)" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <count-07.rq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <count-07.srx>
+ ]
+
+
+ ## Empty pattern
+ [ mf:name "Count - 10 - count(*) / no matches" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <count-10.rq> ;
+ qt:data <data-0.ttl> ] ;
+ mf:result <count-10.srx>
+ ]
+
+ [ mf:name "Count - 11 - count(distinct *) / group / no matches" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <count-11.rq> ;
+ qt:data <data-0.ttl> ] ;
+ mf:result <count-11.srx>
+ ]
+ [ mf:name "Count - 12 - count(?z) / no matches" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <count-12.rq> ;
+ qt:data <data-0.ttl> ] ;
+ mf:result <count-12.srx>
+ ]
+
+ [ mf:name "Count - 13 - count(distinct ?z) / group / no matches" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <count-13.rq> ;
+ qt:data <data-0.ttl> ] ;
+ mf:result <count-13.srx>
+ ]
+
+ ## Partial data
+
+ [ mf:name "Count - 20 - No group" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <count-20.arq> ;
+ qt:data <data-2.ttl> ] ;
+ mf:result <count-20.srx>
+ ]
+
+ [ mf:name "Count - 21 - No group - count(distinct ?var)" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <count-21.arq> ;
+ qt:data <data-2.ttl> ] ;
+ mf:result <count-21.srx>
+ ]
+
+ [ mf:name "Count - 22 - count(?var)" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <count-22.arq> ;
+ qt:data <data-2.ttl> ] ;
+ mf:result <count-22.srx>
+ ]
+
+ [ mf:name "Count - 23 - count(?var) - empty" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <count-23.arq> ;
+ qt:data <data-2.ttl> ] ;
+ mf:result <count-23.srx>
+ ]
+
+
+ [ mf:name "Sum - 1 - sum(?v)" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <sum-01.rq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <sum-01.srj>
+ ]
+
+ [ mf:name "Min - 1 - min(?v)" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <min-01.rq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <min-01.srj>
+ ]
+
+ [ mf:name "Max - 1 - max(?v)" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <max-01.rq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <max-01.srj>
+ ]
+
+ [ mf:name "Avg - 1 - avg(?v)" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <avg-01.rq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <avg-01.srj>
+ ]
+
+ ## HAVING
+
+ [ mf:name "Having - 1" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <having-1.rq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <having-1.srx>
+ ]
+
+ ).
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/max-01.rq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/max-01.rq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/max-01.rq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/max-01.rq Thu Nov 3 17:32:36 2011
@@ -1,7 +1,7 @@
-PREFIX : <http://example/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-
-SELECT (max(?v) AS ?V)
-{
- ?x :p ?v
-}
+PREFIX : <http://example/>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+
+SELECT (max(?v) AS ?V)
+{
+ ?x :p ?v
+}
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/min-01.rq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/min-01.rq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/min-01.rq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/min-01.rq Thu Nov 3 17:32:36 2011
@@ -1,7 +1,7 @@
-PREFIX : <http://example/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-
-SELECT (min(?v) AS ?V)
-{
- ?x :p ?v
-}
+PREFIX : <http://example/>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+
+SELECT (min(?v) AS ?V)
+{
+ ?x :p ?v
+}
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/sum-01.rq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/sum-01.rq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/sum-01.rq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/GroupBy/sum-01.rq Thu Nov 3 17:32:36 2011
@@ -1,7 +1,7 @@
-PREFIX : <http://example/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-
-SELECT (sum(?v) AS ?V)
-{
- ?x :p ?v
-}
+PREFIX : <http://example/>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+
+SELECT (sum(?v) AS ?V)
+{
+ ?x :p ?v
+}
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/data-1.ttl
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/data-1.ttl?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/data-1.ttl (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/data-1.ttl Thu Nov 3 17:32:36 2011
@@ -1,13 +1,13 @@
-@prefix : <http://example/> .
-@prefix ns: <http://example/ns#> .
-
-:x1 :p 1 .
-:x1 :p 2 .
-:x1 :p 3 .
-
-:x2 :p 1 .
-:x2 :p 2 .
-
-:x3 :p 1 .
-
-:x4 :p 4 .
+@prefix : <http://example/> .
+@prefix ns: <http://example/ns#> .
+
+:x1 :p 1 .
+:x1 :p 2 .
+:x1 :p 3 .
+
+:x2 :p 1 .
+:x2 :p 2 .
+
+:x3 :p 1 .
+
+:x4 :p 4 .
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/manifest.ttl
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/manifest.ttl?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/manifest.ttl (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/manifest.ttl Thu Nov 3 17:32:36 2011
@@ -1,68 +1,68 @@
-@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 mfx: <http://jena.hpl.hp.com/2005/05/test-manifest-extra#> .
-@prefix qt: <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> .
-
-<> rdf:type mf:Manifest ;
- rdfs:label "Negation" ;
- mf:entries
- (
- [ mf:name "Negation-01" ;
- # TestSyntax, TestSerialization, TestBadSyntax, TestQuery
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <neg-01.arq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <neg-01.srj>
- ]
- [ mf:name "Negation-02" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <neg-02.arq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <neg-02.srj>
- ]
- [ mf:name "Negation-03" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <neg-03.arq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <neg-03.srj>
- ]
- [ mf:name "Negation-04" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <neg-04.arq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <neg-04.srj>
- ]
- [ mf:name "Negation-05" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <neg-05.arq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <neg-05.srj>
- ]
- [ mf:name "Negation-06" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <neg-06.arq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <neg-06.srj>
- ]
- [ mf:name "Negation-07" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <neg-07.arq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <neg-07.srj>
- ]
- [ mf:name "Negation-08" ;
- rdf:type mfx:TestQuery ;
- mf:action
- [ qt:query <neg-08.arq> ;
- qt:data <data-1.ttl> ] ;
- mf:result <neg-08.srj>
- ]
- ).
+@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 mfx: <http://jena.hpl.hp.com/2005/05/test-manifest-extra#> .
+@prefix qt: <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> .
+
+<> rdf:type mf:Manifest ;
+ rdfs:label "Negation" ;
+ mf:entries
+ (
+ [ mf:name "Negation-01" ;
+ # TestSyntax, TestSerialization, TestBadSyntax, TestQuery
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <neg-01.arq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <neg-01.srj>
+ ]
+ [ mf:name "Negation-02" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <neg-02.arq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <neg-02.srj>
+ ]
+ [ mf:name "Negation-03" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <neg-03.arq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <neg-03.srj>
+ ]
+ [ mf:name "Negation-04" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <neg-04.arq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <neg-04.srj>
+ ]
+ [ mf:name "Negation-05" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <neg-05.arq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <neg-05.srj>
+ ]
+ [ mf:name "Negation-06" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <neg-06.arq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <neg-06.srj>
+ ]
+ [ mf:name "Negation-07" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <neg-07.arq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <neg-07.srj>
+ ]
+ [ mf:name "Negation-08" ;
+ rdf:type mfx:TestQuery ;
+ mf:action
+ [ qt:query <neg-08.arq> ;
+ qt:data <data-1.ttl> ] ;
+ mf:result <neg-08.srj>
+ ]
+ ).
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-01.arq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-01.arq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-01.arq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-01.arq Thu Nov 3 17:32:36 2011
@@ -1,7 +1,7 @@
-PREFIX : <http://example/>
-PREFIX ns: <http://example/ns#>
-
-ASK
-{
- NOT EXISTS{:x4 :q []}
-}
+PREFIX : <http://example/>
+PREFIX ns: <http://example/ns#>
+
+ASK
+{
+ NOT EXISTS{:x4 :q []}
+}
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-02.arq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-02.arq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-02.arq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-02.arq Thu Nov 3 17:32:36 2011
@@ -1,7 +1,7 @@
-PREFIX : <http://example/>
-PREFIX ns: <http://example/ns#>
-
-ASK
-{
- EXISTS{:x4 :q []}
-}
+PREFIX : <http://example/>
+PREFIX ns: <http://example/ns#>
+
+ASK
+{
+ EXISTS{:x4 :q []}
+}
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-03.arq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-03.arq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-03.arq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-03.arq Thu Nov 3 17:32:36 2011
@@ -1,7 +1,7 @@
-PREFIX : <http://example/>
-PREFIX ns: <http://example/ns#>
-
-ASK
-{
- FILTER (NOT EXISTS{:x4 :q []})
-}
+PREFIX : <http://example/>
+PREFIX ns: <http://example/ns#>
+
+ASK
+{
+ FILTER (NOT EXISTS{:x4 :q []})
+}
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-04.arq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-04.arq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-04.arq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-04.arq Thu Nov 3 17:32:36 2011
@@ -1,7 +1,7 @@
-PREFIX : <http://example/>
-PREFIX ns: <http://example/ns#>
-
-ASK
-{
- FILTER (EXISTS{:x4 :q []})
-}
+PREFIX : <http://example/>
+PREFIX ns: <http://example/ns#>
+
+ASK
+{
+ FILTER (EXISTS{:x4 :q []})
+}
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-05.arq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-05.arq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-05.arq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-05.arq Thu Nov 3 17:32:36 2011
@@ -1,7 +1,7 @@
-PREFIX : <http://example/>
-PREFIX ns: <http://example/ns#>
-
-ASK
-{
- NOT EXISTS{:x3 :p []}
-}
+PREFIX : <http://example/>
+PREFIX ns: <http://example/ns#>
+
+ASK
+{
+ NOT EXISTS{:x3 :p []}
+}
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-06.arq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-06.arq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-06.arq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-06.arq Thu Nov 3 17:32:36 2011
@@ -1,7 +1,7 @@
-PREFIX : <http://example/>
-PREFIX ns: <http://example/ns#>
-
-SELECT ?x ?z
-{
- EXISTS{?x :p ?z}
+PREFIX : <http://example/>
+PREFIX ns: <http://example/ns#>
+
+SELECT ?x ?z
+{
+ EXISTS{?x :p ?z}
}
\ No newline at end of file
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-06.srj
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-06.srj?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
Binary files - no diff available.
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-07.arq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-07.arq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-07.arq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-07.arq Thu Nov 3 17:32:36 2011
@@ -1,8 +1,8 @@
-PREFIX : <http://example/>
-PREFIX ns: <http://example/ns#>
-
-SELECT *
-{
- ?x :p 1
- EXISTS{?x :p ?z}
+PREFIX : <http://example/>
+PREFIX ns: <http://example/ns#>
+
+SELECT *
+{
+ ?x :p 1
+ EXISTS{?x :p ?z}
}
\ No newline at end of file
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-07.srj
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-07.srj?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
Binary files - no diff available.
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-08.arq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-08.arq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-08.arq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-08.arq Thu Nov 3 17:32:36 2011
@@ -1,9 +1,9 @@
-PREFIX : <http://example/>
-PREFIX ns: <http://example/ns#>
-
-SELECT *
-{
- ?x :p 1
- NOT EXISTS{?x :p ?z . FILTER(?z = 2) }
- ?x :p ?v .
+PREFIX : <http://example/>
+PREFIX ns: <http://example/ns#>
+
+SELECT *
+{
+ ?x :p 1
+ NOT EXISTS{?x :p ?z . FILTER(?z = 2) }
+ ?x :p ?v .
}
\ No newline at end of file
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-08.srj
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/Negation/neg-08.srj?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
Binary files - no diff available.
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/data-1.ttl
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/data-1.ttl?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/data-1.ttl (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/data-1.ttl Thu Nov 3 17:32:36 2011
@@ -1,17 +1,17 @@
-@prefix t: <http://example/t#> .
-@prefix : <http://example/ns#> .
-@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
-
-:x1 :p "a"^^t:type1 .
-:x2 :p "b"^^t:type1 .
-
-:y1 :p "a"^^t:type2 .
-:y2 :p "b"^^t:type2 .
-
-:z1 :p 1 .
-:z2 :p "01"^^xsd:integer .
-:z3 :p 2 .
-:z4 :p "02"^^xsd:integer .
-
-
-
+@prefix t: <http://example/t#> .
+@prefix : <http://example/ns#> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+
+:x1 :p "a"^^t:type1 .
+:x2 :p "b"^^t:type1 .
+
+:y1 :p "a"^^t:type2 .
+:y2 :p "b"^^t:type2 .
+
+:z1 :p 1 .
+:z2 :p "01"^^xsd:integer .
+:z3 :p 2 .
+:z4 :p "02"^^xsd:integer .
+
+
+
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/data-2.ttl
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/data-2.ttl?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/data-2.ttl (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/data-2.ttl Thu Nov 3 17:32:36 2011
@@ -1,20 +1,20 @@
-@prefix : <http://example/> .
-@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
-
-:x1 :p "xyz" .
-:x2 :p "xyz"@en .
-:x3 :p "xyz"@EN .
-:x4 :p "xyz"^^xsd:string .
-:x5 :p "xyz"^^xsd:integer .
-:x6 :p "xyz"^^:unknown .
-:x7 :p _:xyz .
-:x8 :p :xyz .
-
-:y1 :q "abc" .
-:y2 :q "abc"@en .
-:y3 :q "abc"@EN .
-:y4 :q "abc"^^xsd:string .
-:y5 :q "abc"^^xsd:integer .
-:y6 :q "abc"^^:unknown .
-:y7 :q _:abc .
-:y8 :q :abc .
+@prefix : <http://example/> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+
+:x1 :p "xyz" .
+:x2 :p "xyz"@en .
+:x3 :p "xyz"@EN .
+:x4 :p "xyz"^^xsd:string .
+:x5 :p "xyz"^^xsd:integer .
+:x6 :p "xyz"^^:unknown .
+:x7 :p _:xyz .
+:x8 :p :xyz .
+
+:y1 :q "abc" .
+:y2 :q "abc"@en .
+:y3 :q "abc"@EN .
+:y4 :q "abc"^^xsd:string .
+:y5 :q "abc"^^xsd:integer .
+:y6 :q "abc"^^:unknown .
+:y7 :q _:abc .
+:y8 :q :abc .
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/data-3.ttl
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/data-3.ttl?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/data-3.ttl (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/data-3.ttl Thu Nov 3 17:32:36 2011
@@ -1,15 +1,15 @@
-@prefix : <http://example/> .
-@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
-
-:dt1 :r "2006-08-23T09:00:00+01:00"^^xsd:dateTime .
-
-:d1 :r "2006-08-23"^^xsd:date .
-:d2 :r "2006-08-23Z"^^xsd:date .
-:d3 :r "2006-08-23+00:00"^^xsd:date .
-
-:d4 :r "2001-01-01"^^xsd:date .
-:d5 :r "2001-01-01Z"^^xsd:date .
-
-:d6 :s "2006-08-23"^^xsd:date .
-:d7 :s "2006-08-24Z"^^xsd:date .
-:d8 :s "2000-01-01"^^xsd:date .
+@prefix : <http://example/> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+
+:dt1 :r "2006-08-23T09:00:00+01:00"^^xsd:dateTime .
+
+:d1 :r "2006-08-23"^^xsd:date .
+:d2 :r "2006-08-23Z"^^xsd:date .
+:d3 :r "2006-08-23+00:00"^^xsd:date .
+
+:d4 :r "2001-01-01"^^xsd:date .
+:d5 :r "2001-01-01Z"^^xsd:date .
+
+:d6 :s "2006-08-23"^^xsd:date .
+:d7 :s "2006-08-24Z"^^xsd:date .
+:d8 :s "2000-01-01"^^xsd:date .
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/data-4.ttl
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/data-4.ttl?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/data-4.ttl (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/data-4.ttl Thu Nov 3 17:32:36 2011
@@ -1,15 +1,15 @@
-@prefix : <http://example/> .
-@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
-
-
-
-:x1 :p [ :v1 "v1" ; :v2 "v2" ] .
-
-:x2 :p [ :v1 1 ; :v2 "v2" ] .
-
-:x3 :p [ :v1 "x"^^:unknown ; :v2 "x"^^:unknown ] .
-
-:x4 :p [ :v1 <test:abc> ; :v2 <test:abc> ] .
-
-:x5 :p [ :v1 "2006-08-23T09:00:00+01:00"^^xsd:dateTime ;
- :v2 "2006-08-22"^^xsd:date ].
+@prefix : <http://example/> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+
+
+
+:x1 :p [ :v1 "v1" ; :v2 "v2" ] .
+
+:x2 :p [ :v1 1 ; :v2 "v2" ] .
+
+:x3 :p [ :v1 "x"^^:unknown ; :v2 "x"^^:unknown ] .
+
+:x4 :p [ :v1 <test:abc> ; :v2 <test:abc> ] .
+
+:x5 :p [ :v1 "2006-08-23T09:00:00+01:00"^^xsd:dateTime ;
+ :v2 "2006-08-22"^^xsd:date ].
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-1-result.srx
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-1-result.srx?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-1-result.srx (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-1-result.srx Thu Nov 3 17:32:36 2011
@@ -1,20 +1,20 @@
-<?xml version="1.0"?>
-<sparql
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:xs="http://www.w3.org/2001/XMLSchema#"
- xmlns="http://www.w3.org/2005/sparql-results#" >
- <head>
- <variable name="x"/>
- <variable name="v"/>
- </head>
- <results>
- <result>
- <binding name="x">
- <uri>http://example/d1</uri>
- </binding>
- <binding name="v">
- <literal datatype="http://www.w3.org/2001/XMLSchema#date">2006-08-23</literal>
- </binding>
- </result>
- </results>
-</sparql>
+<?xml version="1.0"?>
+<sparql
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema#"
+ xmlns="http://www.w3.org/2005/sparql-results#" >
+ <head>
+ <variable name="x"/>
+ <variable name="v"/>
+ </head>
+ <results>
+ <result>
+ <binding name="x">
+ <uri>http://example/d1</uri>
+ </binding>
+ <binding name="v">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#date">2006-08-23</literal>
+ </binding>
+ </result>
+ </results>
+</sparql>
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-1.rq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-1.rq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-1.rq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-1.rq Thu Nov 3 17:32:36 2011
@@ -1,8 +1,8 @@
-PREFIX : <http://example/>
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-SELECT *
-{
- ?x :r ?v .
- FILTER ( ?v = "2006-08-23"^^xsd:date )
-}
+PREFIX : <http://example/>
+PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
+
+SELECT *
+{
+ ?x :r ?v .
+ FILTER ( ?v = "2006-08-23"^^xsd:date )
+}
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-2-result.srx
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-2-result.srx?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-2-result.srx (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-2-result.srx Thu Nov 3 17:32:36 2011
@@ -1,36 +1,36 @@
-<?xml version="1.0"?>
-<sparql
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:xs="http://www.w3.org/2001/XMLSchema#"
- xmlns="http://www.w3.org/2005/sparql-results#" >
- <head>
- <variable name="x"/>
- <variable name="v"/>
- </head>
- <results>
- <result>
- <binding name="x">
- <uri>http://example/d5</uri>
- </binding>
- <binding name="v">
- <literal datatype="http://www.w3.org/2001/XMLSchema#date">2001-01-01Z</literal>
- </binding>
- </result>
- <result>
- <binding name="x">
- <uri>http://example/d4</uri>
- </binding>
- <binding name="v">
- <literal datatype="http://www.w3.org/2001/XMLSchema#date">2001-01-01</literal>
- </binding>
- </result>
- <result>
- <binding name="x">
- <uri>http://example/dt1</uri>
- </binding>
- <binding name="v">
- <literal datatype="http://www.w3.org/2001/XMLSchema#dateTime">2006-08-23T09:00:00+01:00</literal>
- </binding>
- </result>
- </results>
-</sparql>
+<?xml version="1.0"?>
+<sparql
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema#"
+ xmlns="http://www.w3.org/2005/sparql-results#" >
+ <head>
+ <variable name="x"/>
+ <variable name="v"/>
+ </head>
+ <results>
+ <result>
+ <binding name="x">
+ <uri>http://example/d5</uri>
+ </binding>
+ <binding name="v">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#date">2001-01-01Z</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="x">
+ <uri>http://example/d4</uri>
+ </binding>
+ <binding name="v">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#date">2001-01-01</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="x">
+ <uri>http://example/dt1</uri>
+ </binding>
+ <binding name="v">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#dateTime">2006-08-23T09:00:00+01:00</literal>
+ </binding>
+ </result>
+ </results>
+</sparql>
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-2.rq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-2.rq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-2.rq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-2.rq Thu Nov 3 17:32:36 2011
@@ -1,8 +1,8 @@
-PREFIX : <http://example/>
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-SELECT *
-{
- ?x :r ?v .
- FILTER ( ?v != "2006-08-23"^^xsd:date )
-}
+PREFIX : <http://example/>
+PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
+
+SELECT *
+{
+ ?x :r ?v .
+ FILTER ( ?v != "2006-08-23"^^xsd:date )
+}
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-3-result.srx
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-3-result.srx?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-3-result.srx (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-3-result.srx Thu Nov 3 17:32:36 2011
@@ -1,36 +1,36 @@
-<?xml version="1.0"?>
-<sparql
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:xs="http://www.w3.org/2001/XMLSchema#"
- xmlns="http://www.w3.org/2005/sparql-results#" >
- <head>
- <variable name="x"/>
- <variable name="v"/>
- </head>
- <results ordered="false" distinct="false">
- <result>
- <binding name="x">
- <uri>http://example/d3</uri>
- </binding>
- <binding name="v">
- <literal datatype="http://www.w3.org/2001/XMLSchema#date">2006-08-23+00:00</literal>
- </binding>
- </result>
- <result>
- <binding name="x">
- <uri>http://example/d2</uri>
- </binding>
- <binding name="v">
- <literal datatype="http://www.w3.org/2001/XMLSchema#date">2006-08-23Z</literal>
- </binding>
- </result>
- <result>
- <binding name="x">
- <uri>http://example/d1</uri>
- </binding>
- <binding name="v">
- <literal datatype="http://www.w3.org/2001/XMLSchema#date">2006-08-23</literal>
- </binding>
- </result>
- </results>
-</sparql>
+<?xml version="1.0"?>
+<sparql
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema#"
+ xmlns="http://www.w3.org/2005/sparql-results#" >
+ <head>
+ <variable name="x"/>
+ <variable name="v"/>
+ </head>
+ <results ordered="false" distinct="false">
+ <result>
+ <binding name="x">
+ <uri>http://example/d3</uri>
+ </binding>
+ <binding name="v">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#date">2006-08-23+00:00</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="x">
+ <uri>http://example/d2</uri>
+ </binding>
+ <binding name="v">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#date">2006-08-23Z</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="x">
+ <uri>http://example/d1</uri>
+ </binding>
+ <binding name="v">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#date">2006-08-23</literal>
+ </binding>
+ </result>
+ </results>
+</sparql>
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-3.rq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-3.rq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-3.rq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-3.rq Thu Nov 3 17:32:36 2011
@@ -1,8 +1,8 @@
-PREFIX : <http://example/>
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-SELECT *
-{
- ?x :r ?v .
- FILTER ( ?v > "2006-08-22"^^xsd:date )
-}
+PREFIX : <http://example/>
+PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
+
+SELECT *
+{
+ ?x :r ?v .
+ FILTER ( ?v > "2006-08-22"^^xsd:date )
+}
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-4-result.srx
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-4-result.srx?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-4-result.srx (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-4-result.srx Thu Nov 3 17:32:36 2011
@@ -1,36 +1,36 @@
-<?xml version="1.0"?>
-<sparql
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:xs="http://www.w3.org/2001/XMLSchema#"
- xmlns="http://www.w3.org/2005/sparql-results#" >
- <head>
- <variable name="x"/>
- <variable name="date"/>
- </head>
- <results>
- <result>
- <binding name="x">
- <uri>http://example/d8</uri>
- </binding>
- <binding name="date">
- <literal datatype="http://www.w3.org/2001/XMLSchema#date">2000-01-01</literal>
- </binding>
- </result>
- <result>
- <binding name="x">
- <uri>http://example/d6</uri>
- </binding>
- <binding name="date">
- <literal datatype="http://www.w3.org/2001/XMLSchema#date">2006-08-23</literal>
- </binding>
- </result>
- <result>
- <binding name="x">
- <uri>http://example/d7</uri>
- </binding>
- <binding name="date">
- <literal datatype="http://www.w3.org/2001/XMLSchema#date">2006-08-24Z</literal>
- </binding>
- </result>
- </results>
-</sparql>
+<?xml version="1.0"?>
+<sparql
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema#"
+ xmlns="http://www.w3.org/2005/sparql-results#" >
+ <head>
+ <variable name="x"/>
+ <variable name="date"/>
+ </head>
+ <results>
+ <result>
+ <binding name="x">
+ <uri>http://example/d8</uri>
+ </binding>
+ <binding name="date">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#date">2000-01-01</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="x">
+ <uri>http://example/d6</uri>
+ </binding>
+ <binding name="date">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#date">2006-08-23</literal>
+ </binding>
+ </result>
+ <result>
+ <binding name="x">
+ <uri>http://example/d7</uri>
+ </binding>
+ <binding name="date">
+ <literal datatype="http://www.w3.org/2001/XMLSchema#date">2006-08-24Z</literal>
+ </binding>
+ </result>
+ </results>
+</sparql>
Modified: incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-4.rq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-4.rq?rev=1197234&r1=1197233&r2=1197234&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-4.rq (original)
+++ incubator/jena/Jena2/ARQ/trunk/testing/ARQ/OpenWorld/date-4.rq Thu Nov 3 17:32:36 2011
@@ -1,8 +1,8 @@
-PREFIX : <http://example/>
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-SELECT ?x ?date
-{
- ?x :s ?date .
- FILTER ( datatype(?date) = xsd:date )
-}
+PREFIX : <http://example/>
+PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
+
+SELECT ?x ?date
+{
+ ?x :s ?date .
+ FILTER ( datatype(?date) = xsd:date )
+}