Question: Are there less people living in Woking (the one whose postal code is GU21, GU22) or Worthing?
Choices:
Royal Tunbridge Wells
Macclesfield
Wigan
South Shields
Woking
Blackburn
Wimbledon
Doncaster
Colchester
Edmonton
Answer: Woking
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Woking" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "GU21, GU22" . } UNION { ?e <pred:name> "Worthing" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Woking
function: FilterStr
dependencies: 0
inputs: postal code
GU21, GU22
function: Find
inputs: Worthing
function: SelectBetween
dependencies: 1
2
inputs: population
less