Category-based Similarity Algorithm for Semantic Similarity in Multi-agent Information Sharing Systems