What was written by M0 and produced by a art director that M2 employed
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x0 ns:film.film.written_by M0 .
?x1 a ns:film.film_art_director .
?x1 ns:people.person.employment_history/ns:business.employment_tenure.company M2
}