Question: Does the Blackpool that occupies 34.88 square km or Penzance have the lower elevation?
Choices:
Colchester
Edmonton
Blackpool
Penzance
Wigan
South Shields
Royal Tunbridge Wells
Macclesfield
Blackburn
Wimbledon
Answer: Blackpool
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Blackpool" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "34.88"^^xsd:double . } 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: FilterNum
dependencies: 0
inputs: area
34.88 square kilometre
=
function: Find
inputs: Penzance
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less