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