Thanks Rob Can I follow up with a couple more questions?
1. I presume ParamaterizedSparqlString is like a query and can be used in QueryExecutionFactory.create() as the query? On Thu, Aug 22, 2013 at 5:27 PM, Rob Vesse <[email protected]> wrote: > See ParamaterizedSparqlString - > http://jena.apache.org/documentation/query/parameterized-sparql-strings.htm > l > > Rob > > > > On 8/22/13 9:19 AM, "Phil Ashworth" <[email protected]> wrote: > > >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 > >
