Re: [Virtuoso-users] Sparql http update request with multiple update statements

2014-04-08 Thread Kingsley Idehen
On 4/8/14 3:48 AM, Eugen F wrote: Hi, This would work if all operations are in same graph since all operations after "with <:graph>" are done in that graph, but if if i want to do one transaction over multiple graphs then using multiple "with" keywords results in an error and I don't think it

Re: [Virtuoso-users] Sparql http update request with multiple update statements

2014-04-08 Thread Eugen F
Hi, This would work if all operations are in same graph since all operations after "with <:graph>" are done in that graph, but if if i want to do one transaction over multiple graphs then using multiple "with" keywords results in an error and I don't think it should be the case. Of course this

Re: [Virtuoso-users] Sparql http update request with multiple update statements

2014-04-04 Thread Kingsley Idehen
On 4/4/14 1:59 PM, Kingsley Idehen wrote: On 4/4/14 2:52 AM, Eugen F wrote: PREFIX foaf: WITH DELETE { ?person foaf:givenName 'Bill' } INSERT { ?person foaf:givenName 'William' } WHERE { ?person foaf:givenName 'Bill' } PREFIX foaf:<

Re: [Virtuoso-users] Sparql http update request with multiple update statements

2014-04-04 Thread Kingsley Idehen
On 4/4/14 2:52 AM, Eugen F wrote: PREFIX foaf: WITH DELETE { ?person foaf:givenName 'Bill' } INSERT { ?person foaf:givenName 'William' } WHERE { ?person foaf:givenName 'Bill' } PREFIX foaf: WITH GRAP

Re: [Virtuoso-users] Sparql http update request with multiple update statements

2014-04-03 Thread Eugen F
Hi, ## following omission of ";" separator between the INSERT and DELETE . WITH DELETE { ?person  'Bill' } ; INSERT { ?person  'William' } WHERE   {      ?person  'Bill'   } ; I'm no

Re: [Virtuoso-users] Sparql http update request with multiple update statements

2014-04-03 Thread Kingsley Idehen
On 4/3/14 10:23 AM, Eugen F wrote: Hi Hugh, I have write permissions; now that you pointed to those docs I think it's a bug. Consider a query from virtuoso docs duplicated: WITH DELETE { ?person 'Bill' } INSERT { ?person

Re: [Virtuoso-users] Sparql http update request with multiple update statements

2014-04-03 Thread Eugen F
Hi Hugh, I have write permissions; now that you pointed to those docs I think it's a bug. Consider a query from virtuoso docs duplicated: WITH DELETE { ?person 'Bill' } INSERT { ?person 'William' } WHERE   {      ?perso

Re: [Virtuoso-users] Sparql http update request with multiple update statements

2014-04-03 Thread Hugh Williams
Hi Eugene, You can perform multiple insert/delete commands against Virtuoso as detailed at: http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtTipsAndTricksGuideSPARQLSingleMultipleExecution Although note you have to execute against an endpoint with read/write access, which

[Virtuoso-users] Sparql http update request with multiple update statements

2014-04-03 Thread Eugen F
Hi, Is it possible to make a http request, to a "/sparql" endpoint, that has multiple insert/delete commands that are executed in a transaction? I tried on virtuoso 7 and I get an error (but works if commands are in separate calls). I found an older discussion here but not sure how it applies. I