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