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