question: What was written by a male actor of M0 and edited by M2 's writer
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 ns:film.film.edited_by ?x1 .
  ?x0 ns:film.film.written_by ?x2 .
  ?x1 ns:film.writer.film M2 .
  ?x2 ns:film.actor.film/ns:film.performance.character M0 .
  ?x2 ns:people.person.gender ns:m.05zppz
  }