Measuring Named Entity Similarity Through Wikipedia Category Hierarchies