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