- From: Andy Seaborne <andy.seaborne@talis.com>
- Date: Tue, 01 Dec 2009 19:50:00 +0000
- To: Paul Gearon <gearon@ieee.org>, SPARQL Working Group <public-rdf-dawg@w3.org>
On 01/12/2009 17:23, Paul Gearon wrote: > On Tue, Dec 1, 2009 at 8:58 AM, Andy Seaborne<andy.seaborne@talis.com> wrote: >> >> >> On 01/12/2009 02:05, Paul Gearon wrote: >>> >>> Hi Everyone, >> >> ... >> >> Overall: >> >> Are there exampe cases where WITH/INTO/FROM is better than GRAPH? >> (i.e. am I missing something?) > > The idea of WITH (or USING was the other suggestion) was to provide a > default for anything that doesn't mention a graph. This became more > useful when multiple INSERT/DELETE was proposed. > > INTO/FROM defines the graph being modified. If these are left out, > then revert to WITH. > > The pattern in WHERE is applied to the graph from WITH. This can be > overridden with GRAPH statements in the pattern. 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 } } I am unsure as to which is best at the moment. I was hoping for concrete examples (see telecon) to try to understand which is best. Andy
Received on Tuesday, 1 December 2009 19:50:45 UTC