Who directed M5 , M6 , and M7 , wrote M1 and M2 , and wrote M3 and M4
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:film.director.film M5 .
?x0 ns:film.director.film M6 .
?x0 ns:film.director.film M7 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:film.writer.film M3 .
?x0 ns:film.writer.film M4
}