Question: What work did Robert Altman (the one whose date of death is 2006-11-20) win the BAFTA Award for Best Direction for?
Choices:
Raging Bull
Lonesome Dove
The Miracle Worker
High Tide
White Chicks
Locke
The Player
Requiem for a Heavyweight
Big Daddy
Lost Horizon
Answer: The Player
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "BAFTA Award for Best Direction" . ?e_2 <pred:name> "Robert Altman" . ?e_2 <date_of_death> ?pv . ?pv <pred:date> "2006-11-20"^^xsd:date . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: BAFTA Award for Best Direction
function: Find
inputs: Robert Altman
function: FilterDate
dependencies: 1
inputs: date of death
2006-11-20
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: winner
for work