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