Question: Who was nominated for Academy Award for Best Writing for Love Story (the film that was nominated for Academy Award for Best Actor)?
Choices:
Greece-Moldovan relations
43rd Academy Awards
Minnesota–North Dakota border
Saudi Arabia–Turkey relations
Tajikistan–United States relations
Paraguay–Uruguay relations
Colombia–Malaysia relations
Honduras–United States relations
Malta–Slovakia relations
Ireland–United States relations
Answer: 43rd Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Love Story" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best 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 Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Love Story
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