Re: Querying only the default graph from the data store

On Friday, September 7, 2012 at 11:30 AM, Steve Harris wrote:
> 4store and 5store - by default the default graph is the union of the named graphs, but if you do e.g.

This is also how rdflib (2.4's) SPARQL library handles default graphs.  However, there is a 'DAWG' compatibility switch (which is false by default) that will cause it to follow the specification and distinguish the default graph from the other named graphs.  This is only done solely for the sake of compliance, and so I also agree that the whole unnamed/default graph thing is not very useful.
 


> INSERT DATA { <s> <p> <o> }
> 
> then <s> <p> <o> will get written into a "special" named graph.
> 
> There's a flag you can use (in both I think) to get the "special" graph to behave like the unnamed graph.
> 
> - Steve
> 
> PS for the record, I still think the whole unnamed/default graph thing is silly.
> 
--
Chime Ogbuji
Sent with Sparrow (http://www.sparrowmailapp.com)

Received on Friday, 7 September 2012 16:08:02 UTC