- From: Carsten Keßler <carsten.kessler@uni-muenster.de>
- Date: Thu, 23 Feb 2012 22:09:03 +0100
- To: David Booth <david@dbooth.org>
- Cc: Michael Brunnbauer <brunni@netestate.de>, public-lod@w3.org, Chad Hendrix <hendrix@un.org>
Hi David,
> select ?s ?p ?o where {
> graph ?g1 { ?g <http://xmlns.com/foaf/0.1/maker>
> <http://www.brunni.de/foaf.rdf#me> }
> graph ?g { ?s :p1 ?o .
> ?s :p2 ?o .}
> }
So we'd have to do (assuming all graph metadata are stored in the same graph):
select ?s ?p ?o where {
graph ?g1 { ?g <http://xmlns.com/foaf/0.1/maker>
<http://www.brunni.de/foaf.rdf#me> .
?g2 <http://xmlns.com/foaf/0.1/maker>
<http://www.brunni.de/foaf.rdf#me> .
}
graph ?g { ?s :p1 ?o .}
graph ?g2 { ?s :p2 ?o .}
}
That's what I was planning for – not nice, but I could live with that.
Or does that query imply ?g != ?g2 ? This would not get us the results
where both triples happen to be in the same named graph, which would
be a problem…
Carsten
Received on Thursday, 23 February 2012 21:09:31 UTC