Question: What is the subject of this statement: "Spellbound (the one that was nominated for Academy Award for Best Supporting Actor) was nominated for Academy Award for Best Picture"?
Choices:
Kosovo–Serbia border
North Korea–Tanzania relations
Bangladesh–Brazil relations
Andorra–France border
Mali–Niger border
France–United Arab Emirates relations
Azerbaijan–Pakistan relations
18th Academy Awards
Gabon–Taiwan relations
Mexico–Ukraine relations
Answer: 18th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Spellbound" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Supporting Actor" . ?e_2 <pred:name> "Academy Award for Best Picture" . ?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 Supporting Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Spellbound
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Picture
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of