Hi,
is it possible to use the Geospatial feature for Virtual Graphs, such in the following query:
PREFIX : <http://api.stardog.com/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX stardog: <tag:stardog:api:>
PREFIX wgs84_pos: <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX geof: <http://www.opengis.net/def/function/geosparql/>
PREFIX unit: <http://qudt.org/vocab/unit#>
select * {
GRAPH <virtual://foursquare> {
?poi a ?s;
wgs84_pos:lat ?lat;
wgs84_pos:long ?long;
geof:nearby (38.896004 -77.054995 22 unit:Kilometer).
}
}
Note: this query runs ok for (materialized) triples stored into Stardog.
Thanks.