Question: What visual artwork's genre is the film genre of the Russ Meyer genre (the one that has the occupation of film producer)?
Choices:
Pleasantville
A Prairie Home Companion
Russ Meyer
Wild at Heart
Godzilla
Twin Peaks: Fire Walk with Me
Hudson Hawk
Rebecca
Angel
Montana
Answer: Angel
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <genre> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film genre" . ?e_2 <genre> ?e_1 . ?e_2 <pred:name> "Russ Meyer" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "film producer" .   }
Program:
function: Find
inputs: film producer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Russ Meyer
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: film genre
function: Relate
dependencies: 5
inputs: genre
backward
function: FilterConcept
dependencies: 6
inputs: visual artwork
function: What
dependencies: 7