Question: What is the connection between York County (the one that shares border with Oxford County) to Rockingham County (the one whose population is 295325)?
Choices:
manufacturer
narrative location
enclave within
opposite of
godparent
shares border with
set in period
significant person
office contested
political ideology
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "York County" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Oxford County" . ?e_2 <pred:name> "Rockingham County" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "295325"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Oxford County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: York County
function: And
dependencies: 1
2
function: Find
inputs: Rockingham County
function: FilterNum
dependencies: 4
inputs: population
295325
=
function: QueryRelation
dependencies: 3
5