Re: Semantics of SPARQL Update Delete

2023-11-10 Thread Marco Neumann
chatGPT has made an interesting and useful attempt for a change [image: image.png] On Fri, Nov 10, 2023 at 9:03 PM Andy Seaborne wrote: > > > On 10/11/2023 20:35, Marco Neumann wrote: > > On Fri, Nov 10, 2023 at 5:51 PM Andy Seaborne wrote: > > > >> > >> > >> On 10/11/2023 12:33, Marco

Re: Semantics of SPARQL Update Delete

2023-11-10 Thread Marco Neumann
ok I see, yes that (*) was just pseudocode. Thanks Andy. On Fri, Nov 10, 2023 at 9:00 PM Andy Seaborne wrote: > > > On 10/11/2023 18:19, Marco Neumann wrote: > > On Fri, Nov 10, 2023 at 5:51 PM Andy Seaborne wrote: > > > >> > >> > >> On 10/11/2023 12:33, Marco Neumann wrote: > >>> Should

Re: Semantics of SPARQL Update Delete

2023-11-10 Thread Andy Seaborne
On 10/11/2023 20:35, Marco Neumann wrote: On Fri, Nov 10, 2023 at 5:51 PM Andy Seaborne wrote: On 10/11/2023 12:33, Marco Neumann wrote: Should DELETE {URI URI * } not update all matching graph patterns? No. (and that's bad syntax) I had a case where only DELETE {URI URI NODE } did

Re: Semantics of SPARQL Update Delete

2023-11-10 Thread Andy Seaborne
On 10/11/2023 18:19, Marco Neumann wrote: On Fri, Nov 10, 2023 at 5:51 PM Andy Seaborne wrote: On 10/11/2023 12:33, Marco Neumann wrote: Should DELETE {URI URI * } not update all matching graph patterns? No. (and that's bad syntax) DELETE { ?x } is bad syntax? "*" is bad syntax.

Re: Semantics of SPARQL Update Delete

2023-11-10 Thread Marco Neumann
On Fri, Nov 10, 2023 at 5:51 PM Andy Seaborne wrote: > > > On 10/11/2023 12:33, Marco Neumann wrote: > > Should DELETE {URI URI * } not update all matching graph patterns? > > No. > (and that's bad syntax) > > > I had a case where only DELETE {URI URI NODE } did execute the update in > > the

Re: Semantics of SPARQL Update Delete

2023-11-10 Thread Marco Neumann
On Fri, Nov 10, 2023 at 5:51 PM Andy Seaborne wrote: > > > On 10/11/2023 12:33, Marco Neumann wrote: > > Should DELETE {URI URI * } not update all matching graph patterns? > > No. > (and that's bad syntax) > DELETE { ?x } is bad syntax? > > I had a case where only DELETE {URI URI NODE } did

Re: Semantics of SPARQL Update Delete

2023-11-10 Thread Andy Seaborne
On 10/11/2023 12:33, Marco Neumann wrote: Should DELETE {URI URI * } not update all matching graph patterns? No. (and that's bad syntax) I had a case where only DELETE {URI URI NODE } did execute the update in the dataset/graph/query fuseki UI. To be precise it is a DELETE INSERT

Semantics of SPARQL Update Delete

2023-11-10 Thread Marco Neumann
Should DELETE {URI URI * } not update all matching graph patterns? I had a case where only DELETE {URI URI NODE } did execute the update in the dataset/graph/query fuseki UI. To be precise it is a DELETE INSERT combination with an empty WHERE clause. DELETE {pattern} INSERT{pattern} WHERE{ }