-
Notifications
You must be signed in to change notification settings - Fork 17
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
Query error: Could not determine operation type #137
Comments
Remove the comment in the query, that seems to trigger this bug. Funnily enough I ran into it as well just a few hours ago. I tried reproducing it but I can't reproduce it always. Seems to be a problem with the SPARQL parser when a |
Same here. Looks like it's this function: https://github.com/ad-freiburg/qlever-ui/blob/master/backend/static/js/qleverUI.js#L519-L569 Seems an odd way of calculating the operation type, simply by looking at the first word of a query... @Qup42 any chance you could revisit this? FWIW, some of my queries trigger this, and some don't. I'm working on trying to narrow down what triggers it. |
For my queries, this regex:
Wasn't sufficient as it was not behaving correctly with all of my queries. ChatGPT suggests taking into account line endings, e.g.,
|
See #138, will be fixed asap |
https://qlever.cs.uni-freiburg.de/wikidata/BoJJyB
The text was updated successfully, but these errors were encountered: