Question: Whose work on Blue Velvet earned an Academy Award nomination for Best Director?
Choices:
Gloria Katz
Mike Hill
Ken Ralston
David Lynch
Robert Elswit
Paul Gallico
Don MacDougall
Quentin Tarantino
John Schlesinger
Andrew Mondshein
Answer: David Lynch
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Blue Velvet" . ?e_2 <pred:name> "Academy Award for Best Director" . ?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: Blue Velvet
function: Find
inputs: Academy Award for Best Director
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
nominee