Similar Items: Theory and applications in inorganic chemistry