Question: Which work is awarded the Academy Award for Best Writing, Adapted Screenplay for which Billy Bob Thornton was nominated?
Choices:
Groundhog Day
Life of Pi
Distraction
California Suite
Murphy Brown
Taklamakan
Law & Order
Good Will Hunting
2010: The Year We Make Contact
Sling Blade
Answer: Sling Blade
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Billy Bob Thornton" . ?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: Billy Bob Thornton
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work