Question: For what was The Portrait of a Lady (which has cast member Nicole Kidman) nominated for an Academy Award for Best Costume Design?
Choices:
Brunei–United States relations
India–Saudi Arabia relations
North Dakota–South Dakota border
Bulgaria–South Africa relations
Morocco–Portugal relations
69th Academy Awards
India—Laos relations
52nd Academy Awards
37th Saturn Awards
Indonesia–Saudi Arabia relations
Answer: 69th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Portrait of a Lady" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Nicole Kidman" . ?e_2 <pred:name> "Academy Award for Best Costume 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: Nicole Kidman
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Portrait of a Lady
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Costume Design
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of