Question: From what written work is The Spy Who Came in from the Cold (the one that has Claire Bloom as a cast member) derived?
Choices:
Psycho
The Maltese Falcon
The Spy Who Came in from the Cold
The Hours
Starship Troopers
A Single Man
The Painted Veil
Live and Let Die
Mystic River
Women in Love
Answer: The Spy Who Came in from the Cold
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "The Spy Who Came in from the Cold" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Claire Bloom" .   }
Program:
function: Find
inputs: Claire Bloom
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Spy Who Came in from the Cold
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
forward
function: FilterConcept
dependencies: 4
inputs: written work
function: What
dependencies: 5