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