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