Question: Which work of art did Barry Levinson receive an Academy Award for Best Director?
Choices:
Pigeon Feathers and Other Stories
Topsy-Turvy
Spartacus
Still Alice
The Little Mermaid
The Heiress
The Brothers Karamazov
American Pie 2
Rain Man
Abe Lincoln in Illinois
Answer: Rain Man
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Barry Levinson" . ?e_2 <pred:name> "Academy Award for Best Director" . ?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: Barry Levinson
function: Find
inputs: Academy Award for Best Director
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
for work