Question: What is the title of Rabindranath Tagore (the one whose director is Satyajit Ray)?
Choices:
Joan of Arc
Rosemary's Baby
Empire of the Sun
Oh! What a Lovely War
Santa Biblia
Cuore
Les Trois Mousquetaires
Precious
Rabindranath Tagore
Troy
Program:
function: Find
inputs: Satyajit Ray
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Rabindranath Tagore
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Rabindranath Tagore" . ?e <director> ?e_1 . ?e_1 <pred:name> "Satyajit Ray" .  ?e <title> ?pv .  }
Answer: Rabindranath Tagore