The role of goals and goal barriers in predicting the outcomes of intentional actions in the contexts of narrative text