Question: Which has a lesser area, Monroe County (whose population is 22236) or Madison County (whose population is 346892)?
Choices:
Mobile County
Madison County
Dallas County
Washington County
Monroe County
Montgomery County
Jefferson County
Baldwin County
Shelby County
Jackson County
Program:
function: Find
inputs: Monroe County
function: FilterNum
dependencies: 0
inputs: population
22236
=
function: Find
inputs: Madison County
function: FilterNum
dependencies: 2
inputs: population
346892
=
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Monroe County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "22236"^^xsd:double . } UNION { ?e <pred:name> "Madison County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "346892"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Madison County