Question: How is John Barry who is the composer of Midnight Cowboy related to the Golden Globe Award for Best Original Score?
Choices:
convicted of
architect
geography of topic
sidekick of
language of work or name
sexual orientation
award received
notable people with this condition
broadcast by
parent astronomical body
Program:
function: Find
inputs: Midnight Cowboy
function: Relate
dependencies: 0
inputs: composer
forward
function: Find
inputs: John Barry
function: And
dependencies: 1
2
function: Find
inputs: Golden Globe Award for Best Original Score
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Barry" . ?e_3 <composer> ?e_1 . ?e_3 <pred:name> "Midnight Cowboy" . ?e_2 <pred:name> "Golden Globe Award for Best Original Score" . ?e_1 ?p ?e_2 .  }
Answer: award received