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