Question: Which area is smaller, Clark County (the one whose population is 426924) or Grant County?
Choices:
Douglas County
Pierce County
San Juan County
Grant County
Okanogan County
Clark County
King County
Yakima County
Snohomish County
Spokane County
Program:
function: Find
inputs: Clark County
function: FilterNum
dependencies: 0
inputs: population
426924
=
function: Find
inputs: Grant County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Clark County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "426924"^^xsd:double . } UNION { ?e <pred:name> "Grant County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Clark County