Question: Which movie is based on the TV series titled Twin Peaks?
Choices:
The A-Team
The Singing Detective
Twin Peaks: Fire Walk with Me
The Last Airbender
The Painted Veil
Mission: Impossible
Charlie's Angels: Full Throttle
Reds
Veronica Mars
Hulk
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Twin Peaks
function: FilterConcept
dependencies: 1
inputs: television series
function: Relate
dependencies: 2
inputs: based on
backward
function: FilterConcept
dependencies: 3
inputs: visual artwork
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <based_on> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "television series" . ?e_1 <title> ?pv . ?pv <pred:value> "Twin Peaks" .   }
Answer: Twin Peaks: Fire Walk with Me