You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that API calls using curl -s https://qlever.cs.uni-freiburg.de/api/wikidata -H "Accept: text/tab-separated-values" -H "Content-type: application/sparql-query" --data "" do not work when the query contains a "&&" in a FILTER or BIND.
Example
The curl command throws the error: "Parameter without "=" in HTTP Request. . In file "/local/data/qlever/qlever-code/src/util/http/UrlParser.cpp " at line 100"
QLever is apparently interpreting the ampersand as part of a URL parameter.
In the example above, one can simply use two different FILTERs to solve this, but I have a BIND statement where I need to use the "&&".
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I noticed that API calls using
curl -s https://qlever.cs.uni-freiburg.de/api/wikidata -H "Accept: text/tab-separated-values" -H "Content-type: application/sparql-query" --data ""
do not work when the query contains a "&&" in a FILTER or BIND.Example
The curl command throws the error: "Parameter without "=" in HTTP Request. . In file "/local/data/qlever/qlever-code/src/util/http/UrlParser.cpp " at line 100"
QLever is apparently interpreting the ampersand as part of a URL parameter.
In the example above, one can simply use two different FILTERs to solve this, but I have a BIND statement where I need to use the "&&".
Beta Was this translation helpful? Give feedback.
All reactions