Question: What is the connection between Harlow (the one that shares border with Chelmsford) to United Kingdom?
Choices: founded by
penalty
owned by
professorship
student of
substitute/deputy/replacement of office/officeholder
item operated
drafted by
diplomatic relation
country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harlow" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Chelmsford" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Chelmsford
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Harlow
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
Answer: country