Re: Review of "SPARQL 1.1 Update"

Fri, Jan 8, 2010 at 11:04 AM, Steve Harris <steve.harris@garlik.com> wrote:
<snip/>
> Well, I'd have thought the common case was a single operation in a request,
> so:
>
> WITH <uri>
> DELETE { ?x :p ?v }
> INSERT { ?x :q 234 }
> WHERE { ?x :q 123 }
>
> That mean less characters are used on average, if you care about that sort
> of thing. And if you want two operations:
>
> WITH <uri>
> DELETE { ?x :p ?v }
> ;
> INSERT { ?x :q 234 }
> WHERE { ?x :q 123 }
>
> That seems visually like two statements to me. Some SQL systems use ; to
> separate statements too, and it's familiar to programmers of C-derived
> languages.
>
> - Steve

Makes sense. So do we tack a [ ';' ] to the end of the expression?

Paul

Received on Friday, 8 January 2010 16:17:15 UTC