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

Re: Review of "SPARQL 1.1 Update"

From: Paul Gearon <gearon@ieee.org>
Date: Fri, 8 Jan 2010 11:16:42 -0500
Message-ID: <a25ac1f1001080816s3b4d25a6ub2ea953bd05aa8dc@mail.gmail.com>
To: Steve Harris <steve.harris@garlik.com>
Cc: Andy Seaborne <andy.seaborne@talis.com>, SPARQL Working Group <public-rdf-dawg@w3.org>
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 GMT

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