Question: Which work was awarded when the Academy Award for Best Original Song was won by Richard Rodgers (the one that is educated at Columbia University)?
Choices:
The Morning After
Alright, Still
Anatomy of a Murder
2312
It Might as Well Be Spring
Spring Breakers
The Plot Against America
Taxi Driver
Rang De Basanti
Seascape
Answer: It Might as Well Be Spring
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Academy Award for Best Original Song" . ?e_2 <pred:name> "Richard Rodgers" . ?e_2 <educated_at> ?e_3 . ?e_3 <pred:name> "Columbia University" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Academy Award for Best Original Song
function: Find
inputs: Columbia University
function: Relate
dependencies: 1
inputs: educated at
backward
function: Find
inputs: Richard Rodgers
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: winner
for work