Question: Which has more area, Yamhill County or Columbia County whose population is 49351?
Choices:
Lane County
Lake County
Tillamook County
Clackamas County
Marion County
Jackson County
Yamhill County
Douglas County
Linn County
Washington County
Program:
function: Find
inputs: Yamhill County
function: Find
inputs: Columbia County
function: FilterNum
dependencies: 1
inputs: population
49351
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Yamhill County" . } UNION { ?e <pred:name> "Columbia County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "49351"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Yamhill County