Question: Is the smaller area covered by Hancock County, population 30662, or Clark County, with FIPS 6-4 (US counties) code 32003?
Choices:
Lee County
Hancock County
Cass County
Orange County
San Juan County
Delaware County
African Union
Greene County
Clark County
Washoe County
Program:
function: Find
inputs: Hancock County
function: FilterNum
dependencies: 0
inputs: population
30662
=
function: Find
inputs: Clark County
function: FilterStr
dependencies: 2
inputs: FIPS 6-4 (US counties)
32003
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hancock County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "30662"^^xsd:double . } UNION { ?e <pred:name> "Clark County" . ?e <FIPS_6-4_(US_counties)> ?pv_2 . ?pv_2 <pred:value> "32003" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hancock County