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