{'fraction_non_alphanumeric': 0.015169194865810968, 'fraction_numerical': 0.0, 'mean_word_length': 5.0, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Type Vector Representations from Text: An Empirical Analysis

Knowledge Graphs (KGs) are abstractions used to represent knowledge in which real-world entities are organized using a type system where types are organized using a sub-type relation: the ontology. A key factor in many applications is to evaluate the similarity between the types of the ontology. Classical measures to evaluate the semantic similarity between types are often based on the structured organization of the sub-type system. In this work, we show that it is possible to use methods coming from Natural Language Processing to embed types in a vector space starting from textual documents. We show that in this representation some of the properties of the hierarchy are still present and that the similarity in this space captures also characteristics that are close to human behavior.