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