Question: Which work was David Newman, born 4th Feb 1937, nominated for Academy Award for Best Writing, Original Screenplay, given his award for ?
Choices:
Life & Times of Michael K
The Player
MASH
Bonnie and Clyde
The Ballad of Beta-2
The Landlord
Curious George
Rosencrantz & Guildenstern Are Dead
Moonlighting
Misery
Program:
function: Find
inputs: David Newman
function: FilterDate
dependencies: 0
inputs: date of birth
1937-02-04
=
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: QueryRelationQualifier
dependencies: 1
2
inputs: nominated for
for work
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "David Newman" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1937-02-04"^^xsd:date . ?e_2 <pred:name> "Academy Award for Best Writing, Original Screenplay" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Answer: Bonnie and Clyde