Question: Who directed The Cardinal, which starred Burgess Meredith and received a Best Director nomination from the Academy Awards?
Choices:
Daniel Lupi
Zachary Sklar
Jeremy Thomas
Jim Mitchell
Dan Hennah
Sophie Okoneda
Stefen Fangmeier
Rich Moore
Otto Preminger
Marvin Westmore
Answer: Otto Preminger
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Cardinal" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Burgess Meredith" . ?e_2 <pred:name> "Academy Award for Best Director" . ?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: Burgess Meredith
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Cardinal
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Director
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee