Question: How is Southamption related to Hampshire that shares a border with West Sussex?
Choices: collection
language of work or name
product or material produced
soundtrack album
located in the administrative territorial entity
student of
sex or gender
organisation directed from the office or person
has quality
occupation
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> "West Sussex" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Southampton
function: Find
inputs: West Sussex
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