What is {location of birth} of {José María Aznar}, that has {bordered by} is {Las Rozas de Madrid} ?
What is the area of birth of Jose Maria Aznar which too bordered by Las Rozas de Madrid?
What is the location of birth of Jose Maria Aznar which also bordered by Las Rozas de Madrid?
SELECT ?k WHERE { ?k property:shares_border_with resource:Las_Rozas_de_Madrid . resource:José_María_Aznar property:place_of_birth ?k }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q55637> . ?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/Q592747> . }
SELECT ?answer WHERE { wd:Q55637 wdt:P19 ?answer . ?answer wdt:P47 wd:Q592747}
Madrid