Question: Which movie includes the L.A. Confidential director in its cast?
Choices:
As Good as It Gets
Adaptation
The Longest Day
The Happening
Into the West
The Kite Runner
New York Stories
Ghost World
Fist of the North Star
An Inconvenient Truth
Answer: Adaptation
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <director> ?e_1 . ?e_2 <pred:name> "L.A. Confidential" .   }
Program:
function: Find
inputs: L.A. Confidential
function: Relate
dependencies: 0
inputs: director
forward
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: cast member
backward
function: FilterConcept
dependencies: 3
inputs: film
function: What
dependencies: 4