Question: Which has higher elevation above sea level, Mashhad or Porto Alegre?
Choices:
Dundee
Kingston
Santo Domingo
Abidjan
Bergen
Mashhad
Chihuahua
Kilkenny
Trieste
Porto Alegre
Answer: Mashhad
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mashhad" .  } UNION { ?e <pred:name> "Porto Alegre" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Mashhad
function: Find
inputs: Porto Alegre
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater