What did M1 direct , a film distributor produce , M0 write , and a film producer write
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by M1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x0 ns:film.film.written_by M0 .
?x1 a ns:film.film_distributor .
?x2 a ns:film.producer
}