Question: Which film director has acted as a cast member in An American in Paris?
Choices: M. Night Shyamalan
William Henry Harrison
Gene Kelly
Leslie Caron
Max Fleischer
Mark Ruffalo
Sylvester Stallone
Franchot Tone
Ajay Devgan
Arnold Schwarzenegger
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "An American in Paris" .  ?e <occupation> ?e_2 . ?e_2 <pred:name> "film director" .  }
Program:
function: Find
inputs: An American in Paris
function: Relate
dependencies: 0
inputs: cast member
forward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: film director
function: Relate
dependencies: 3
inputs: occupation
backward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Gene Kelly