Question: Which has greater elevation above sea level, Espoo or Munich whose population is 1429584?
Choices:
Espoo
Munich
Abidjan
Bergen
Kilkenny
Santo Domingo
Chihuahua
Cork
Dundee
Trieste
Program:
function: Find
inputs: Espoo
function: Find
inputs: Munich
function: FilterNum
dependencies: 1
inputs: population
1429584
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Espoo" . } UNION { ?e <pred:name> "Munich" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1429584"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Munich