question: Which costume designer that M1 was written by and edited by was M2 's star
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.film_costumer_designer .
  ?x0 ns:film.actor.film/ns:film.performance.film M2 .
  ?x0 ns:film.editor.film M1 .
  ?x0 ns:film.writer.film M1
  }