What is the {national museum} for {archives at} of {James Joyce}
Which gallery houses James Joyce's archives?
Which museum houses James Joyce's archives?
SELECT DISTINCT ?j WHERE { resource:James_Joyce property:archives_at ?j . ?j rdf:type ontology:national_museum }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q6882> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P485> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q17431399> } 
 select distinct ?obj where { wd:Q6882 wdt:P485 ?obj . ?obj wdt:P31 wd:Q17431399 } 
National Library of Ireland