Strabon

changeset 1128:b297e773ff56

added ogc prefix in testsuite/src/test/resources/prefixes
author Stella Giannakopoulou <sgian@di.uoa.gr>
date Mon Apr 29 18:02:57 2013 +0300 (2013-04-29)
parents 4beeabbf8843
children 40fe983c1488
files testsuite/src/test/resources/prefixes testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestDegrees.rq testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestFilter.rq testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestMetres.rq testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestWithDistance.rq testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestDegrees.rq testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestMetres.rq testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestWithUnion.rq
line diff
     1.1 --- a/testsuite/src/test/resources/prefixes	Mon Apr 29 00:14:11 2013 +0300
     1.2 +++ b/testsuite/src/test/resources/prefixes	Mon Apr 29 18:02:57 2013 +0300
     1.3 @@ -11,4 +11,5 @@
     1.4  PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
     1.5  PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
     1.6  PREFIX geo: <http://www.opengis.net/ont/geosparql#>
     1.7 -PREFIX geof: <http://www.opengis.net/def/function/geosparql/>
     1.8 \ No newline at end of file
     1.9 +PREFIX geof: <http://www.opengis.net/def/function/geosparql/>
    1.10 +PREFIX ogc: <http://www.opengis.net/def/uom/OGC/1.0/>
    1.11 \ No newline at end of file
     2.1 --- a/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestDegrees.rq	Mon Apr 29 00:14:11 2013 +0300
     2.2 +++ b/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestDegrees.rq	Mon Apr 29 18:02:57 2013 +0300
     2.3 @@ -1,4 +1,4 @@
     2.4 -select (strdf:buffer(?g, 0.2, <http://www.opengis.net/def/uom/OGC/1.0/degree>) as ?buf)
     2.5 +select (strdf:buffer(?g, 0.2, ogc:degree) as ?buf)
     2.6  where
     2.7  {
     2.8  ?x <http://example.org/ontology/hasGeometry> ?g
     3.1 --- a/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestFilter.rq	Mon Apr 29 00:14:11 2013 +0300
     3.2 +++ b/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestFilter.rq	Mon Apr 29 18:02:57 2013 +0300
     3.3 @@ -2,5 +2,5 @@
     3.4  where
     3.5  {
     3.6  	<http://example.org/id/Point/5531> <http://example.org/ontology/hasGeometry> ?g1 .
     3.7 -	FILTER(strdf:within(?g1, strdf:buffer(?g1, 30, <http://www.opengis.net/def/uom/OGC/1.0/metre>)))
     3.8 +	FILTER(strdf:within(?g1, strdf:buffer(?g1, 30, ogc:metre)))
     3.9  }
    3.10 \ No newline at end of file
     4.1 --- a/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestMetres.rq	Mon Apr 29 00:14:11 2013 +0300
     4.2 +++ b/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestMetres.rq	Mon Apr 29 18:02:57 2013 +0300
     4.3 @@ -1,4 +1,4 @@
     4.4 -select (strdf:buffer(?g, 0.2, <http://www.opengis.net/def/uom/OGC/1.0/metre>) as ?buf)
     4.5 +select (strdf:buffer(?g, 0.2, ogc:metre) as ?buf)
     4.6  where
     4.7  {
     4.8  ?x <http://example.org/ontology/hasGeometry> ?g
     5.1 --- a/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestWithDistance.rq	Mon Apr 29 00:14:11 2013 +0300
     5.2 +++ b/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestWithDistance.rq	Mon Apr 29 18:02:57 2013 +0300
     5.3 @@ -1,4 +1,4 @@
     5.4 -select (strdf:buffer(?g1, strdf:distance(?g1, ?g2, <http://www.opengis.net/def/uom/OGC/1.0/degree>), <http://www.opengis.net/def/uom/OGC/1.0/degree>) as ?buf)
     5.5 +select (strdf:buffer(?g1, strdf:distance(?g1, ?g2, ogc:degree), ogc:degree) as ?buf)
     5.6  where
     5.7  {
     5.8  	<http://example.org/id/Point/5531> <http://example.org/ontology/hasGeometry> ?g1 .
     6.1 --- a/testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestDegrees.rq	Mon Apr 29 00:14:11 2013 +0300
     6.2 +++ b/testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestDegrees.rq	Mon Apr 29 18:02:57 2013 +0300
     6.3 @@ -1,4 +1,4 @@
     6.4 -select (strdf:distance(?g1, ?g2, <http://www.opengis.net/def/uom/OGC/1.0/degree>) as ?dist)
     6.5 +select (strdf:distance(?g1, ?g2, ogc:degree) as ?dist)
     6.6  where
     6.7  {
     6.8  	<http://example.org/id/Point/5531> <http://example.org/ontology/hasGeometry> ?g1 .
     7.1 --- a/testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestMetres.rq	Mon Apr 29 00:14:11 2013 +0300
     7.2 +++ b/testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestMetres.rq	Mon Apr 29 18:02:57 2013 +0300
     7.3 @@ -1,4 +1,4 @@
     7.4 -select (strdf:distance(?g1, ?g2, <http://www.opengis.net/def/uom/OGC/1.0/metre>) as ?dist)
     7.5 +select (strdf:distance(?g1, ?g2, ogc:metre) as ?dist)
     7.6  where
     7.7  {
     7.8  	<http://example.org/id/Point/5531> <http://example.org/ontology/hasGeometry> ?g1 .
     8.1 --- a/testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestWithUnion.rq	Mon Apr 29 00:14:11 2013 +0300
     8.2 +++ b/testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestWithUnion.rq	Mon Apr 29 18:02:57 2013 +0300
     8.3 @@ -1,4 +1,4 @@
     8.4 -select (strdf:distance(strdf:union(?g1, ?g2), ?g3, <http://www.opengis.net/def/uom/OGC/1.0/metre>) as ?dist)
     8.5 +select (strdf:distance(strdf:union(?g1, ?g2), ?g3, ogc:metre) as ?dist)
     8.6  where
     8.7  {
     8.8  	<http://example.org/id/Point/5531> <http://example.org/ontology/hasGeometry> ?g1 .