arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.01298cs.IR
收藏

增强知识图谱查询利用大语言模型

Augmented Knowledge Graph Querying leveraging LLMs

University of Pavia(帕维亚大学);University of Milan(米兰大学)

Marco Arazzi, Davide Ligari, Serena Nicolazzo, Antonino Nocera

AI总结:

SparqLLM通过结合RAG和LLM技术,实现高效的知识图谱查询与可视化,提升非专家用户的数据交互能力。

摘要:

采用知识图谱(KGs)作为结构化、语义导向的数据表示模型,显著提高了跨不同领域的数据整合、推理和查询能力。这在现代场景如工业5.0中尤为重要,其中人类、智能设备和生产过程产生的数据整合起着关键作用。然而,使用正式查询语言管理、检索和可视化KG中的数据对于非专家用户来说由于技术复杂性而困难,从而限制了其在工业环境中的使用。为此,我们引入了SparqLLM框架,该框架利用检索增强生成(RAG)解决方案,以增强知识图谱(KGs)的查询能力。SparqLLM执行提取、转换和加载(ETL)管道以从原始数据构建KGs。它还具有由大型语言模型(LLMs)驱动的自然语言接口,以实现自动SPARQL查询生成。通过将基于模板的方法作为检索上下文用于LLM,SparqLLM增强了查询的可靠性并减少了语义错误,确保了更准确和高效的KG交互。此外,为了提高可用性,系统集成了一个动态可视化仪表板,能够适应所检索数据的结构,以直观的格式呈现查询结果。严格实验评估表明,SparqLLM实现了高查询准确性、改进的鲁棒性和用户友好的KG交互,确立了其作为访问语义数据可扩展解决方案的地位。

英文摘要:

Adopting Knowledge Graphs (KGs) as a structured, semantic-oriented, data representation model has significantly improved data integration, reasoning, and querying capabilities across different domains. This is especially true in modern scenarios such as Industry 5.0, in which the integration of data produced by humans, smart devices, and production processes plays a crucial role. However, the management, retrieval, and visualization of data from a KG using formal query languages can be difficult for non-expert users due to their technical complexity, thus limiting their usage inside industrial environments. For this reason, we introduce SparqLLM, a framework that utilizes a Retrieval-Augmented Generation (RAG) solution, to enhance the querying of Knowledge Graphs (KGs). SparqLLM executes the Extract, Transform, and Load (ETL) pipeline to construct KGs from raw data. It also features a natural language interface powered by Large Language Models (LLMs) to enable automatic SPARQL query generation. By integrating template-based methods as retrieved-context for the LLM, SparqLLM enhances query reliability and reduces semantic errors, ensuring more accurate and efficient KG interactions. Moreover, to improve usability, the system incorporates a dynamic visualization dashboard that adapts to the structure of the retrieved data, presenting the query results in an intuitive format. Rigorous experimental evaluations demonstrate that SparqLLM achieves high query accuracy, improved robustness, and user-friendly interaction with KGs, establishing it as a scalable solution to access semantic data.

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

↑