{'fraction_non_alphanumeric': 0.019122609673790775, 'fraction_numerical': 0.0, 'mean_word_length': 5.449275362318841, '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}}
Mapping ERD to Knowledge Graph

Knowledge representation is considered one of the main challenges in knowledge-based system. Currently, knowledge graph is the most modern knowledge representation model, which has been utilized in critical knowledge based systems. On the other hand, the Entity Relationship Diagram (ERD) for relational database is the most used model in information systems. In this paper, an efficient approach for mapping ERD to knowledge graph is presented with a case study for demonstrating the mapping process. First, relational tables have been represented by knowledge graph, then reification has been implemented to convert the knowledge graph to knowledge base. Eventually, extracting knowledge from these knowledge bases is processed by Prolog. Our proposed model has been empirically evaluated by comparing the Prolog results with the conventional SQL results.