Question: What is the subject of this statement: Titanic (the one that received Academy Award for Best Writing, Original Screenplay) received Academy Award for Best Writing, Original Screenplay?
Choices:
China–Finland relations
Greece–Romania relations
Denmark–Iraq relations
Armenia–France relations
Djibouti–Eritrea relations
26th Academy Awards
Kazakhstan–Uzbekistan border
Algeria–Saudi Arabia relations
Finland–Germany relations
Germany–Spain relations
Answer: 26th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Titanic" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Writing, Original Screenplay" . ?e_2 <pred:name> "Academy Award for Best Writing, Original Screenplay" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Titanic
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
statement is subject of