DESCRIBE with GRAPH

Hi all,

I've got a questions about the interaction of DESCRIBE with GRAPH.  

Given this setup:

# Default graph (stored at http://example.org/dft.ttl)
@prefix dc: <http://purl.org/dc/elements/1.1/> .
<http://example.org/bob>    dc:title  "Bob Hacker" .
<http://example.org/alice>  dc:title  "Alice Hacker" .

# Named graph: http://example.org/bob
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
<http://example.org/bob> foaf:name "Bob" .
<http://example.org/bob> foaf:mbox <mailto:bob@oldcorp.example.org> .

# Named graph: http://example.org/alice
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
<http://example.org/alice> foaf:name "Alice" .
<http://example.org/alice> foaf:mbox <mailto:alice@work.example.org> .
<http://example.org/bob> foaf:name "Bobby" .

PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX dc: <http://purl.org/dc/elements/1.1/>

DESCRIBE ?s
FROM <http://example.org/dft.ttl>
FROM NAMED <http://example.org/alice>
FROM NAMED <http://example.org/bob>
WHERE
{
   ?s ?p ?o .
   GRAPH ?g { ?s foaf:mbox ?mbox }
}


Would you expect that the description would draw from any graph that had
contributed to the result (including the default graph)? e.g. would the
description of <http://example.org/bob> be:

<http://example.org/bob>  dc:title  "Bob Hacker";
	foaf:name "Bob";
	foaf:mbox <mailto:bob@oldcorp.example.org>.

or: 

<http://example.org/bob>  dc:title  "Bob Hacker";
	foaf:name "Bob", "Bobby";
	foaf:mbox <mailto:bob@oldcorp.example.org>.

or:

<http://example.org/bob>  dc:title  "Bob Hacker".

or...

I realized that DESCRIBE is somewhat loosely defined, but wondering what
other implementations have done in this situation. Any guidance
appreciated....

Thanks,

Geoff

Received on Sunday, 20 May 2007 21:33:31 UTC