Similar Items: Categorical Semantics of Compositional Reinforcement Learning