Question: Which area has higher elevation above sea level, Valletta or Watford?
Choices:
Valletta
Macclesfield
Royal Tunbridge Wells
Doncaster
Wigan
Blackburn
Wimbledon
South Shields
Colchester
Watford
Program:
function: Find
inputs: Valletta
function: Find
inputs: Watford
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Valletta" .  } UNION { ?e <pred:name> "Watford" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Watford