Question: Tommy, released in the Philippines, was up for an Academy Award for which Best Actress nominee?
Choices: Ken Muggleston
John Mills
David Brenner
Finola Dwyer
David Valdes
Dan Janvey
Ann-Margret
John Osborne
Robert Evans
Stuart Wilson
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Tommy" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Philippines" . ?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: Philippines
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Tommy
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Actress
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee
Answer: Ann-Margret