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