Question: Which has higher elevation above sea level, New Westminster or Thiruvananthapuram?
Choices:
Kingston
Thiruvananthapuram
Cork
Abidjan
Chihuahua
Santo Domingo
Kilkenny
Bergen
New Westminster
Trieste
Answer: New Westminster
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Westminster" .  } 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: New Westminster
function: Find
inputs: Thiruvananthapuram
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater