Question: What town do we known  whose local dialing code is 01698 and whose TOID is 4000000074545582 ?
Choices:
Wimbledon
Edmonton
Blackburn
South Shields
Wigan
Hamilton
Royal Tunbridge Wells
Bellshill
Doncaster
Macclesfield
Answer: Bellshill
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <local_dialing_code> ?pv . ?pv <pred:value> "01698" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> "4000000074545582" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
01698
function: FilterConcept
dependencies: 1
inputs: town
function: FindAll
function: FilterStr
dependencies: 3
inputs: TOID
4000000074545582
function: FilterConcept
dependencies: 4
inputs: town
function: And
dependencies: 2
5
function: What
dependencies: 6