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