Hi Guys
I noticed the documentation states*
"
QuerySolutionMap initialBinding = new
QuerySolutionMap();initialBinding.add("name", personResource);qe =
QueryExecutionFactory.create(query, dataset, initialBinding);*

* *

*This is often much simpler than the string equivalent since you don't have
to escape quotes in literals. (Beware that this doesn't work for
sparqlService, which is a great shame. It would be nice to spend some time
remedying that.) "*

I'm actually in the situation that I would like to bind variables for a
sparqlService.

Can you suggest the best way for me to approach this?

Thanks In advance

Phil

Reply via email to