What is the {capital} for {capital} of {Empire of Japan}
What's Japan's capital?
What is the capital of Japan?
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:capital . resource:Empire_of_Japan property:capital ?c }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q188712> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P36> . ?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/Q5119> } 
 select distinct ?obj where { wd:Q188712 wdt:P36 ?obj . ?obj wdt:P31 wd:Q5119 } 
Tokyo