Question: How is Warren County, which borders Bucks County, related to Monroe County, which has a population with 166397?
Choices:
programming language
father
domain of saint or deity
film regional debut venue
seed team
color
foundational text
license
military conflicts
shares border with
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Warren County" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Bucks County" . ?e_2 <pred:name> "Monroe County" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "166397"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Bucks County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Warren County
function: And
dependencies: 1
2
function: Find
inputs: Monroe County
function: FilterNum
dependencies: 4
inputs: population
166397
=
function: QueryRelation
dependencies: 3
5