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