Question: What is the connection between Hello, Dolly! (the one that was nominated for BAFTA Award for Best Actor in a Leading Role) to Barbra Streisand?
Choices:
tributary
director
based on
occupation
head of government
cast member
director of photography
located in the administrative territorial entity
characters
interests
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hello, Dolly!" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "BAFTA Award for Best Actor in a Leading Role" . ?e_2 <pred:name> "Barbra Streisand" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: BAFTA Award for Best Actor in a Leading Role
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Hello, Dolly!
function: And
dependencies: 1
2
function: Find
inputs: Barbra Streisand
function: QueryRelation
dependencies: 3
4