Similar Items: Algebraic Presentations of Type Dependency