Re: Updates

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 UTC