W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > January to March 2011

Re: SPARQL Update / editorial

From: Alexandre Passant <alexandre.passant@deri.org>
Date: Tue, 11 Jan 2011 14:56:25 +0000
Cc: SPARQL Working Group <public-rdf-dawg@w3.org>
Message-Id: <13E5827E-DEA9-4A9A-8933-F9D30328FF9F@deri.org>
To: Andy Seaborne <andy.seaborne@epimorphics.com>

On 11 Jan 2011, at 14:48, Andy Seaborne wrote:

> Editorial: so it does not get lost:
> 
> These are all the same operation, in different guises:
> 

Do you mean there should be a single grammar for DELETE/INSERT that could accommodate the 3 patterns ? 

> 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 []*?)

0 or more, I guess

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

That's fine with me. Have you fixed that in the grammar ?

Alex.

> 
> 	Andy
> 

--
Dr. Alexandre Passant
Digital Enterprise Research Institute
National University of Ireland, Galway
:me owl:sameAs <http://apassant.net/alex> .
Received on Tuesday, 11 January 2011 14:56:59 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:45 GMT