Question: Which area is larger, Franklin County (the one whose inception time is 1784-01-01) or Armstrong County?
Choices:
Cumberland County
York County
Erie County
Franklin County
Warren County
Fayette County
Allegheny County
Armstrong County
Westmoreland County
Lehigh County
Program:
function: Find
inputs: Franklin County
function: FilterDate
dependencies: 0
inputs: inception
1784-01-01
=
function: Find
inputs: Armstrong County
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Franklin County" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1784-01-01"^^xsd:date . } UNION { ?e <pred:name> "Armstrong County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Franklin County