What is {hometown} of {Kevin Martin}, that has {next to} is {Beaumont} ?
Which is the hometown of Kevin Martin, that's following to Beaumont?
Which is the hometown of Kevin Martin, that is next to Beaumont?
SELECT ?k WHERE { resource:Kevin_Martin property:residence ?k . ?k property:shares_border_with resource:Beaumont }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q511414> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P551>. ?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/Q253903> . }
SELECT ?answer WHERE { wd:Q511414 wdt:P551 ?answer . ?answer wdt:P47 wd:Q253903}
Edmonton