Question: Who was the nominee of Academy Award for Best Writing, Adapted Screenplay for the work in Ordinary People (the one that received Academy Award for Best Supporting Actor) ?
Choices:
George Axelrod
Pete Docter
Josh Penn
Alvin Sargent
Michael Cimino
John Michael Hayes
Kenneth Utt
Julia Roberts
Martin Samuel
Dyan Cannon
Answer: Alvin Sargent
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ordinary People" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Supporting Actor" . ?e_2 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }
Program:
function: Find
inputs: Academy Award for Best Supporting Actor
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Ordinary People
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee