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