Question: Does Valletta or Blackpool whose population is 142100 have lower elevation above sea level?
Choices: Royal Tunbridge Wells
Macclesfield
Blackpool
Wigan
South Shields
Doncaster
Blackburn
Wimbledon
Edmonton
Colchester
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Valletta" . } UNION { ?e <pred:name> "Blackpool" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "142100"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Valletta
function: Find
inputs: Blackpool
function: FilterNum
dependencies: 1
inputs: population
142100
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
Answer: Blackpool