Question: Does Madrid or Montevideo have greater elevation above sea level?
Choices:
Madrid
Trieste
Dundee
Kilkenny
Bergen
Chihuahua
Cork
Santo Domingo
Montevideo
Kingston
Answer: Madrid
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Madrid" .  } UNION { ?e <pred:name> "Montevideo" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Madrid
function: Find
inputs: Montevideo
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater