Question: Who was the composer in Love Affair, Directed by Leo McCarey?
Choices:
Roy Webb
William Henry Harrison
Sylvester Stallone
John Carter
Richard Gere
Ennio Morricone
William Wyler
Brian Jones
David Byrne
Rahul Dev Burman
Program:
function: Find
inputs: Leo McCarey
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Love Affair
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: composer
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <composer> ?e . ?e_1 <pred:name> "Love Affair" . ?e_1 <director> ?e_2 . ?e_2 <pred:name> "Leo McCarey" .   }
Answer: Roy Webb