Question: Which film was written by William S. Burroughs?
Choices:
Dr. Strangelove
Naked Lunch
Talk to Her
A Prairie Home Companion
A Time to Kill
Rebecca
Murder by Decree
Moonraker
Pleasantville
Saw
Program:
function: Find
inputs: William S. Burroughs
function: Relate
dependencies: 0
inputs: after a work by
backward
function: FilterConcept
dependencies: 1
inputs: film
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> "William S. Burroughs" .   }
Answer: Naked Lunch