What was written by a company and produced by a actor
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 a ns:film.actor .
?x2 a ns:business.employer
}