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