What is {born at} of {Sofonisba Anguissola}, that has {borders} is {Getafe} ?
Who is born at Sofonisba Anguissola whose borders are Getafe?
Who is born at Sofonisba Anguissola whose borders are Getafe?
SELECT ?q WHERE { ?q property:shares_border_with resource:Getafe . resource:Sofonisba_Anguissola property:place_of_birth ?q }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q236038> . ?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/P47> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q8802> . }
SELECT ?answer WHERE { wd:Q236038 wdt:P19 ?answer . ?answer wdt:P47 wd:Q8802}