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 occasionally an issue with replace where inserting new data may
fail after old data has been deleted. What is the recommended way to do
this kind of multipart SPARQL with Fuseki (not java)? First option comes
to mind is to test if SPARQL insert is correct and WOULD be executed. Is
this possible?