Question: Who is the artist that directed the movie with a screenplay by Pier Paolo Pasolini?
Choices:
Federico Fellini
Donald McAlpine
Jonathan Demme
Denzel Washington
Tom McCarthy
Werner Herzog
Reese Witherspoon
James L. Brooks
John Madden
Carl Davis
Answer: Federico Fellini
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <director> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "visual artwork" . ?e_1 <screenwriter> ?e_2 . ?e_2 <pred:name> "Pier Paolo Pasolini" .   }
Program:
function: Find
inputs: Pier Paolo Pasolini
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Relate
dependencies: 2
inputs: director
forward
function: FilterConcept
dependencies: 3
inputs: human
function: What
dependencies: 4