Question: Which has less area, Monroe County whose population is 33493 or Peoria County?
Choices:
DeKalb County
Monroe County
Sangamon County
Clinton County
DuPage County
Peoria County
Montgomery County
McHenry County
Logan County
Madison County
Program:
function: Find
inputs: Monroe County
function: FilterNum
dependencies: 0
inputs: population
33493
=
function: Find
inputs: Peoria County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Monroe County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "33493"^^xsd:double . } UNION { ?e <pred:name> "Peoria County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Monroe County