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