What is {place of work} of {John Walter}, that has {border} is {Hertfordshire} ?
Where in Hertfordshire did John Walter work?
Where in Hertfordshire did John Walter work?
SELECT ?r WHERE { ?r property:shares_border_with resource:Hertfordshire . resource:John_Walter property:work_location ?r }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1702099> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P937>. ?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/Q3410> . }
SELECT ?answer WHERE { wd:Q1702099 wdt:P937 ?answer . ?answer wdt:P47 wd:Q3410}
Greater London