Question: Which has fewer people,Solihull (the one whose local dialing code is 0121) or Rochdale (the one whose population is 110194)?
Choices: Doncaster
Royal Tunbridge Wells
Blackburn
Macclesfield
Colchester
Rochdale
Edmonton
Wigan
Solihull
South Shields
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Solihull" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "0121" . } UNION { ?e <pred:name> "Rochdale" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "110194"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Solihull
function: FilterStr
dependencies: 0
inputs: local dialing code
0121
function: Find
inputs: Rochdale
function: FilterNum
dependencies: 2
inputs: population
110194
=
function: SelectBetween
dependencies: 1
3
inputs: population
less
Answer: Rochdale