Question: Which area has a lower elevation (above sea level), Aleppo or Vicenza?
Choices:
Trieste
Dundee
Cork
Kingston
Kilkenny
Aleppo
Vicenza
Bergen
Santo Domingo
Chihuahua
Program:
function: Find
inputs: Aleppo
function: Find
inputs: Vicenza
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aleppo" .  } UNION { ?e <pred:name> "Vicenza" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Vicenza