Question: Which work was awarded when Mary McDonnell was nominated for the Academy Award for Best Supporting Actress?
Choices:
Beat It
Lovely & Amazing
The Armies of the Night
Dances with Wolves
Lena Horne at the Sands
Startide Rising
Bicentennial Man
Guide
This World
Quo Vadis
Answer: Dances with Wolves
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Mary McDonnell" . ?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: Mary McDonnell
function: Find
inputs: Academy Award for Best Supporting Actress
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work