Question: What does The Producers (whose production company is Relativity Media) have to do with Golden Globe Award for Best Original Song?
Choices:
used by
sexual orientation
basic form of government
student of
distribution
film distribute region
capital
lyrics by
nominated for
based on
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Producers" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Relativity Media" . ?e_2 <pred:name> "Golden Globe Award for Best Original Song" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Relativity Media
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Producers
function: And
dependencies: 1
2
function: Find
inputs: Golden Globe Award for Best Original Song
function: QueryRelation
dependencies: 3
4