Question: What work did David Niven receive the Academy Award for Best Actor for?
Choices:
Walk the Line
The Country Cousin
Isadora
Separate Tables
Lassie
The Killer
State of Play
Searching for Bobby Fischer
Shanghai Express
All the President's Men
Answer: Separate Tables
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "David Niven" . ?e_2 <pred:name> "Academy Award for Best Actor" . ?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: David Niven
function: Find
inputs: Academy Award for Best Actor
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
for work