Question: Which area is smaller in size, Columbia County (the one whose population is 67321) or Greene County (the one whose population is 38686)?
Choices:
Lehigh County
Fayette County
Columbia County
Franklin County
Westmoreland County
Warren County
Cumberland County
Greene County
Bucks County
York County
Program:
function: Find
inputs: Columbia County
function: FilterNum
dependencies: 0
inputs: population
67321
=
function: Find
inputs: Greene County
function: FilterNum
dependencies: 2
inputs: population
38686
=
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Columbia County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "67321"^^xsd:double . } UNION { ?e <pred:name> "Greene County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "38686"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Columbia County