Question: For which work was Larry McMurtry nominated for BAFTA Award for Best Adapted Screenplay?
Choices:
New Year's Eve
Happy
True Grit
1941
Rome, Open City
300
The Fringe Dwellers
The Guns of Navarone
Brokeback Mountain
Terms of Endearment
Answer: Brokeback Mountain
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Larry McMurtry" . ?e_2 <pred:name> "BAFTA Award for Best Adapted Screenplay" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Larry McMurtry
function: Find
inputs: BAFTA Award for Best Adapted Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work