Author
Listed:
- Markus Hornsteiner
(Faculty of Informatics and Data Science, University of Regensburg, 93053 Regensburg, Germany)
- Michael Kreussel
(Faculty of Informatics and Data Science, University of Regensburg, 93053 Regensburg, Germany)
- Christoph Steindl
(Faculty of Informatics and Data Science, University of Regensburg, 93053 Regensburg, Germany)
- Fabian Ebner
(Faculty of Informatics and Data Science, University of Regensburg, 93053 Regensburg, Germany)
- Philip Empl
(Faculty of Informatics and Data Science, University of Regensburg, 93053 Regensburg, Germany)
- Stefan Schönig
(Faculty of Informatics and Data Science, University of Regensburg, 93053 Regensburg, Germany)
Abstract
Based on their ability to efficiently and intuitively represent real-world relationships and structures, graph databases are gaining increasing popularity. In this context, this paper proposes an innovative integration of a Large Language Model into NoSQL databases and Knowledge Graphs to bridge the gap in field of Text-to-Cypher queries, focusing on Neo4j. Using the Design Science Research Methodology, we developed a Natural Language Interface which can receive user queries in real time, convert them into Cypher Query Language (CQL), and perform targeted queries, allowing users to choose from different graph databases. In addition, the user interaction is expanded by an additional chat function based on the chat history, as well as an error correction module, which elevates the precision of the generated Cypher statements. Our findings show that the chatbot is able to accurately and efficiently solve the tasks of database selection, chat history referencing, and CQL query generation. The developed system therefore makes an important contribution to enhanced interaction with graph databases, and provides a basis for the integration of further and multiple database technologies and LLMs, due to its modular pipeline architecture.
Suggested Citation
Markus Hornsteiner & Michael Kreussel & Christoph Steindl & Fabian Ebner & Philip Empl & Stefan Schönig, 2024.
"Real-Time Text-to-Cypher Query Generation with Large Language Models for Graph Databases,"
Future Internet, MDPI, vol. 16(12), pages 1-26, November.
Handle:
RePEc:gam:jftint:v:16:y:2024:i:12:p:438-:d:1527136
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jftint:v:16:y:2024:i:12:p:438-:d:1527136. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.