Question: Which screenwriter was nominated for an Academy Award for Best Writing, Adapted Screenplay on Equus?
Choices: Eric Barba
Donald McAlpine
Julie Christie
Patricia Arquette
Bruce Robinson
Bruce Gilbert
Peter Shaffer
Mary Zophres
Lilly Kilvert
Jerry Wunderlich
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Equus" . ?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 ] <nominee> ?qpv .  }
Program:
function: Find
inputs: Equus
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
nominee
Answer: Peter Shaffer