What is {birthplace} of {Go-Daigo}, that has {mayor} is {Daisaku Kadokawa} ?
What is Go - Daigo's birthplace, Daisaku Kadokawa's mayor?
What is the birthplace of Go-Daigo, whose mayor is Daisaku Kadokawa?
SELECT ?v WHERE { ?v property:head_of_government resource:Daisaku_Kadokawa . resource:Go-Daigo property:place_of_birth ?v }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q313942> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P19>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P6> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q917498> . }
SELECT ?answer WHERE { wd:Q313942 wdt:P19 ?answer . ?answer wdt:P6 wd:Q917498}
Kyoto