What is {location born} of {Lester B. Pearson}, that has {title of head of government} is {Mayor of Toronto} ?
What is the area born of Lester B. Pearson with the title of head of government being the Mayor of Toronto?
What is the location born of Lester B. Pearson with the title of head of government being the Mayor of Toronto?
SELECT ?d WHERE { ?d property:office_held_by_head_of_government resource:Mayor_of_Toronto . resource:Lester_B._Pearson property:place_of_birth ?d }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q128604> . ?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/P1313> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q14927262> . }
SELECT ?answer WHERE { wd:Q128604 wdt:P19 ?answer . ?answer wdt:P1313 wd:Q14927262}
Toronto