Task: Text to Code
Input (English): Did M2 star a Spanish film director
Output (English): SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:people.person.nationality ns:m.06mkj .
M2 ns:film.film.starring/ns:film.performance.actor ?x0
}