{'fraction_non_alphanumeric': 0.021940928270042195, 'fraction_numerical': 0.0, 'mean_word_length': 4.813725490196078, '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}}
Designing and implementing XML schema inside OWL ontology

The extensible Markup Language (XML) has known since its beginnings an undeniable success. Defined since its origins as a meta-language facilitating the development of specialized tags Languages, nowadays, many documents benefit from the XML frame. But even if this language is strongly used in the web as a way of data exchange between applications, it still lack the capacity of defining the web resources and the system that uses them, and also the capacity of expressing the knowledge provided by XML documents. It's these lacks that proposes the Web Ontology Language (OWL) proposes to fill. In fact, OWL is a language for ontologies representation in the context of Semantic Web (SW). It's in this context that we're obliged to come up with a solution that allows migration to the SW in order to follow the WEB evolution. Among the suggested solutions, our approach models and implements a set of rules that allow transforming an XML Schema Definition (XSD) to Ontology. This mapping will transform not only the nodes of an XML file but also the relationships between these nodes in order to maintain the same structure.