Is it possible to do something similar when running these queries against
Fuseki over HTTP?
Håvard,
What is the starting point? A string as the template or an
already-parsed query or update? Or building the structure each time?
1:: If it is a string, parameterized sparql strings are the way to go
and it protects against injected strings for
2:: There is also the QueryBuilder
https://jena.apache.org/documentation/extras/querybuilder/
that Claude can talk about.
Last time we had a discussion about this
http://mail-archives.apache.org/mod_mbox/jena-dev/201506.mbox/%3C558FC784.9060407%40apache.org%3E
3:: I put in the machinery for syntax rewriting: it does not have a
QuerySolution based interface:
UpdateTransformOps / QueryTransformOps
It would be good to know the details here of your use case: do you only
want to inject values for specific parameters, not partial patterns?
It would help use further understand the different alternatives and
workflows.
Andy