Question: Which human is the composer of One Flew Over the Cuckoo's Nest (whose genre is film based on literature)?
Choices:
Sylvester Stallone
Michael Murphy
Lara Flynn Boyle
Chevy Chase
John Ottman
William Henry Harrison
Jack Nitzsche
Malcolm Arnold
Richard Gere
Max Fleischer
Program:
function: Find
inputs: film based on literature
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: One Flew Over the Cuckoo's Nest
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: composer
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <composer> ?e . ?e_1 <pred:name> "One Flew Over the Cuckoo's Nest" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "film based on literature" .   }
Answer: Jack Nitzsche