W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2007

from & from named

From: Olivier Corby <Olivier.Corby@sophia.inria.fr>
Date: Fri, 15 Jun 2007 17:17:08 +0200
Message-ID: <4672AD74.90102@sophia.inria.fr>
To: public-rdf-dawg@w3.org

I have found a strange side effect of the rdf merge for building the 
default graph as shown in the example below:

select ?person ?topic ?src
from uri1
from uri2
from named uri1
from named uri2
where {
    ?person c:recommends ?doc
    graph ?src { ?doc c:subject ?topic }
}

If the value of ?doc is an uri, it may succeed, but if it is a blank 
node, it always fails because the rdf merge that produces the default 
graph has relabeled the blank nodes.

So depending whether the values of ?doc are uri or blanknodes in the 
target graphs, the query succeeds or fails. From a *user point of view* 
this is incomprehensible.

Olivier
Received on Friday, 15 June 2007 15:20:08 GMT

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