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