Q about 05-algae-graphs

Looking at http://www.w3.org/2005/05/05-algae-graphs/

It says:

"""
SELECT ?o
       FROM NAMED foo:graph1
      WHERE { ?s ?p ?o }

turns into an Algae query:

ask ( ?s ?p ?o {%ATTRIB = foo:graph1} )
select (?o)
"""


Sorry - I don't get it.  The preceeding text says:

"""
if the database merges queries [I think that's meant to be "graphs"] and turn
those into constraints on the fourth column
"""

I expected a constraint on the fourth column:

SELECT ?o
       FROM NAMED foo:graph1
      WHERE { GRAPH foo:graph1 { ?s ?p ?o }  }

which is the same query needed if the named graphs aren't merged.

 Andy

Received on Wednesday, 1 June 2005 16:03:41 UTC