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