Question: How is Genesis Genesis (the one that has Shabana Azmi as a cast member) related to Shabana Azmi?
Choices:
part of
official language
production designer
cast member
film release region
cites
film editor
sexual orientation
family name
writing system
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Genesis" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Shabana Azmi" . ?e_2 <pred:name> "Shabana Azmi" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Shabana Azmi
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Genesis
function: And
dependencies: 1
2
function: Find
inputs: Shabana Azmi
function: QueryRelation
dependencies: 3
4