What is the {human settlement} for {capital of} of {Tokugawa shogunate}
What's Tokugawa Shogunate's capital?
What is the capital of Tokugawa Shogunate
SELECT DISTINCT ?y WHERE { ?y property:capital_of resource:Tokugawa_Shogunate . ?y rdf:type ontology:human_settlement }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1376> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q205662> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q486972> } 
 select distinct ?sbj where { ?sbj wdt:P1376 wd:Q205662 . ?sbj wdt:P31 wd:Q486972 } 
Edo