input placeholders not picked up when bind statement is presentSee original GitHub issue
I am running into this problem that I want to add a bind statement like this one: https://github.com/peta-pico/fpsi-queries/blob/main/get-classdef-reviews.rq#L85
This seemed to work fine, until I realized that the input placeholders like
?__author_iri (here) are no longer picked up. After commenting out the bind-statement above, they work again.
I tried this with the grlc.io service as well as a local instance with the latest Docker version, with the same result.
This seems to be a bug, or am I doing something wrong?
- Created 2 years ago
Top GitHub Comments
Sure! Minimal example is here: http://grlc.io/api-git/tkuhn/grlc-unicode-test
fails query contains the unicode escape sequence
\u0001 in a string, which leads to the placeholder
?__class_iri not being picked up as such.
succeeds query is identical except for the unicode escape sequence. Here the placeholder is picked up without problems.
Otherwise, both queries work just fine.
I see. I didn’t realize the parsing is only for the placeholder extraction. Showing a warning will certainly help. I found a workaround for my particular query that doesn’t involve any “\u…” sequences.