Question: What town is the birthplace of John Byrne (the one whose ISNI is 0000 0000 8414 4060) and has the local-dialing code 01505?
Choices:
South Shields
Royal Tunbridge Wells
Edmonton
Paisley
Colchester
Wigan
Doncaster
Basingstoke
Macclesfield
Wimbledon
Answer: Paisley
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "John Byrne" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0000 8414 4060" .  ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "01505" .  }
Program:
function: Find
inputs: John Byrne
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0000 8414 4060
function: Relate
dependencies: 1
inputs: place of birth
forward
function: FilterConcept
dependencies: 2
inputs: town
function: FindAll
function: FilterStr
dependencies: 4
inputs: local dialing code
01505
function: FilterConcept
dependencies: 5
inputs: town
function: And
dependencies: 3
6
function: What
dependencies: 7