Question: Does Aroostook County or Cumberland County, population 281674, cover a smaller area?
Choices:
Oxford County
Penobscot County
Aroostook County
Washington County
Cumberland County
Hancock County
York County
Franklin County
Kennebec County
Somerset County
Program:
function: Find
inputs: Aroostook County
function: Find
inputs: Cumberland County
function: FilterNum
dependencies: 1
inputs: population
281674
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aroostook County" . } UNION { ?e <pred:name> "Cumberland County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "281674"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Cumberland County