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