What did M0 , M1 , and M2 write , M3 and M4 write , and M5 and M6 edit
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by M5 .
?x0 ns:film.film.edited_by M6 .
?x0 ns:film.film.written_by M0 .
?x0 ns:film.film.written_by M1 .
?x0 ns:film.film.written_by M2 .
?x0 ns:film.film.written_by M3 .
?x0 ns:film.film.written_by M4
}