Question: What is the connection between Delaware County (the one that shares border with Chester County) to Gloucester County?
Choices:
conferred by
hair color
production designer
shares border with
fabrication method
sport
update method
patron saint
ancestral home
has part
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Delaware County" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Chester County" . ?e_2 <pred:name> "Gloucester County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Chester County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Delaware County
function: And
dependencies: 1
2
function: Find
inputs: Gloucester County
function: QueryRelation
dependencies: 3
4