Question: Which has less of an elevation above sea level, Tashkent or Lahore?
Choices:
Bergen
Kilkenny
Abidjan
Tashkent
Chihuahua
Trieste
Cork
Dundee
Lahore
Santo Domingo
Program:
function: Find
inputs: Tashkent
function: Find
inputs: Lahore
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tashkent" .  } UNION { ?e <pred:name> "Lahore" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Lahore