Question: What is the title of The Island of Dr. Moreau (the one that has Fairuza Balk as a cast member)?
Choices:
That's My Boy
The Island of Dr. Moreau
The Dark Knight
Rambo
Saw IV
Oliver Twist; or, The Parish Boy's Progress
Zombieland
Jackass: The Movie
Punch-Drunk Love
Fort Worth
Program:
function: Find
inputs: Fairuza Balk
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Island of Dr. Moreau
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "The Island of Dr. Moreau" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Fairuza Balk" .  ?e <title> ?pv .  }
Answer: The Island of Dr. Moreau