Question: James Fox, from the cast of Sexy Beast, is cast in which TV movie?
Choices:
Great Expectations
Death on the Nile
The Challenge
Charlie and the Chocolate Factory
The Music Man
Julius Caesar
United 93
The Goodbye Girl
The Remains of the Day
A Passage to India
Answer: Death on the Nile
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "James Fox" . ?e_2 <cast_member> ?e_1 . ?e_2 <pred:name> "Sexy Beast" .   }
Program:
function: Find
inputs: Sexy Beast
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: James Fox
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: television film
function: What
dependencies: 5