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