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