Question: How is Cambridgeshire that borders Hertfordshire related to Northamptonshire?
Choices: superhuman feature or ability
narrative location
shares border with
archives at
work location
organisation directed from the office or person
penalty
culture
mountain range
officially opened by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cambridgeshire" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Hertfordshire" . ?e_2 <pred:name> "Northamptonshire" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Hertfordshire
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Cambridgeshire
function: And
dependencies: 1
2
function: Find
inputs: Northamptonshire
function: QueryRelation
dependencies: 3
4
Answer: shares border with