Question: Which area is bigger, Southend-on-Sea or Woking (the one whose local dialing code is 01483)?
Choices:
Wigan
Woking
Royal Tunbridge Wells
South Shields
Southend-on-Sea
Doncaster
Macclesfield
Colchester
Blackburn
Wimbledon
Answer: Woking
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Southend-on-Sea" . } UNION { ?e <pred:name> "Woking" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "01483" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Southend-on-Sea
function: Find
inputs: Woking
function: FilterStr
dependencies: 1
inputs: local dialing code
01483
function: SelectBetween
dependencies: 0
2
inputs: area
greater