Question: Tell me the one with a smaller area, Yamhill County or Columbia County (which is named after Columbia River)
Choices:
Linn County
Jackson County
Columbia County
Tillamook County
Clackamas County
Lake County
Washington County
Lane County
Douglas County
Yamhill County
Program:
function: Find
inputs: Yamhill 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> "Yamhill 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