question: What was executive produced and written by a art director that played M1 and M2
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 ns:film.film.executive_produced_by ?x1 .
  ?x0 ns:film.film.written_by ?x1 .
  ?x1 a ns:film.film_art_director .
  ?x1 ns:film.actor.film/ns:film.performance.character M1 .
  ?x1 ns:film.actor.film/ns:film.performance.character M2
  }