What is {adjacent to} of {Murcia}, that has {inhabitants} is {20402.0} ?
"What country is adjacent to Murcia that has 20402.0 inhabitants?"
SELECT ?answer WHERE { wd:Q12225 wdt:P47 ?answer . ?answer wdt:P1082 ?x FILTER(contains(?x,'20402.0'))}
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q12225> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P47>. ?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/P1082> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <20402.0> . }
"What united states of america is adjoining to Murcia that has 20402.0 inhabitants?"