Map Rendering broken #1148
LorenzBuehmann
started this conversation in
General
Replies: 1 comment 1 reply
-
|
@LorenzBuehmann Thanks for the feedback! @1: We had an involuntarily denial-of-service attack by one of our own students :-) it's fixed now and https://qlever.cs.uni-freiburg.de/osm-planet is up again. @2: The Map view currently doesn't work for |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi devs,
currently I can see 2 issues on the public demos:
The original query is
which returns a result but the Map View fails with
{ "exception": "Invalid SPARQL query: Token \"}\": no viable alternative at input 'LIMIT10}'", "metadata": { "line": 1, "positionInLine": 367, "query": "PREFIX osm: PREFIX rdf: PREFIX osmt: PREFIX geo: PREFIX osmway: SELECT * WHERE { ?way osmt:railway \"rail\" . ?way rdf:type osm:way . ?way geo:hasGeometry ?geom } LIMIT 10}", "startIndex": 367, "stopIndex": 367 }, "query": "PREFIX osm: PREFIX rdf: PREFIX osmt: PREFIX geo: PREFIX osmway: SELECT * WHERE { ?way osmt:railway \"rail\" . ?way rdf:type osm:way . ?way geo:hasGeometry ?geom } LIMIT 10}", "resultsize": 0, "status": "ERROR", "time": { "computeResult": 0, "total": 0 } }so it looks like the widget seems to always append a closing
}to the query which indeed results in invalid syntax error when querying QLever (or any other triple store).Also, removing the
LIMIT 10from the query makes the widget to append the}and then in addition append the max value for Integer:{ "exception": "Invalid SPARQL query: Token \"}\": mismatched input '}' expecting ", "metadata": { "line": 1, "positionInLine": 358, "query": "PREFIX osm: PREFIX rdf: PREFIX osmt: PREFIX geo: PREFIX osmway: SELECT * WHERE { ?way osmt:railway \"rail\" . ?way rdf:type osm:way . ?way geo:hasGeometry ?geom }} LIMIT 18446744073709551615", "startIndex": 358, "stopIndex": 358 }, "query": "PREFIX osm: PREFIX rdf: PREFIX osmt: PREFIX geo: PREFIX osmway: SELECT * WHERE { ?way osmt:railway \"rail\" . ?way rdf:type osm:way . ?way geo:hasGeometry ?geom }} LIMIT 18446744073709551615", "resultsize": 0, "status": "ERROR", "time": { "computeResult": 0, "total": 0 } }so it sends
}} LIMIT 18446744073709551615to the QLever endpoint. ThatLIMITwith2^64-1looks rather redundant to me by the way.I think the error is the same for both queries in rewriting the query somehow. Did you change the code recently, it was working before for me for sure?
Beta Was this translation helpful? Give feedback.
All reactions