Question: What is the relationship between Southampton and Hampshire, which shares a border with Wiltshire?
Choices: contains administrative territorial entity
basic form of government
quotes work
performer
located in the administrative territorial entity
donated by
board member
parent organization
found
place of publication
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Southampton" . ?e_2 <pred:name> "Hampshire" . ?e_3 <shares_border_with> ?e_2 . ?e_3 <pred:name> "Wiltshire" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Southampton
function: Find
inputs: Wiltshire
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: Hampshire
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: located in the administrative territorial entity