Question: Which town was the birthplace of Roy Kinnear and whose local dialing code is 01942?
Choices:
Colchester
Blackburn
Wimbledon
Basingstoke
Wigan
Macclesfield
Royal Tunbridge Wells
South Shields
Bridgend
Doncaster
Program:
function: Find
inputs: Roy Kinnear
function: Relate
dependencies: 0
inputs: place of birth
forward
function: FilterConcept
dependencies: 1
inputs: town
function: FindAll
function: FilterStr
dependencies: 3
inputs: local dialing code
01942
function: FilterConcept
dependencies: 4
inputs: town
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Roy Kinnear" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> "01942" .  }
Answer: Wigan