Question: Which has less population, Bournemouth whose population is 183491 or Woking whose OS grid reference is TQ003584?
Choices:
Blackburn
South Shields
Wimbledon
Doncaster
Edmonton
Macclesfield
Bournemouth
Wigan
Woking
Royal Tunbridge Wells
Answer: Woking
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bournemouth" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "183491"^^xsd:double . } UNION { ?e <pred:name> "Woking" . ?e <OS_grid_reference> ?pv_2 . ?pv_2 <pred:value> "TQ003584" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Bournemouth
function: FilterNum
dependencies: 0
inputs: population
183491
=
function: Find
inputs: Woking
function: FilterStr
dependencies: 2
inputs: OS grid reference
TQ003584
function: SelectBetween
dependencies: 1
3
inputs: population
less