Question: Which visual artwork has Jared Harris as a cast member and producer as Sam Raimi ?
Choices:
Pleasantville
Rebecca
A Prairie Home Companion
Resident Evil: Apocalypse
I Shot Andy Warhol
Dead Man
The Grudge
The Curious Case of Benjamin Button
Priest
Poltergeist
Program:
function: Find
inputs: Jared Harris
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Find
inputs: Sam Raimi
function: Relate
dependencies: 3
inputs: producer
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Jared Harris" .  ?e <producer> ?e_2 . ?e_2 <pred:name> "Sam Raimi" .  }
Answer: Poltergeist