Question: What is the relationship between Milan (the one that has Sunil Dutt as a cast member) and Sunil Dutt?
Choices:
studies
notable work
follows
subject has role
set in period
sponsor
basin country
residence
cast member
given name
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Milan" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Sunil Dutt" . ?e_2 <pred:name> "Sunil Dutt" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sunil Dutt
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Milan
function: And
dependencies: 1
2
function: Find
inputs: Sunil Dutt
function: QueryRelation
dependencies: 3
4