Question: What film's cast member is the person who is the partner of Peter Krause (who is a cast member of The Truman Show)?
Choices:
The Damned
For Your Eyes Only
Terminator Salvation
Kill Bill Volume 1
Pleasantville
Rebecca
Catwoman
A Prairie Home Companion
Evan Almighty
Die Another Day
Program:
function: Find
inputs: The Truman Show
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Peter Krause
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: partner
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Relate
dependencies: 5
inputs: cast member
backward
function: FilterConcept
dependencies: 6
inputs: film
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <partner> ?e_1 . ?e_2 <pred:name> "Peter Krause" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> "The Truman Show" .   }
Answer: Evan Almighty