Question: What region has less land area, Cook County or Montgomery County (whose area is 1838 square kilometers)?
Choices:
DuPage County
Montgomery County
McLean County
McHenry County
Peoria County
Clinton County
Cook County
Monroe County
Logan County
Madison County
Answer: Montgomery County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cook County" . } UNION { ?e <pred:name> "Montgomery County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "1838"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Cook County
function: Find
inputs: Montgomery County
function: FilterNum
dependencies: 1
inputs: area
1838 square kilometre
=
function: SelectBetween
dependencies: 0
2
inputs: area
less