Question: Which county has less area, Marion County which has a population of 321397, or Deschutes County?
Choices:
Clackamas County
Yamhill County
Lake County
Deschutes County
Lane County
Marion County
Washington County
Linn County
Tillamook County
Douglas County
Program:
function: Find
inputs: Deschutes County
function: Find
inputs: Marion County
function: FilterNum
dependencies: 1
inputs: population
321397
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Deschutes County" . } UNION { ?e <pred:name> "Marion County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "321397"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Marion County