Question: Which area has higher elevation above sea level, Polk County (the one whose population is 432304) or West Chester
Choices:
West Chester
San Juan County
Cass County
Washoe County
Kent County
Greene County
Polk County
African Union
Orange County
Delaware County
Program:
function: Find
inputs: Polk County
function: FilterNum
dependencies: 0
inputs: population
432304
=
function: Find
inputs: West Chester
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Polk County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "432304"^^xsd:double . } UNION { ?e <pred:name> "West Chester" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Polk County