Question: For Oscar and Lucinda, who was the nominee when it was nominated for an Academy Award for Best Costume Design?
Choices:
Peter Fonda
Murray Spivack
Ben Burtt
André Previn
Nelson Stoll
Janet Patterson
Jack Stephens
Winona Ryder
Christian Berger
Mark Ruffalo
Answer: Janet Patterson
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Oscar and Lucinda" . ?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: Oscar and Lucinda
function: Find
inputs: Academy Award for Best Costume Design
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
nominee