Question: The Way We Were (the one that's shot in Unused York City) was designated for Foundation Grant for Best On-screen character, what is the chosen one of it
Choices: Brad Bird
Lee Daniels
Alexander Golitzen
Carroll Clark
Julius J. Epstein
Robert Wise
Barbra Streisand
David Valdes
David Gamble
Andrew Scheinman
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Way We Were" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "New York City" . ?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: New York City
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: The Way We Were
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Actress
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee
Answer: Barbra Streisand