Question: What film is directed by Nora Ephron and stars Michael Caine?
Choices:
The Weather Man
Bewitched
You've Got Mail
Julie & Julia
Get Carter
Dressed to Kill
Hannah and Her Sisters
Inception
The Prestige
Lucky Numbers
Answer: Bewitched
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <director> ?e_1 . ?e_1 <pred:name> "Nora Ephron" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Michael Caine" .  }
Program:
function: Find
inputs: Nora Ephron
function: Relate
dependencies: 0
inputs: director
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Michael Caine
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6