Question: For what was John Houseman (who is in the Jewish ethnic group) nominated for an Academy Award for Best Picture?
Choices:
My Fair Lady
With a Song in My Heart
The Bicentennial Man
In America
WarGames
Bernie
The Facts of Life
Hotel Rwanda
The Sunshine Boys
Julius Caesar
Answer: Julius Caesar
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Houseman" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> "Jewish people" . ?e_2 <pred:name> "Academy Award for Best Picture" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Jewish people
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: John Houseman
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Picture
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
for work