Question: Does Northampton County (whose population is 299371) or Delaware County (that shares a border with Chester County) have less land area?
Choices: Lehigh County
Westmoreland County
Allegheny County
York County
Bucks County
Cumberland County
Fayette County
Northampton County
Franklin County
Delaware County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Northampton County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "299371"^^xsd:double . } UNION { ?e <pred:name> "Delaware County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Chester County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Northampton County
function: FilterNum
dependencies: 0
inputs: population
299371
=
function: Find
inputs: Chester County
function: Relate
dependencies: 2
inputs: shares border with
forward
function: Find
inputs: Delaware County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less
Answer: Delaware County