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