Question: What is the relationship between Midnight's Children (the one that has Shabana Azmi as a cast member) and Anupam Kher ?
Choices: creator
spouse
industry
sibling
programming paradigm
director of photography
terminus
symptoms
cast member
original network
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Midnight's Children" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Shabana Azmi" . ?e_2 <pred:name> "Anupam Kher" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Shabana Azmi
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Midnight's Children
function: And
dependencies: 1
2
function: Find
inputs: Anupam Kher
function: QueryRelation
dependencies: 3
4
Answer: cast member