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