Question: Does Prague, population 932659, or Baku have the higher elevation?
Choices: Mexico City
Sarajevo
New Delhi
Riga
Lausanne
Tallinn
Doha
Prague
Moscow
Baku
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Prague" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "932659"^^xsd:double . } UNION { ?e <pred:name> "Baku" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Prague
function: FilterNum
dependencies: 0
inputs: population
932659
=
function: Find
inputs: Baku
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
Answer: Prague