Question: Which one is positioned higher in relation to the sea level,  Irvine (the one whose country is United Kingdom) or Columbia (the one whose local dialing code is 410) ?
Choices:
Edmonton
South Shields
Wigan
Macclesfield
Irvine
Colchester
Columbia
Royal Tunbridge Wells
Blackburn
Wimbledon
Answer: Irvine
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Irvine" . ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" . } 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 ?v LIMIT 1
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Irvine
function: And
dependencies: 1
2
function: Find
inputs: Columbia
function: FilterStr
dependencies: 4
inputs: local dialing code
410
function: SelectBetween
dependencies: 3
5
inputs: elevation above sea level
less