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