Question: Which one lies lower above sea level, Toowoomba or Aldershot ?
Choices:
Macclesfield
Edmonton
South Shields
Aldershot
Royal Tunbridge Wells
Doncaster
Blackburn
Toowoomba
Colchester
Wimbledon
Program:
function: Find
inputs: Toowoomba
function: Find
inputs: Aldershot
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Toowoomba" .  } UNION { ?e <pred:name> "Aldershot" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Aldershot