Question: Who was the nominee of Academy Award for Best Writing, Original Screenplay for Alice (the one that has Blythe Danner as a cast member)?
Choices:
Ariel Velasco-Shaw
Chloë Sevigny
Peter Sellers
Gabourey Sidibe
Woody Allen
Elda Ferri
Bruce Cohen
Richard Robbins
Juliette Welfling
Al Overton
Program:
function: Find
inputs: Blythe Danner
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Alice
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Alice" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Blythe Danner" . ?e_2 <pred:name> "Academy Award for Best Writing, Original Screenplay" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }
Answer: Woody Allen