This is not possible, but there is a workaround. You can pass your values as a comma-separated string like this:
http://localhost:5820/myDB/query/?query=myQuery&$inputString='value1,value2'
and parse inputString
using SPLIT
and UNNEST
:
SELECT *
{
UNNEST(SPLIT($inputString, ",") as ?input)
?s ?p $input
}
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article