Question: What film has the person who is the production designer of Chicago (the one whose producer is Cecil B. DeMille) as a costume designer?
Choices:
Indiana Jones and the Kingdom of the Crystal Skull
My Man Godfrey
Robin Hood
Rebecca
Talk to Her
X-Men: First Class
An American in Paris
The Departed
A Prairie Home Companion
Pleasantville
Answer: Robin Hood
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <costume_designer> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <production_designer> ?e_1 . ?e_2 <pred:name> "Chicago" . ?e_2 <producer> ?e_3 . ?e_3 <pred:name> "Cecil B. DeMille" .   }
Program:
function: Find
inputs: Cecil B. DeMille
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Chicago
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: production designer
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Relate
dependencies: 5
inputs: costume designer
backward
function: FilterConcept
dependencies: 6
inputs: film
function: What
dependencies: 7