Open tuukka opened 5 months ago
Thanks for reporting this.
The underlying issue is the following:
QLever currently doesn't like if the result of a Service has contains a blank node (that is probably the cause of the !isString
issue...
or if the Service returns undefined/optional values (your problem with optionals).
We currently have someone (@UNEXENU) working on the SERVICE
implementation to get rid of such issues (among others).
A current workaround for your concrete query is to filter out the blank nodes (which you are probably not interested in anyway) by adding a
FILTER (!ISBLANK(?image))
inside the SERVICE clause:
[click me] (https://qlever.cs.uni-freiburg.de/osm-planet/iGdZki)
Thank you! The workaround is suitable for me. To allow OPTIONAL
, I can even change the missing values to a placeholder value: https://qlever.cs.uni-freiburg.de/osm-planet/wbFBTJ
I'm trying to get images related to OSM-Wikidata links, but my queries crash.
One error message (the query completes if I change the inner select to just
SELECT ?item
) :Alternatively, if I mark the
wdt:P18
as optional, I get another error message: