Re: Initial Bindings in Update

2013-08-21 Thread Andy Seaborne
Looks good but I think we could make as similar to when the feature did exist by including both QuerySolution and Binding variants as in 2.7.4. This covers: UpdateExecutionFactory UpdateAction I'll add them. Andy On 21/08/13 09:37, Holger Knublauch wrote: Many thanks, Stephen. I hav

Re: Initial Bindings in Update

2013-08-21 Thread Holger Knublauch
Many thanks, Stephen. I have tested this and it appears to work nicely! Holger On 8/21/2013 7:32, Stephen Allen wrote: I've created a patch and attached to JENA-516, which adds back initial binding support for update queries. It will only work for INSERT/DELETE/WHERE and DELETE/WHERE queries.

Re: Initial Bindings in Update

2013-08-20 Thread Stephen Allen
I've created a patch and attached to JENA-516, which adds back initial binding support for update queries. It will only work for INSERT/DELETE/WHERE and DELETE/WHERE queries. Please take a look at it, and test it. If it looks good, I can check it in. -Stephen On Wed, Aug 14, 2013 at 7:52 AM,

Re: Initial Bindings in Update

2013-08-14 Thread Andy Seaborne
List readers : It would be good to hear from organisations that plug in and provide their own query engines). Hi Stephen, On 14/08/13 01:19, Stephen Allen wrote: I don't believe there is anything necessarily holding back the addition an initial binding to the existing UpdateEngine implementat

Re: Initial Bindings in Update

2013-08-13 Thread Stephen Allen
I don't believe there is anything necessarily holding back the addition an initial binding to the existing UpdateEngine implementations. It could be carried out similarly to QueryEngineBase and then activate only for DELETE/INSERT/WHERE and DELETE WHERE query operations. However, I think the whol

Re: Initial Bindings in Update

2013-08-12 Thread Holger Knublauch
Hi Andy, this is in response to the parallel thread. I honestly wasn't aware that there remain open issues with UPDATE and thought that the best solution was to bring back initial bindings. Your email seems to state that INSERT DATA { ?param1 foaf:name ?param2 } is problematic because it's n

Initial Bindings in Update

2013-08-09 Thread Andy Seaborne
On 08/08/13 00:02, Rob Vesse wrote: On a related topic I looked at Holger's question around injecting BNodes into SPARQL updates via ParameterizedSparqlString and it doesn't work in the scenario he describes (an INSERT WHERE) if the variable is used both in the INSERT template and WHERE since th