Question: San Francisco, originally in English, was an Academy Award contender for which Best Actor nominee?
Choices:
Judith Anderson
Ned Beatty
Spencer Tracy
Michael O'Connor
Talia Shire
Clint Eastwood
William A. Horning
Megan Ellison
Christian Colson
Julie Weiss
Answer: Spencer Tracy
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "San Francisco" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Academy Award for Best 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: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: San Francisco
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Actor
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee