Strabon

changeset 1096:3ae814d8b023

ehContains has different results from sfContains (that's not wrong).
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Fri Apr 26 19:49:14 2013 +0300 (2013-04-26)
parents 613675356223
children 1d92e1c8e25f
files testsuite/src/test/java/eu/earthobservatory/testsuite/geoSPARQL/EhSpatialRelationsTest.java testsuite/src/test/resources/geoSPARQL/EhSpatialRelationsTest/EhContainsTest.rq testsuite/src/test/resources/geoSPARQL/EhSpatialRelationsTest/EhContainsTest.srx
line diff
     1.1 --- a/testsuite/src/test/java/eu/earthobservatory/testsuite/geoSPARQL/EhSpatialRelationsTest.java	Fri Apr 26 19:29:37 2013 +0300
     1.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/geoSPARQL/EhSpatialRelationsTest.java	Fri Apr 26 19:49:14 2013 +0300
     1.3 @@ -13,7 +13,7 @@
     1.4  
     1.5  
     1.6  /**
     1.7 - * GeoSPARQL Egenhofer' spatial relations test. 
     1.8 + * GeoSPARQL Egenhofer's spatial relations test. 
     1.9   * 
    1.10   * @author Panayiotis Smeros <psmeros@di.uoa.gr
    1.11   */
     2.1 --- a/testsuite/src/test/resources/geoSPARQL/EhSpatialRelationsTest/EhContainsTest.rq	Fri Apr 26 19:29:37 2013 +0300
     2.2 +++ b/testsuite/src/test/resources/geoSPARQL/EhSpatialRelationsTest/EhContainsTest.rq	Fri Apr 26 19:49:14 2013 +0300
     2.3 @@ -7,4 +7,4 @@
     2.4  ?y geo:hasGeometry ?geom2.
     2.5  ?geom2 geo:asWKT ?g2.
     2.6  
     2.7 -FILTER((?x != ?y) && (geof:sfContains(?g1, ?g2)))}
     2.8 \ No newline at end of file
     2.9 +FILTER((?x != ?y) && (geof:ehContains(?g1, ?g2)))}
    2.10 \ No newline at end of file
     3.1 --- a/testsuite/src/test/resources/geoSPARQL/EhSpatialRelationsTest/EhContainsTest.srx	Fri Apr 26 19:29:37 2013 +0300
     3.2 +++ b/testsuite/src/test/resources/geoSPARQL/EhSpatialRelationsTest/EhContainsTest.srx	Fri Apr 26 19:49:14 2013 +0300
     3.3 @@ -7,36 +7,11 @@
     3.4  	<results>
     3.5  		<result>
     3.6  			<binding name='y'>
     3.7 -				<uri>http://example.org#A</uri>
     3.8 -			</binding>
     3.9 -			<binding name='x'>
    3.10 -				<uri>http://example.org#B</uri>
    3.11 -			</binding>
    3.12 -		</result>
    3.13 -		<result>
    3.14 -			<binding name='y'>
    3.15  				<uri>http://example.org#G</uri>
    3.16  			</binding>
    3.17  			<binding name='x'>
    3.18  				<uri>http://example.org#B</uri>
    3.19  			</binding>
    3.20  		</result>
    3.21 -		<result>
    3.22 -			<binding name='y'>
    3.23 -				<uri>http://example.org#E</uri>
    3.24 -			</binding>
    3.25 -			<binding name='x'>
    3.26 -				<uri>http://example.org#D</uri>
    3.27 -			</binding>
    3.28 -		</result>
    3.29 -		<result>
    3.30 -			<binding name='y'>
    3.31 -				<uri>http://example.org#D</uri>
    3.32 -			</binding>
    3.33 -			<binding name='x'>
    3.34 -				<uri>http://example.org#E</uri>
    3.35 -			</binding>
    3.36 -		</result>
    3.37  	</results>
    3.38 -</sparql>
    3.39 -
    3.40 +</sparql>
    3.41 \ No newline at end of file