Question: For which work did Shirley MacLaine win the National Board of Review Award for Best Actress?
Choices: Avatar: Music from the Motion Picture
The Fisher King
Hairspray
Ilium
Away from Her
Terms of Endearment
Blowup
Living with War
WarGames
Picnic
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "National Board of Review Award for Best Actress" . ?e_2 <pred:name> "Shirley MacLaine" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: National Board of Review Award for Best Actress
function: Find
inputs: Shirley MacLaine
function: QueryRelationQualifier
dependencies: 0
1
inputs: winner
for work
Answer: Terms of Endearment