Question: Is the smaller area occupied by Monroe County, population 137974, or Hancock County (FIPS 6-4 (US counties)18059)?
Choices:
Madison County
Marion County
Delaware County
Lake County
Hancock County
Johnson County
Franklin County
Howard County
Allen County
Wayne County
Program:
function: Find
inputs: Monroe County
function: FilterNum
dependencies: 0
inputs: population
137974
=
function: Find
inputs: Hancock County
function: FilterStr
dependencies: 2
inputs: FIPS 6-4 (US counties)
18059
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> "137974"^^xsd:double . } UNION { ?e <pred:name> "Hancock County" . ?e <FIPS_6-4_(US_counties)> ?pv_2 . ?pv_2 <pred:value> "18059" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hancock County