What was directed by a art director and written by a producer of M0
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 a ns:film.film_art_director .
?x2 ns:film.producer.film|ns:film.production_company.films M0
}