What was produced by M0 , written by a character , directed by M3 , and produced by M1 and M2
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by M3 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M0 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M2 .
?x0 ns:film.film.written_by ?x1 .
?x1 a ns:fictional_universe.fictional_character
}