Who produced M2 , executive produced M1 , and directed a film 's sequel and prequel
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:film.director.film ?x1 .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x1 ns:film.film.prequel ?x2 .
?x1 ns:film.film.sequel ?x2 .
?x2 a ns:film.film
}