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