Question: What is the relationship between Royal Tunbridge Wells to Kent (the one that shares border with Greater London)?
Choices: permanent resident of
rector
filming location
month of the year
place of publication
voice actor
located on terrain feature
studies
material used
located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Royal Tunbridge Wells" . ?e_2 <pred:name> "Kent" . ?e_3 <shares_border_with> ?e_2 . ?e_3 <pred:name> "Greater London" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Royal Tunbridge Wells
function: Find
inputs: Greater London
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: Kent
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: located in the administrative territorial entity