Question: Of Blackpool (population of 142,100) and Eastbourne, which one of these lies lower related to sea level ?
Choices:
Wimbledon
Colchester
Blackburn
Doncaster
Royal Tunbridge Wells
Wigan
Blackpool
Eastbourne
Edmonton
Macclesfield
Answer: Blackpool
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Blackpool" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "142100"^^xsd:double . } UNION { ?e <pred:name> "Eastbourne" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Blackpool
function: FilterNum
dependencies: 0
inputs: population
142100
=
function: Find
inputs: Eastbourne
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less