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