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