Question: Which area has higher elevation above sea level, Saint Petersburg or Lyon?
Choices:
Stuttgart
Regensburg
Wuppertal
Dnipro
Bordeaux
Fort Smith
Saint Petersburg
Halle (Saale)
Aachen
Lyon
Program:
function: Find
inputs: Saint Petersburg
function: Find
inputs: Lyon
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saint Petersburg" .  } UNION { ?e <pred:name> "Lyon" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lyon