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