Question: The movie preceding Twin Peaks, with Ray Wise as a cast member, is source material for which soundtrack album?
Choices:
Pocahontas
Star Wars Episode IV: A New Hope
Twin Peaks: Fire Walk with Me
A Star Is Born
Tarzan
The Hunchback of Notre Dame
Dune
The World Is Not Enough
Tangled
Into the Wild
Program:
function: Find
inputs: Ray Wise
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Twin Peaks
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: follows
backward
function: FilterConcept
dependencies: 4
inputs: film
function: Relate
dependencies: 5
inputs: based on
backward
function: FilterConcept
dependencies: 6
inputs: soundtrack album
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "soundtrack album" . ?e <based_on> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film" . ?e_1 <follows> ?e_3 . ?e_3 <pred:name> "Twin Peaks" . ?e_3 <cast_member> ?e_4 . ?e_4 <pred:name> "Ray Wise" .   }
Answer: Twin Peaks: Fire Walk with Me