Question: Does Oxford County or the administrative division of Maine, Somerset County, occupy a larger space?
Choices:
Penobscot County
Kennebec County
Hancock County
Cumberland County
Somerset County
Franklin County
Washington County
York County
Oxford County
Aroostook County
Program:
function: Find
inputs: Oxford County
function: Find
inputs: Maine
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: Find
inputs: Somerset County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oxford County" .  } UNION { ?e <pred:name> "Somerset County" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Maine" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Somerset County