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