Question: Which one has a greater elevation above sea level, Bangalore or Riyadh?
Choices:
Riga
Doha
Lausanne
Sarajevo
Bangalore
Manila
Mexico City
New Delhi
Moscow
Riyadh
Answer: Bangalore
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bangalore" .  } UNION { ?e <pred:name> "Riyadh" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bangalore
function: Find
inputs: Riyadh
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater