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