Question: What is the connection between Chesterfield to Derbyshire (the one that shares border with Nottinghamshire)?
Choices: located in the administrative territorial entity
allegiance
medical treatment
has part
diaspora
officeholder
set in period
language used
doctoral student
exported to
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Chesterfield" . ?e_2 <pred:name> "Derbyshire" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Nottinghamshire" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Chesterfield
function: Find
inputs: Nottinghamshire
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Derbyshire
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: located in the administrative territorial entity