Question: Which has less area, Sauk County or Monroe County whose population is 45123?
Choices:
Jefferson County
Jackson County
Monroe County
La Crosse County
Washington County
Wood County
Fond du Lac County
Columbia County
Polk County
Sauk County
Program:
function: Find
inputs: Sauk County
function: Find
inputs: Monroe County
function: FilterNum
dependencies: 1
inputs: population
45123
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sauk County" . } UNION { ?e <pred:name> "Monroe County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "45123"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sauk County