Question: What was Ray nominated for an Academy Award for Best Actor for?
Choices:
China–United Kingdom relations
77th Academy Awards
Germany–Nauru relations
Bulgaria–Canada relations
European Union–Hungary border
Canada–Taiwan relations
Australia–Palau relations
death and state funeral of George H. W. Bush
29th Tony Awards
Inner-German Relations
Answer: 77th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ray" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Actor" . ?e_2 <pred:name> "Academy Award for Best Actor" . ?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: award received
backward
function: Find
inputs: Ray
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Actor
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of