What did M0 write , M1 's writer executive produce , and a screenwriter produce
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x2 .
?x0 ns:film.film.written_by M0 .
?x1 ns:film.writer.film M1 .
?x2 a ns:film.writer
}