question: Which Mexican screenwriter that M1 was directed by , written by , edited by , and produced by was M3 's producer
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.writer .
  ?x0 ns:film.director.film M1 .
  ?x0 ns:film.editor.film M1 .
  ?x0 ns:film.producer.film|ns:film.production_company.films M1 .
  ?x0 ns:film.producer.film|ns:film.production_company.films M3 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:people.person.nationality ns:m.0b90_r
  }