Question: Is there a higher elevation above sea level in Chihuahua (the one whose population is 809232) or Rawalpindi?
Choices: Dundee
Kingston
Cork
Santo Domingo
Rawalpindi
Trieste
Chihuahua
Cairo
Bergen
Kilkenny
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chihuahua" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "809232"^^xsd:double . } UNION { ?e <pred:name> "Rawalpindi" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Chihuahua
function: FilterNum
dependencies: 0
inputs: population
809232
=
function: Find
inputs: Rawalpindi
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
Answer: Chihuahua