Question: Who is the nominee of Academy Award for Best Director for the work in The Thin Red Line (with George Clooney in the cast) ?
Choices: Terrence Malick
Anne V. Coates
Zachary Sklar
Bryan Grill
Claudette Colbert
Robert Lorenz
Rob Coleman
John Ireland
Donna Reed
Harry Stradling
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Thin Red Line" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "George Clooney" . ?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: George Clooney
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Thin Red Line
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Director
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee
Answer: Terrence Malick