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