Question: Does Fayette County, founded on 1783-09-26, or Bucks County occupy a smaller area?
Choices:
Fayette County
Cumberland County
Lancaster County
Warren County
Bucks County
Franklin County
Westmoreland County
York County
Allegheny County
Lehigh County
Program:
function: Find
inputs: Fayette County
function: FilterDate
dependencies: 0
inputs: inception
1783-09-26
=
function: Find
inputs: Bucks County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fayette County" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1783-09-26"^^xsd:date . } UNION { ?e <pred:name> "Bucks County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bucks County