Question: Who earned an Academy Award Best Costume Design nomination for work on The Portrait of a Lady, with Christian Bale as a cast member?
Choices: Richard Attenborough
Tennessee Williams
Chris Columbus
Ron Bartlett
Brad Bird
Janet Patterson
Abby Mann
Arthur Freed
Claude Berri
Bob Murawski
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Portrait of a Lady" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Christian Bale" . ?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: Christian Bale
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Portrait of a Lady
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Costume Design
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee
Answer: Janet Patterson