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