question: What was directed by M0 and produced by a screenwriter that M2 influenced
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 ns:film.film.directed_by M0 .
  ?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
  ?x1 a ns:film.writer .
  ?x1 ns:influence.influence_node.influenced_by M2
  }