Question: What film was nominated for an Academy Award for Best Film Editing and has a cast member named Blake Edwards?
Choices:
Out of Africa
Cleopatra
A Prairie Home Companion
Pleasantville
The Best Years of Our Lives
The Diving Bell and the Butterfly
A Clockwork Orange
The Social Network
American Graffiti
Rebecca
Answer: The Best Years of Our Lives
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Film Editing" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Blake Edwards" .  }
Program:
function: Find
inputs: Academy Award for Best Film Editing
function: Relate
dependencies: 0
inputs: nominated for
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Blake Edwards
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6