Question: What is the subject of a statement that  The Messenger (the one that was nominated for Academy Award for Best Supporting Actor) was nominated for Academy Award for Best Writing, Original Screenplay ?
Choices:
Brazil–Democratic Republic of the Congo relations
Belarus–Croatia relations
82nd Academy Awards
Republic of Macedonia–United States relations
Namibia–South Africa relations
Australia–Indonesia border
India–Lesotho relations
Malaysia–United Kingdom relations
Mauritius–South Africa relations
34th Academy Awards
Answer: 82nd Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Messenger" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Supporting Actor" . ?e_2 <pred:name> "Academy Award for Best Writing, Original Screenplay" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Academy Award for Best Supporting Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Messenger
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of