Question: Tell me the one with the bigger elevation (over sea level), Toowoomba or Newmarket.
Choices:
Edmonton
Doncaster
Newmarket
Macclesfield
Blackburn
Royal Tunbridge Wells
Toowoomba
Wigan
Wimbledon
Colchester
Program:
function: Find
inputs: Newmarket
function: Find
inputs: Toowoomba
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Newmarket" .  } UNION { ?e <pred:name> "Toowoomba" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Toowoomba