Question: Which location has a higher elevation above sea level, St. Andrews or Columbia with a local dialing code of 410?
Choices: Wimbledon
St Andrews
South Shields
Doncaster
Royal Tunbridge Wells
Columbia
Blackburn
Colchester
Macclesfield
Wigan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "St Andrews" . } UNION { ?e <pred:name> "Columbia" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "410" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: St Andrews
function: Find
inputs: Columbia
function: FilterStr
dependencies: 1
inputs: local dialing code
410
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
Answer: Columbia