SPARQL Update / editorial

Editorial: so it does not get lost:

These are all the same operation, in different guises:

3.1.3 DELETE/INSERT

[ WITH <uri> ]
DELETE { modify_template [ modify_template ]* }
INSERT { modify_template [ modify_template ]* }
[ USING [NAMED] <uri> ]*
[ WHERE ] GroupGraphPattern

The word WHERE is optional, GroupGraphPattern is not.


3.1.5 INSERT
...
[ WITH <uri> ]
INSERT { modify_template [ modify_template ]* }
[ [ USING [NAMED] <uri> ]*
   WHERE GroupGraphPattern ]

The whole WHERE+pattern part is optional.


3.1.4 DELETE

[ WITH <uri> ]
DELETE { modify_template> [ modify_template ]* }
[ USING [NAMED] <uri> ]*
WHERE GroupGraphPattern

WHERE+pattern is mandatory.


The notation is unclear : [] is optional, (so what's []*?)


{ modify_template [ modify_template ]* } should probaly be just 
[modify_template]* because when generated by programs, it's easier to 
allow the null pattern.

 Andy

Received on Tuesday, 11 January 2011 14:48:56 UTC