Question: Which one of these lies lower in relation with the sea level, Blackpool (postal code FY0-4) or Penzance ?
Choices:
Blackpool
Penzance
Edmonton
Macclesfield
South Shields
Doncaster
Wimbledon
Blackburn
Colchester
Wigan
Answer: Blackpool
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Blackpool" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "FY0-4" . } UNION { ?e <pred:name> "Penzance" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Blackpool
function: FilterStr
dependencies: 0
inputs: postal code
FY0-4
function: Find
inputs: Penzance
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less