Question: For which work was Janet Leigh was nominated for Academy Award for Best Supporting Actress?
Choices:
Prime Suspect
The Longest Daycare
Eye for Eye
Cat Ballou
The Paper Chase
Hallelujah!
The Village
Psycho
Platoon
8½
Answer: Psycho
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Janet Leigh" . ?e_2 <pred:name> "Academy Award for Best Supporting Actress" . ?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: Janet Leigh
function: Find
inputs: Academy Award for Best Supporting Actress
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work