What is {birth location} of {Jerry O'Connell}, that has {mayor} is {John Lindsay} ?
What is Jerry O'Connel's birth area where John Lindsay is the mayor?
What is Jerry O'Connel's birth location where John Lindsay is the mayor?
SELECT ?t WHERE { ?t property:head_of_government resource:John_Lindsay . resource:Jerry_O'Connell property:place_of_birth ?t }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q378672> . ?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/Q666931> . }
SELECT ?answer WHERE { wd:Q378672 wdt:P19 ?answer . ?answer wdt:P6 wd:Q666931}