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