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