Which director of M1 's sequel 's prequel produced M0
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.director.film ?x1 .
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x1 ns:film.film.sequel ?x2 .
?x2 ns:film.film.prequel M1
}