Question: Who was the individual nominee when The Spy Who Loved Me was up for an Academy Award for Best Production Design?
Choices:
Saint Kitts and Nevis–Taiwan relations
50th Academy Awards
China–Syria relations
Serbia–United States relations
Lithuania–Romania relations
Indonesia–Peru relations
Indonesia–North Korea relations
Israel–Netherlands relations
Saudi Arabia–Tunisia relations
Bosnia and Herzegovina–Montenegro border
Answer: 50th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Spy Who Loved Me" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Production Design" . ?e_2 <pred:name> "Academy Award for Best Production Design" . ?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 Production Design
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Spy Who Loved Me
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Production Design
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of