Re: Safe delete & insert with Fuseki

2022-03-31 Thread Mikael Pesonen
Only thing I could think of is to try the insert first on some temp graph to see if it succeed. That can be unnecessary heavy though. On 26/03/2022 11.12, Andy Seaborne wrote: If you put all the changes in one update request, they will be done atomically. DELETE { ... } WHERE { ... } ;

Re: Safe delete & insert with Fuseki

2022-03-28 Thread Mikael Pesonen
Queries don't have common enough selection criteria so they have to executed separately. Otherwise that would be nice solution. On Sat, 26 Mar 2022 at 11:12, Andy Seaborne wrote: > > If you put all the changes in one update request, they will be done > atomically. > > DELETE { ... } WHERE { ...

Re: Safe delete & insert with Fuseki

2022-03-26 Thread Andy Seaborne
If you put all the changes in one update request, they will be done atomically. DELETE { ... } WHERE { ... } ; INSERT DATA { ... } Also, the WHERE clause in a DELETE-INSERT-WHERE can be used to "switch off" an operation. Andy On 24/03/2022 13:17, Mikael Pesonen wrote: We have