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

使用多路连接在RDF图上原生执行GraphQL查询

Native Execution of GraphQL Queries over RDF Graphs Using Multi-way Joins

Nikolaos Karalis, Alexander Bigerl, Axel-Cyrille Ngonga Ngomo

AI总结:

提出一种受最坏情况最优算法启发的多路左连接算法,实现GraphQL查询在RDF知识图谱上的原生执行,实验表明在查询运行时间和可扩展性上优于现有最先进方案。

摘要:

目的:查询语言GraphQL近年来获得了显著关注。特别是,它最近引起了语义网和图数据库社区的关注,现在常被用作查询知识图谱的手段。大多数支持GraphQL的存储解决方案依赖于一个翻译层,将该语言映射到它们原生支持的另一种查询语言,例如SPARQL。方法:我们的主要创新是一种受最坏情况最优多路连接算法启发的多路左连接算法。这种新颖的算法使得GraphQL查询能够在RDF知识图谱上原生执行。我们使用LinGBM基准生成器在两种设置下评估了我们的方法。结果:实验结果表明,在查询运行时间和可扩展性方面,我们的解决方案优于最先进的GraphQL图存储解决方案。价值:我们的解决方案在一个开源的三元组存储中实现,旨在推进知识图谱的表示无关存储解决方案的发展。

英文摘要:

Purpose: The query language GraphQL has gained significant traction in recent years. In particular, it has recently gained the attention of the semantic web and graph database communities and is now often used as a means to query knowledge graphs. Most of the storage solutions that support GraphQL rely on a translation layer to map the said language to another query language that they support natively, for example SPARQL. Methodology: Our main innovation is a multi-way left-join algorithm inspired by worst-case optimal multi-way join algorithms. This novel algorithm enables the native execution of GraphQL queries over RDF knowledge graphs. We evaluate our approach in two settings using the LinGBM benchmark generator. Findings: The experimental results suggest that our solution outperforms the state-of-the-art graph storage solution for GraphQL with respect to both query runtimes and scalability. Value: Our solution is implemented in an open-sourced triple store, and is intended to advance the development of representation-agnostic storage solutions for knowledge graphs.

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

↑