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