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