Question: Which area is smaller, Lancaster County (the one that contains Franklin & Marshall College) or Delaware County (the one whose population is 558979)?
Choices:
Westmoreland County
Delaware County
Cumberland County
Lehigh County
Fayette County
Bucks County
York County
Allegheny County
Franklin County
Lancaster County
Program:
function: Find
inputs: Franklin & Marshall College
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Lancaster County
function: And
dependencies: 1
2
function: Find
inputs: Delaware County
function: FilterNum
dependencies: 4
inputs: population
558979
=
function: SelectBetween
dependencies: 3
5
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lancaster County" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Franklin & Marshall College" . } UNION { ?e <pred:name> "Delaware County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "558979"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Delaware County