What is the {house} for {place of death} of {Mahatma Gandhi}
[]
Which house did Mahatma Gandhi die in?
SELECT DISTINCT ?u WHERE { resource:Mahatma_Gandhi property:place_of_death ?u . ?u rdf:type ontology:house }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1001> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P20> . ?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/Q3947> } 
 select distinct ?obj where { wd:Q1001 wdt:P20 ?obj . ?obj wdt:P31 wd:Q3947 } 
Gandhi Smriti