What is {location of birth} of {Sixto Durán Ballén}, that has {diplomatic relation} is {Libya} ?
In what nation, which has political relations with Libya, was Sixto Durán Ballén born?
In what country, which has diplomatic relations with Libya, was Sixto Durán Ballén born?
SELECT ?d WHERE { resource:Sixto_Durán-Ballén property:place_of_birth ?d . ?d property:diplomatic_relation resource:Libya }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q177182> . ?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/P530> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1016> . }
SELECT ?answer WHERE { wd:Q177182 wdt:P19 ?answer . ?answer wdt:P530 wd:Q1016}
Egypt