Question: What is the association between Milan (whose genre is drama film) and Sunil Dutt?
Choices:
dialect of
professional or sports partner
founded by
fictional universe described in
place of origin (Switzerland)
found
cast member
has immediate cause
musical conductor
derivative work
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Milan" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "drama film" . ?e_2 <pred:name> "Sunil Dutt" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: drama film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Milan
function: And
dependencies: 1
2
function: Find
inputs: Sunil Dutt
function: QueryRelation
dependencies: 3
4