Question: What county of Oregon shares a border with the Oregon county that abuts Washoe County?
Choices:
Linn County
Washoe County
Douglas County
Columbia County
Lane County
Deschutes County
Multnomah County
Yamhill County
Tillamook County
Lake County
Answer: Deschutes County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Oregon" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "county of Oregon" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> "Washoe County" .   }
Program:
function: Find
inputs: Washoe County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: county of Oregon
function: Relate
dependencies: 2
inputs: shares border with
forward
function: FilterConcept
dependencies: 3
inputs: county of Oregon
function: What
dependencies: 4