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