question: Who executive produced M3 , M4 , and M5 , wrote a film , and wrote M1 and M2
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:people.person .
  ?x0 ns:film.producer.films_executive_produced M3 .
  ?x0 ns:film.producer.films_executive_produced M4 .
  ?x0 ns:film.producer.films_executive_produced M5 .
  ?x0 ns:film.writer.film ?x1 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:film.writer.film M2 .
  ?x1 a ns:film.film
  }