Smalyshev added a comment.
In Blazegraph 2.0 the geospatial search looks like:
SELECT ?res WHERE {
SERVICE geo:search {
?res geo:search "inRectangle" .
?res geo:predicate example:locatedIn .
?res geo:spatialRectangleUpperLeft "0.00001#0.00002" .
?res geo:spatialRectangleLowerRight "0.00003#0.00003" .
}
}
or:
SELECT ?res WHERE {
SERVICE geo:search {
?res geo:search "inCircle" .
?res geo:predicate example:locatedIn .
?res geo:spatialCircleCenter "0.00002#0.00002" .
?res geo:spatialCircleRadius "0.1" .
}
}
So I think we can have something similar. I imagine indexing will also be
better since now the query examples probably do not use indexes at all.
TASK DETAIL
https://phabricator.wikimedia.org/T123565
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Smalyshev
Cc: Jheald, Ricordisamoa, Aklapper, Smalyshev, debt, jkroll, Wikidata-bugs,
Jdouglas, aude, Deskana, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs