Question: Which one is higher above sea level, Beijing or Rosario ?
Choices: Abidjan
Beijing
Kingston
Chihuahua
Santo Domingo
Kilkenny
Cork
Bergen
Rosario
Trieste
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rosario" .  } UNION { ?e <pred:name> "Beijing" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Rosario
function: Find
inputs: Beijing
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
Answer: Beijing