Question: Which area less less elevation above sea level, Tunis or Lucknow?
Choices:
Lausanne
Doha
Lucknow
Tunis
Mexico City
Riga
New Delhi
Tallinn
Moscow
Sarajevo
Program:
function: Find
inputs: Tunis
function: Find
inputs: Lucknow
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tunis" .  } UNION { ?e <pred:name> "Lucknow" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tunis