Question: For Peter Cook (the one that has the record label Decca), what town is his place of death?
Choices:
Colchester
Palm Springs
Blackpool
Royal Tunbridge Wells
Doncaster
Edmonton
Cheltenham
Hampstead
Columbia
Wigan
Answer: Hampstead
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Peter Cook" . ?e_1 <record_label> ?e_2 . ?e_2 <pred:name> "Decca" .   }
Program:
function: Find
inputs: Decca
function: Relate
dependencies: 0
inputs: record label
backward
function: Find
inputs: Peter Cook
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of death
forward
function: FilterConcept
dependencies: 4
inputs: town
function: What
dependencies: 5