Question: Does Cumberland County (whose population is 239164) or Greene County (whose population is 38088) have less land area?
Choices:
Warren County
Cumberland County
Fayette County
York County
Erie County
Franklin County
Allegheny County
Lehigh County
Greene County
Westmoreland County
Program:
function: Find
inputs: Cumberland County
function: FilterNum
dependencies: 0
inputs: population
239164
=
function: Find
inputs: Greene County
function: FilterNum
dependencies: 2
inputs: population
38088
=
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cumberland County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "239164"^^xsd:double . } UNION { ?e <pred:name> "Greene County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "38088"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Cumberland County