Strabon

view testsuite/src/test/resources/geoSPARQL/RelateQueryFunctionTest/RelateQueryFunctionTest.rq @ 1145:3cd76c715947

Added relate query function test (DE-9IM intersection pattern for equality).
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Fri May 03 19:18:25 2013 +0300 (2013-05-03)
parents
children
line source
1 SELECT ?x ?y
2 WHERE
3 {
4 ?x geo:hasGeometry ?geom1.
5 ?geom1 geo:asWKT ?g1.
7 ?y geo:hasGeometry ?geom2.
8 ?geom2 geo:asWKT ?g2.
10 FILTER((?x != ?y) && (geof:relate(?g1, ?g2, "TFFFTFFFT"^^xsd:String)))}