What was written by M0 's writer , executive producer , and star
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.written_by ?x1 .
?x1 ns:film.actor.film/ns:film.performance.film M0 .
?x1 ns:film.producer.films_executive_produced M0 .
?x1 ns:film.writer.film M0
}