It is increasingly common to find complex data represented through the graph model. Contrary to relational models, graphs offer a high capacity for executing analytical tasks on complex data. Since a huge amount of data is still presented in terms of relational tables, it is necessary to understand how to translate this data into graphs. This paper proposes a complete mapping process that allows transforming any relational database (schema and instance) into a property graph database (schema and instance). Contrary to existing mappings, our solution preserves the three fundamental mapping properties, namely: information preservation, semantic preservation and query preservation. Moreover, we study mapping any SQL query into an equivalent Cypher query, which makes our solution practical. Existing solutions are either incomplete or based on non-practical query language. Thus, this work is the first complete and practical solution for mapping relations to graphs.
翻译:与相关模型相反,图表提供了执行复杂数据分析任务的高度能力。由于大量数据仍然以相关表格的形式提供,因此有必要了解如何将这些数据转换成图表。本文件提议了一个完整的绘图过程,将任何关联数据库(系统与实例)转换成属性图表数据库(系统与实例)。与现有的绘图相反,我们的解决方案保留了三种基本绘图属性,即信息保存、语义保存和查询保存。此外,我们研究将任何SQL查询绘制成一个等效的Cypher查询,使我们的解决方案变得实用。现有的解决方案要么不完整,要么以非实用的查询语言为基础。因此,这项工作是绘制图表关系的第一个完整而实用的解决方案。