Suppose The film Titanic, directed by James Cameron and starring Leonardo DiCaprio and Kate Winslet, was released in 1997 and went on to become the highest-grossing film of all time at that point.
Can we infer that "Leonardo DiCaprio played the role of the captain of the Titanic in the film"?