What is {border} of {place of interment} of {Thomas Gray} ?
Where is the put of Thomas Gray located?
Where is the place of Thomas Gray located?
SELECT ?v WHERE { resource:Thomas_Gray property:place_of_burial ?u . ?u property:shares_border_with ?v }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q315516> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P119>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?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> ?answer . }
SELECT ?answer WHERE { wd:Q315516 wdt:P119 ?X . ?X wdt:P47 ?answer}
Hertfordshire Northamptonshire Bedfordshire Oxfordshire Berkshire Greater London