Question: How is Academy Award nominee for Best Costume Design, Guys and Dolls, related to the Academy Award for Best Original Musical Score?
Choices:
health specialty
architectural style
stated in
heritage designation
movement
nominated for
screenwriter
newspaper format
family
home port
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Guys and Dolls" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Costume Design" . ?e_2 <pred:name> "Academy Award for Best Original Musical Score" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Costume Design
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Guys and Dolls
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Original Musical Score
function: QueryRelation
dependencies: 3
4