What was produced by a production company whose founder distributed M2 and written by M0
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.production_company .
?x1 ns:organization.organization.founders ?x2 .
?x2 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M2
}