Question: What film has both Rajesh Khanna and Shabana Azmi as cast members?
Choices: Ashanti
Midnight's Children
The Fifth Element
Talk to Her
Earth
Genesis
A Prairie Home Companion
Rebecca
The Towering Inferno
Training Day
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Rajesh Khanna" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Shabana Azmi" .  }
Program:
function: Find
inputs: Rajesh Khanna
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Shabana Azmi
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Ashanti