Strabon

view testsuite/src/test/resources/bugs/SpatialFunctionInOrderBy/Distance_stRDF.rq @ 1419:f602e11d476f

fixed a test that was using strdf:distance in ORDER BY clause with two arguments (expecting three arguments always) and de-activated evaluation of grounded expressions in SELECT queries in Java (see the respective #72 the reason I did so)
author Babis Nikolaou <charnik@di.uoa.gr>
date Mon Sep 22 18:15:44 2014 +0300 (2014-09-22)
parents cd3fec856743
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(str(?x) < str(?y))
11 }
12 ORDER BY DESC(strdf:distance(?g1, ?g2, ogc:degree))
13 LIMIT 2