W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2009

Re: Updates

From: Paul Gearon <gearon@ieee.org>
Date: Tue, 1 Dec 2009 14:55:18 -0500
Message-ID: <a25ac1f0912011155v66639884h7d833a2b51b07986@mail.gmail.com>
To: Andy Seaborne <andy.seaborne@talis.com>
Cc: SPARQL Working Group <public-rdf-dawg@w3.org>
On Tue, Dec 1, 2009 at 2:50 PM, Andy Seaborne <andy.seaborne@talis.com> wrote:
<snip/>

> I was wondering what happened to GRAPH in the template.
>
> INSERT { GRAPH <g1> { ?s ?p 45 } }
> WHERE { ?s ?p ?o . FILTER (?o < 0) }
>
> DELETE { GRAPH ?g { <s> ?p ?o } }

My understanding was that these were equivalent to:

  INSERT INTO <g1> { ?s ?p 45 }
  WHERE { ?s ?p ?o . FILTER (?o < 0) }

  DELETE FROM ?g { <s> ?p ?o }

Of course, there still seems to be the discussion of whether to use:
  INSERT INTO <uri> { pattern }
  DELETE FROM <uri> { pattern }
versus
  INSERT { GRAPH <uri> { pattern } }
  DELETE { GRAPH <uri> { pattern } }

Paul
Received on Tuesday, 1 December 2009 19:55:57 GMT

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