The files here show some example queries based around the picture in the JPEG. For now, the URIs are messed up (localhost is a bad domain name to use for universal identifiers!). But you can get the idea... Dan LOAD SELECT * WHERE { GRAPH ?g { ?s ?p ?o . } } SELECT * WHERE { GRAPH { ?s ?p ?o } } # ask the layerlist which graph is from alice, then ask that about the school homepage claimed by alice: # PREFIX : SELECT ?x WHERE { GRAPH { :made ?byalice . } GRAPH ?byalice { :schoolHomepage ?x . } } Answer: http://lookingglass.example.org/ Who says what about schoolHomepage? SELECT * WHERE { GRAPH ?g { ?s ?o . } } According to the layerlist, who made the pages that tell us a schoolHomepage for Alice? PREFIX : SELECT ?g ?who WHERE { GRAPH { ?who :made ?g . } GRAPH ?g { :schoolHomepage . } } or with names, PREFIX : SELECT ?g ?who ?n WHERE { GRAPH { ?who :made ?g . } GRAPH ?g { :schoolHomepage . } OPTIONAL { ?who :name ?n } Note the names here don't include those from Alice and Bob's files, since they are implied. Let's find out what names there are for the school. First, from its homepage. So let's ask: what URIs are there for the school whose homepage is Alice's schoolhomepage. Starting with the school Alice says she goes to, ask what identifiers and names we find for it. PREFIX : SELECT * WHERE { GRAPH { :schoolHomepage ?x . } GRAPH ?g { ?school :homepage ?x . ?school :name ?n . } }