What was directed by a Spanish screenwriter , produced by M0 , and edited by M1 's producer
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.edited_by ?x2 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M0 .
?x1 a ns:film.writer .
?x1 ns:people.person.nationality ns:m.06mkj .
?x2 ns:film.producer.film|ns:film.production_company.films M1
}