question: What person that wrote , edited , and produced M1 was M2 's writer and art director
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:people.person .
  ?x0 ns:film.editor.film M1 .
  ?x0 ns:film.film_art_director.films_art_directed M2 .
  ?x0 ns:film.producer.film|ns:film.production_company.films M1 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:film.writer.film M2
  }