Question: Grant Heslov was an Academy Award nominee for Best Writing, Adapted Screenplay for which work?
Choices:
Defence of the Realm
The Fighting Lady
The Ides of March
Tai-Pan
Mirror Dance
A Letter to Three Wives
2312
Bad Romance
Clueless
Playing for Time
Answer: The Ides of March
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Grant Heslov" . ?e_2 <pred:name> "Academy Award for Best Writing, 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: Grant Heslov
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work