Question: What is the association between Portsmouth (that shares a boundary with Newport News) and Dunedin?
Choices:
general manager
vehicle normally used
creator
twinned administrative body
given name
notable people with this condition
does not have part
convicted of
geography of topic
culture
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Portsmouth" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Newport News" . ?e_2 <pred:name> "Dunedin" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Newport News
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Portsmouth
function: And
dependencies: 1
2
function: Find
inputs: Dunedin
function: QueryRelation
dependencies: 3
4