Question: Which actress in Bonnie and Clyde (the one nominated for BAFTA Award for Best Film) received an Academy Award for Best Supporting Actress?
Choices:
Greece–Latvia relations
Greece–North Macedonia border
Sudan–Taiwan relations
Hong Kong–Taiwan relations
Illinois–Missouri border
40th Academy Awards
Greece–Taiwan relations
Iraq–Jordan border
Denmark–Hungary relations
New Zealand and the United Nations
Answer: 40th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Bonnie and Clyde" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "BAFTA Award for Best Film" . ?e_2 <pred:name> "Academy Award for Best Supporting Actress" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: BAFTA Award for Best Film
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Bonnie and Clyde
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Supporting Actress
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
statement is subject of