arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.01080cs.DB
收藏

Rel2Graph:从关系数据库到统一属性知识图的自动化映射

Rel2Graph: Automated Mapping From Relational Databases to a Unified Property Knowledge Graph

Ziyu Zhao, Wei Liu, Tim French, Michael Stewart

AI总结:

本文提出Rel2Graph方法,实现从关系数据库到统一属性知识图的自动化映射,支持SQL到NoSQL查询转换,并在Spider和KaggleDBQA基准上验证了高执行准确率与数据完整性。

摘要:

尽管已有少数方法被提出用于将关系数据库转换为图,但在更广泛的数据库范围内仍缺乏系统性的评估。认识到查询映射这一重要问题,本文提出了一种方法Rel2Graph,这是一种从任意数量的关系数据库自动构建知识图(KGC)的方法。我们的方法还支持将合取SQL查询映射为基于模式的NoSQL查询。我们在两个广泛使用的面向关系数据库的数据集上评估了所提出的方法:用于语义解析的Spider和KaggleDBQA基准。我们采用执行准确率(EA)指标来量化在所构建的属性知识图上执行NoSQL查询所得结果与在关系数据库上执行SQL查询所得结果相一致的比例。因此,可以确保基准的对应属性知识图具有高准确率和高完整性。代码和数据将公开可用。代码和数据可在github获取。

英文摘要:

Although a few approaches are proposed to convert relational databases to graphs, there is a genuine lack of systematic evaluation across a wider spectrum of databases. Recognising the important issue of query mapping, this paper proposes an approach Rel2Graph, an automatic knowledge graph construction (KGC) approach from an arbitrary number of relational databases. Our approach also supports the mapping of conjunctive SQL queries into pattern-based NoSQL queries. We evaluate our proposed approach on two widely used relational database-oriented datasets: Spider and KaggleDBQA benchmarks for semantic parsing. We employ the execution accuracy (EA) metric to quantify the proportion of results by executing the NoSQL queries on the property knowledge graph we construct that aligns with the results of SQL queries performed on relational databases. Consequently, the counterpart property knowledge graph of benchmarks with high accuracy and integrity can be ensured. The code and data will be publicly available. The code and data are available at github\footnote{https://github.com/nlp-tlp/Rel2Graph}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑