Question: On the Waterfront was an Academy Award nominee for Best Writing, Original Screenplay by whom?
Choices:
Bulgaria–Denmark relations
27th Academy Awards
Austria–Bangladesh relations
Finland–Norway relations
Iran–Yemen relations
Brazil–Uruguay border
Japan–United States relations
Malaysia–Myanmar relations
Japan–Serbia relations
Kingdom of Yugoslavia
Answer: 27th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "On the Waterfront" . ?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: On the Waterfront
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
statement is subject of