Question: Which movie titled Poltergeist features Sam Rockwell in the cast?
Choices:
Rebecca
Talk to Her
Charlie's Angels
Poltergeist
Training Day
A Prairie Home Companion
Iron Man 2
Pleasantville
Frost/Nixon
The Fifth Element
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Poltergeist
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Find
inputs: Sam Rockwell
function: Relate
dependencies: 3
inputs: cast member
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 <title> ?pv . ?pv <pred:value> "Poltergeist" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Sam Rockwell" .  }
Answer: Poltergeist