Question: For which work was John Osborne (the one whose date of birth is 1929-12-12) awarded the Academy Award for Best Writing, Adapted Screenplay?
Choices: The Man with the Golden Arm
The Right to Love
How the West Was Won
The Shooting Party
The Full Monty
Happy-Go-Lucky
Tom Jones
Meet the Fockers
Mrs. Harris
Elle
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Osborne" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1929-12-12"^^xsd:date . ?e_2 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: John Osborne
function: FilterDate
dependencies: 0
inputs: date of birth
1929-12-12
=
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 1
2
inputs: award received
for work
Answer: Tom Jones