What was distributed by a distributor of M1 and M2 and distributed by M0 's writer
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x1 .
?x0 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x2 .
?x1 ns:film.writer.film M0 .
?x2 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M1 .
?x2 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M2
}