Question: How is Heaven Can Wait that was nominated for an Academy Award for Best Production Design related to William A. Fraker?
Choices:
used by
military rank
director/manager
legislative body
director of photography
doctoral advisor
facet of
commander of
sibling
collection
Answer: director of photography
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Heaven Can Wait" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Production Design" . ?e_2 <pred:name> "William A. Fraker" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Production Design
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Heaven Can Wait
function: And
dependencies: 1
2
function: Find
inputs: William A. Fraker
function: QueryRelation
dependencies: 3
4