Mapping XML to RDF: An algorithm based on element classification and aggregation

Yuchun Liu, Zhiyu Hong · Journal of Physics Conference Series · 2021

Abstract Many data in Web are exchanged and stored in XML. RDF achieves rapid response and reasoning by aggregating a large amount of knowledge. It has been widely used in intelligent field as a way of data organization. Building RDF based on XML is the focus of this article. This paper analyzes the tree structure of XML, divides the XML elements into three sub-models according to the structure, then aggregates and classifies XML elements, and abstracts the aggregates into three abstract structure models, and finally proposes related mapping rules. Based on the optimization of existing methods, this paper proposes an XML-to-RDF mapping algorithm based on element classification and aggregation, which is reflected in three aspects: optimized mapping rules to ensure the completeness and accuracy of data content and semantics; proposed general algorithms for different types of XML; identified equivalent elements of XML and solved the problem of RDF data redundancy caused by such equivalent elements.

Read the paper · More papers on PaperTik