Question: Which occupies a smaller area: Deschutes County or the Columbia County named after the Columbia River?
Choices:
Lake County
Deschutes County
Tillamook County
Washington County
Columbia County
Douglas County
Clackamas County
Linn County
Marion County
Yamhill County
Program:
function: Find
inputs: Deschutes County
function: Find
inputs: Columbia River
function: Relate
dependencies: 1
inputs: named after
backward
function: Find
inputs: Columbia County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Deschutes County" .  } UNION { ?e <pred:name> "Columbia County" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Columbia River" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Columbia County