What is the {Japanese castle} for {place of death} of {Tokugawa Ieyasu}
Tokygawa Ieyasu died in which castle in Japan?
At which Japanese castle did Tokugawa Ieyasu die?
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Japanese_castle . resource:Tokugawa_Ieyasu property:place_of_death ?g }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q171977> . ?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/Q92026> } 
 select distinct ?obj where { wd:Q171977 wdt:P20 ?obj . ?obj wdt:P31 wd:Q92026 } 
Sunpu Castle