Question: Screenwriter of Zack and Miri Make a Porno, Kevin Smith, was an Independent Spirit Award winner for which work for Best Screenplay?
Choices:
In Utero
Sorry, Wrong Number
Hear It Now
Harry and Tonto
The Horse's Mouth
To Die For
Evil Angels
Avatar
Chasing Amy
Places in the Heart
Answer: Chasing Amy
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Kevin Smith" . ?e_3 <screenwriter> ?e_1 . ?e_3 <pred:name> "Zack and Miri Make a Porno" . ?e_2 <pred:name> "Independent Spirit Award for Best Screenplay" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Zack and Miri Make a Porno
function: Relate
dependencies: 0
inputs: screenwriter
forward
function: Find
inputs: Kevin Smith
function: And
dependencies: 1
2
function: Find
inputs: Independent Spirit Award for Best Screenplay
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
for work