question: What was written and directed by M0 's star , editor , and cinematographer
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 ns:film.film.directed_by ?x1 .
  ?x0 ns:film.film.written_by ?x1 .
  ?x1 ns:film.actor.film/ns:film.performance.film M0 .
  ?x1 ns:film.cinematographer.film M0 .
  ?x1 ns:film.editor.film M0
  }