What is the {museum} for {place of burial} of {Hadrian}
In which gallery is Hadrian buried?
In which museum is Hadrian buried?
SELECT DISTINCT ?w WHERE { resource:Hadrian property:place_of_burial ?w . ?w rdf:type ontology:museum }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1427> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P119> . ?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/Q33506> } 
 select distinct ?obj where { wd:Q1427 wdt:P119 ?obj . ?obj wdt:P31 wd:Q33506 } 
Castel Sant'Angelo