Question: Anastasia, scripted by Arthur Laurents, was up for an Academy Award for which nominated Best Actress?
Choices: Leonard Rosenman
James D. Bissell
Jordan Leondopoulos
Burnett Guffey
Veronika Jenet
Ingrid Bergman
Debra Winger
George DeTitta, Sr.
Tom Rand
Scott Franklin
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Anastasia" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> "Arthur Laurents" . ?e_2 <pred:name> "Academy Award for Best Actress" . ?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: Arthur Laurents
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Anastasia
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Actress
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee
Answer: Ingrid Bergman