-
Notifications
You must be signed in to change notification settings - Fork 37
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
Applying a filter on a bound variable is not working #1208
Comments
@lpugin Thanks for the report. The problem with the first query is that There are two workarounds. One is to avoid applying the REGEX on the variable from the local vocabulary. Your second query does that, but of course with a different result (because Another workaround is the following: https://qlever.cs.uni-freiburg.de/wikidata/zE74aX . It adds |
Thanks for the quick and extensive reply, @hannahbast. The example I gave was made up to be able to share it here, so the first workaround would not work because I need to perform a string operation before applying the filter. However, the second one works great! For the record, I came across this example when trying to find a replacement for a
I guess it would be similar to this: https://qlever.cs.uni-freiburg.de/wikidata/bMOzB9 (while that works https://qlever.cs.uni-freiburg.de/wikidata/VzVYF6) |
@lpugin Thanks for the explanation. The token after As an alternative, you can use a REGEX with a disjunction, as in https://qlever.cs.uni-freiburg.de/wikidata/yrqnhx .Of course, the best solution would be for us to implement I am curious: which query or kind of query do you actually want to ask? |
Sure. I actually have one question for the
That is fully understandable, but thanks for looking into it.
It is on a local dataset, but I'll be happy to share it once we have it online. This is why I made up another one on Wikidata. Basically I want to filter and regroup counts of musical clefs coded with |
Sorry, my question was probably not clear. Why is the |
Applying a
FILTER
on a variable defined throughBIND
does not work and returns an empty dataset. I could not find anything about this limitation in the documentation, sorry if I overlooked it.This return an empty set:
https://qlever.cs.uni-freiburg.de/wikidata/FkvZCT
Applying the filter on
?name
does workhttps://qlever.cs.uni-freiburg.de/wikidata/dGjnEU
Any ideas?
The text was updated successfully, but these errors were encountered: