Representation: an action- and prediction-based view