Question: What is the capital of Tokugawa Shogunate
Paraphrase: What's Tokugawa Shogunate's capital?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P1376 wd:Q205662 . ?sbj wdt:P31 wd:Q486972 } 
Answer: Edo