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