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