Question: For what film did John Schlesinger receive Academy Award for Best Director ?
Choices:
Born on the Fourth of July
Pleasantville
Forrest Gump
Talk to Her
The Treasure of the Sierra Madre
The King's Speech
Ben-Hur
Midnight Cowboy
A Man for All Seasons
A Prairie Home Companion
Program:
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 0
inputs: award received
backward
function: QFilterStr
dependencies: 1
inputs: winner
John Schlesinger
function: FilterConcept
dependencies: 2
inputs: film
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Director" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv . ?qpv <pred:value> "John Schlesinger" .  }
Answer: Midnight Cowboy