Question: Bonnie and Clyde, scripted by Robert Towne, was up for an Academy Award for which Best Actor nominee?
Choices:
David Bretherton
Charles Schnee
Lindsay Doran
Lowell Ganz
I. A. L. Diamond
Michael Ohoven
Mischa Auer
Walter Brennan
Gil Kenan
Warren Beatty
Answer: Warren Beatty
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Bonnie and Clyde" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> "Robert Towne" . ?e_2 <pred:name> "Academy Award for Best Actor" . ?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: Robert Towne
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Bonnie and Clyde
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Actor
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee