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