-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MapView seems not working for relations #1299
Comments
it maybe doesn't work for WKT literals of type |
Indeed, |
@LorenzBuehmann Can you post the corresponding query for sophox.org? |
Hi Hannah and Patrick! Well, it's not my query, but the Sophos link above leads to standard Blazegraph UI. On the right-hand side of that UI there will popup some overlay menu, when you click on "Edit code" there, you'll get to the query editor: So the query in Sophox will be #defaultView:Map
SELECT * WHERE {
VALUES ?types { "r" }
?osmId osmm:type ?types;
osmt:educational ?key;
osmm:loc ?loc.
} Ok, so it sounds like an "easy" to fix limitation somehow? Not sure, you probably already cover |
Based on example:
https://wiki.openstreetmap.org/wiki/SPARQL_vs_Overpass_QL_examples#Nodes_and_ways_with_a_given_key
i did modify the query a bit to find relations with key
educational=*
(wiki):https://qlever.cs.uni-freiburg.de/osm-planet/yYirt8
MapView seems not working, see:
https://qlever.cs.uni-freiburg.de/mapui-petri/?query=PREFIX+geo%3A+%3Chttp%3A%2F%2Fwww.opengis.net%2Font%2Fgeosparql%23%3E+PREFIX+osmkey%3A+%3Chttps%3A%2F%2Fwww.openstreetmap.org%2Fwiki%2FKey%3A%3E+PREFIX+osm%3A+%3Chttps%3A%2F%2Fwww.openstreetmap.org%2F%3E+PREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E+SELECT+*+WHERE+%7B+VALUES+%3Ftypes+%7B+osm%3Arelation+%7D+%3FosmId+rdf%3Atype+%3Ftypes%3B+osmkey%3Aeducational+%3Fkey%3B+geo%3AhasGeometry%2Fgeo%3AasWKT+%3Floc+%7D&backend=https%3A%2F%2Fqlever.cs.uni-freiburg.de%2Fapi%2Fosm-planet
As comparison Sophox works well:
https://tinyurl.com/2bdq7g7o
The text was updated successfully, but these errors were encountered: