Question: What film has Fairuza Balk as a cast member and Avi Lerner as a producer?
Choices:
Pleasantville
Rambo
Almost Famous
American History X
The Island of Dr. Moreau
The Expendables 2
The Bad Lieutenant: Port of Call New Orleans
16 Blocks
The Expendables
A Prairie Home Companion
Answer: The Bad Lieutenant: Port of Call New Orleans
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Fairuza Balk" .  ?e <producer> ?e_2 . ?e_2 <pred:name> "Avi Lerner" .  }
Program:
function: Find
inputs: Fairuza Balk
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Avi Lerner
function: Relate
dependencies: 3
inputs: producer
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6