Question: Who was the Academy Award Best Supporting Actor nominee for Kentucky, originating in the USA?
Choices: Maurice Jarre
Walter Brennan
Anna Paquin
Harry Lange
John Ford
Kirk Douglas
Stanley Kramer
David Snyder
Scott D. Smith
Elda Ferri
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Kentucky" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Academy Award for Best Supporting Actor" . ?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: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Kentucky
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Supporting Actor
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee
Answer: Walter Brennan