Who distributed and produced a film written by and edited by M2
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film ?x1 .
?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
?x1 a ns:film.film .
?x1 ns:film.film.edited_by M2 .
?x1 ns:film.film.written_by M2
}