Question: Who was nominated for the Academy Award for Best Director for the tragedy Hamlet?
Choices:
France–Japan relations
Iceland–United Kingdom relations
Austria–Ukraine relations
47th Tony Awards
Indonesia–Portugal relations
South Korea–United Kingdom relations
21st Academy Awards
China–Croatia relations
Israel–Myanmar relations
28th Academy Awards
Answer: 21st Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Hamlet" . ?e_1 <main_subject> ?e_3 . ?e_3 <pred:name> "tragedy" . ?e_2 <pred:name> "Academy Award for Best Director" . ?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: tragedy
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Hamlet
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Director
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of