Question: Are there less people in Grimsby (population 88243) or in Bridgend?
Choices:
Colchester
Edmonton
Bridgend
Grimsby
Royal Tunbridge Wells
Doncaster
Wimbledon
Wigan
Macclesfield
South Shields
Program:
function: Find
inputs: Grimsby
function: FilterNum
dependencies: 0
inputs: population
88243
=
function: Find
inputs: Bridgend
function: SelectBetween
dependencies: 1
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Grimsby" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "88243"^^xsd:double . } UNION { ?e <pred:name> "Bridgend" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bridgend