Question: Orange County that borders Westchester County is related in what way to Dutchess County?
Choices:
successful candidate
foundational text
shares border with
participant
talk show guest
ancestral home
honorific prefix
soundtrack album
continent
maintained by
Program:
function: Find
inputs: Westchester County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Orange County
function: And
dependencies: 1
2
function: Find
inputs: Dutchess County
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Orange County" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Westchester County" . ?e_2 <pred:name> "Dutchess County" . ?e_1 ?p ?e_2 .  }
Answer: shares border with