Question: Which work was awarded the BAFTA Award for Best Original Screenplay which was won by Martin McDonagh?
Choices:
The West Wing
The Shawshank Redemption
The Color Purple
The Claw of the Conciliator
Leave Me Alone
Milk
Love Me or Leave Me
Terminator 2: Judgment Day
Some Like It Hot
In Bruges
Answer: In Bruges
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "BAFTA Award for Best Original Screenplay" . ?e_2 <pred:name> "Martin McDonagh" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: BAFTA Award for Best Original Screenplay
function: Find
inputs: Martin McDonagh
function: QueryRelationQualifier
dependencies: 0
1
inputs: winner
for work