Question: What is the link between Hancock County (that shares a border with Beaver County) and Beaver County?
Choices:
producer
organizer
shares border with
eye color
allegiance
academic degree
place of birth
set in period
natural product of taxon
destination point
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hancock County" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Beaver County" . ?e_2 <pred:name> "Beaver County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Beaver County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Hancock County
function: And
dependencies: 1
2
function: Find
inputs: Beaver County
function: QueryRelation
dependencies: 3
4