Question: Is Ottawa or Baku higher in elevation?
Choices: Sarajevo
Doha
New Delhi
Riga
Mexico City
Tallinn
Lausanne
Manila
Ottawa
Moscow
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ottawa" .  } 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: Ottawa
function: Find
inputs: Baku
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
Answer: Ottawa