question: What screenwriter was a German actor that edited M2 and edited a film produced by M5
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.actor .
  ?x0 a ns:film.writer .
  ?x0 ns:film.editor.film ?x1 .
  ?x0 ns:film.editor.film M2 .
  ?x0 ns:people.person.nationality ns:m.0345h .
  ?x1 a ns:film.film .
  ?x1 ns:film.film.produced_by|ns:film.film.production_companies M5
  }