Which sequel of a prequel of M1 did M0 produce
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.prequel ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M0 .
?x1 ns:film.film.sequel M1
}