Question: Which has less area, Delaware County (whose area is 1025 square kilometres) or Monroe County (whose population is 144705)?
Choices:
Hancock County
Madison County
Johnson County
Monroe County
Lake County
Franklin County
Howard County
Allen County
Wayne County
Delaware County
Program:
function: Find
inputs: Delaware County
function: FilterNum
dependencies: 0
inputs: area
1025 square kilometre
=
function: Find
inputs: Monroe County
function: FilterNum
dependencies: 2
inputs: population
144705
=
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Delaware County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "1025"^^xsd:double . } UNION { ?e <pred:name> "Monroe County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "144705"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Delaware County