Question: What is the relationship between Erie County (the one that shares border with Cattaraugus County) to Chautauqua County?
Choices:
destination point
practiced by
subsidiary
student of
head of state
shares border with
territory claimed by
doctoral student
dedicated to
parent club
Program:
function: Find
inputs: Cattaraugus County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Erie County
function: And
dependencies: 1
2
function: Find
inputs: Chautauqua County
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Erie County" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Cattaraugus County" . ?e_2 <pred:name> "Chautauqua County" . ?e_1 ?p ?e_2 .  }
Answer: shares border with