Question: Malcolm X, an Academy Award nominee for Best Documentary Feature, has what connection to Warner Bros.?
Choices:
lyrics by
said to be the same as
ancestral home
has parts of the class
original language of film or TV show
talk show guest
distributor
sidekick of
present in work
general manager
Program:
function: Find
inputs: Academy Award for Best Documentary Feature
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Malcolm X
function: And
dependencies: 1
2
function: Find
inputs: Warner Bros.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Malcolm X" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Documentary Feature" . ?e_2 <pred:name> "Warner Bros." . ?e_1 ?p ?e_2 .  }
Answer: distributor