Question: Does Boulogne-Billancourt or Saint Petersburg have greater elevation above sea level?
Choices:
Dnipro
Boulogne-Billancourt
Aachen
Halle (Saale)
Stuttgart
Lyon
Utrecht
Saint Petersburg
Bordeaux
Wuppertal
Program:
function: Find
inputs: Boulogne-Billancourt
function: Find
inputs: Saint Petersburg
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Boulogne-Billancourt" .  } UNION { ?e <pred:name> "Saint Petersburg" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Boulogne-Billancourt