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

ARUQULA——一种基于大语言模型、采用ReAct与知识图谱探索工具的Text2SPARQL方法

ARUQULA -- An LLM based Text2SPARQL Approach using ReAct and Knowledge Graph Exploration Utilities

Institute for Applied Informatics at Leipzig University(莱比锡大学应用信息学院);Leipzig University(莱比锡大学);Chemnitz Technical University(Chemnitz技术大学)

Felix Brei, Lorenz Bühmann, Johannes Frey, Daniel Gerber, Lars-Peter Meyer, Claus Stadler, Kirill Bulert

AI总结:

针对SPARQL查询门槛高的问题,提出基于SPINACH智能体的Text2SPARQL方法ARUQULA,通过迭代探索执行实现翻译,并分析智能体行为以指明改进方向。

摘要:

对于没有计算机科学背景的人而言,与知识图谱交互可能是一项艰巨的任务,因为所使用的查询语言SPARQL具有很高的入门门槛。大语言模型(LLM)可以通过提供Text2SPARQL翻译形式的支持来降低这一门槛。本文提出了一种基于SPINACH的通用方法,SPINACH是一个由LLM支撑的智能体,它并非一次性将自然语言问题转换为SPARQL查询,而是将其作为一个探索与执行的迭代过程来完成。我们阐述了整体架构以及设计决策背后的考量,还对智能体行为进行了深入分析,从而为未来的定向改进方向提供洞见。本研究的动因来自Text2SPARQL挑战赛,该赛事旨在推动Text2SPARQL领域的发展。

英文摘要:

Interacting with knowledge graphs can be a daunting task for people without a background in computer science since the query language that is used (SPARQL) has a high barrier of entry. Large language models (LLMs) can lower that barrier by providing support in the form of Text2SPARQL translation. In this paper we introduce a generalized method based on SPINACH, an LLM backed agent that translates natural language questions to SPARQL queries not in a single shot, but as an iterative process of exploration and execution. We describe the overall architecture and reasoning behind our design decisions, and also conduct a thorough analysis of the agent behavior to gain insights into future areas for targeted improvements. This work was motivated by the Text2SPARQL challenge, a challenge that was held to facilitate improvements in the Text2SPARQL domain.

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

↑