Question: Who was nominated for the Academy Award for Best Costume Design for Henry V (the one that has Ian Holm as a cast member)?
Choices:
Dorree Cooper
Phyllis Dalton
Hope Lange
Queen Latifah
Fredric Hope
David Newman
Philip Glass
Michael Westmore
Melissa Mathison
William A. Horning
Answer: Phyllis Dalton
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Henry V" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Ian Holm" . ?e_2 <pred:name> "Academy Award for Best Costume Design" . ?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: Ian Holm
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Henry V
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Costume Design
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee