Question: Which one's area is smaller, Dauphin County or Union County (the one whose population is 44,947) ?
Choices:
Cumberland County
Dauphin County
Fayette County
York County
Westmoreland County
Union County
Allegheny County
Warren County
Bucks County
Lehigh County
Program:
function: Find
inputs: Dauphin County
function: Find
inputs: Union County
function: FilterNum
dependencies: 1
inputs: population
44947
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dauphin County" . } UNION { ?e <pred:name> "Union County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "44947"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Union County