Question: We know that Heaven Can Wait (the one that has Jack Warden as a cast member) was nominated for Academy Award for Best Original Score, but who is the nominee ?
Choices:
Polly Platt
Chris Cooper
Maurizio Silvi
Dan Lemmon
Johnny Green
Darla K. Anderson
Dave Grusin
Ben Snow
Paul Franklin
John Nelson
Program:
function: Find
inputs: Jack Warden
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Heaven Can Wait
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Original Score
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Heaven Can Wait" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Jack Warden" . ?e_2 <pred:name> "Academy Award for Best Original Score" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }
Answer: Dave Grusin