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