Question: Is the population less for Blackpool, whose population is 139600, or West Berkshire?
Choices:
West Berkshire
Shakira
Jeremy Northam
E.T. the Extra-Terrestrial
dance-punk
Saint Petersburg State University
Alvin and the Chipmunks: Chipwrecked
Blackpool
Livingston F.C.
James Horner
Answer: Blackpool
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Blackpool" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "139600"^^xsd:double . } UNION { ?e <pred:name> "West Berkshire" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Blackpool
function: FilterNum
dependencies: 0
inputs: population
139600
=
function: Find
inputs: West Berkshire
function: SelectBetween
dependencies: 1
2
inputs: population
less