Question: Which area is larger, Clinton County (the one whose population is 37786) or St. Clair County (the one that contains East St. Louis)?
Choices: Clinton County
Montgomery County
DuPage County
Monroe County
McLean County
Peoria County
Logan County
DeKalb County
St. Clair County
McHenry County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Clinton County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "37786"^^xsd:double . } UNION { ?e <pred:name> "St. Clair County" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "East St. Louis" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Clinton County
function: FilterNum
dependencies: 0
inputs: population
37786
=
function: Find
inputs: East St. Louis
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
forward
function: Find
inputs: St. Clair County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
greater
Answer: St. Clair County