question: Which film that was written by , starred , and was edited by M1 was written by and directed by M2
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.directed_by M2 .
  ?x0 ns:film.film.edited_by M1 .
  ?x0 ns:film.film.starring/ns:film.performance.actor M1 .
  ?x0 ns:film.film.written_by M1 .
  ?x0 ns:film.film.written_by M2
  }