Question: Is there more area in Douglas County with a population of 107685 or in Klamath County?
Choices:
Marion County
Lane County
Yamhill County
Linn County
Columbia County
Douglas County
Lake County
Klamath County
Clackamas County
Tillamook County
Program:
function: Find
inputs: Douglas County
function: FilterNum
dependencies: 0
inputs: population
107685
=
function: Find
inputs: Klamath County
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Douglas County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "107685"^^xsd:double . } UNION { ?e <pred:name> "Klamath County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Klamath County