Question: Does Oslo or Vicenza have greater elevation above sea level?
Choices:
Vicenza
Cork
Trieste
Abidjan
Kilkenny
Dundee
Kingston
Oslo
Chihuahua
Santo Domingo
Program:
function: Find
inputs: Oslo
function: Find
inputs: Vicenza
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oslo" .  } UNION { ?e <pred:name> "Vicenza" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Vicenza