Question: What is the relationship between Ashanti (the one that has Rajesh Khanna as a cast member) and Rahul Dev Burman?
Choices:
medical condition
discoverer or inventor
airline hub
different from
place of origin (Switzerland)
employer
fictional universe described in
composer
maintained by
officeholder
Program:
function: Find
inputs: Rajesh Khanna
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Ashanti
function: And
dependencies: 1
2
function: Find
inputs: Rahul Dev Burman
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ashanti" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Rajesh Khanna" . ?e_2 <pred:name> "Rahul Dev Burman" . ?e_1 ?p ?e_2 .  }
Answer: composer