Question: Which written work was the basis of Charlie and the Chocolate Factory, nominated for an Academy Award for Best Costume Design?
Choices: Live and Let Die
Charlie and the Chocolate Factory
Contact
The Pianist
The Lorax
The Hours
Naked Lunch
The Painted Veil
A Single Man
Atonement
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "Charlie and the Chocolate Factory" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Costume Design" .   }
Program:
function: Find
inputs: Academy Award for Best Costume Design
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Charlie and the Chocolate Factory
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
backward
function: FilterConcept
dependencies: 4
inputs: written work
function: What
dependencies: 5
Answer: Charlie and the Chocolate Factory