Question: what work was awarded for Lewis Gilbert (who has date of birth 1920-03-06) was nominated for Academy Award for Best Picture.
Choices: The Dot and the Line
Oldest Living Confederate Widow Tells All
On to the Next One
Duke of Groove
The Quiet American
Fermi and Frost
Alfie
To Make You Feel My Love
Is Paris Burning?
Koi... Mil Gaya
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Lewis Gilbert" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1920-03-06"^^xsd:date . ?e_2 <pred:name> "Academy Award for Best Picture" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Lewis Gilbert
function: FilterDate
dependencies: 0
inputs: date of birth
1920-03-06
=
function: Find
inputs: Academy Award for Best Picture
function: QueryRelationQualifier
dependencies: 1
2
inputs: nominated for
for work
Answer: Alfie