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