| Published Version Download ( PDF | 1MB) | License: Creative Commons Attribution 4.0 |
Real-Time Text-to-Cypher Query Generation with Large Language Models for Graph Databases
Hornsteiner, Markus, Kreussel, Michael, Steindl, Christoph, Ebner, Fabian, Empl, Philip
and Schönig, Stefan
(2024)
Real-Time Text-to-Cypher Query Generation with Large Language Models for Graph Databases.
Future Internet 16 (12), p. 438.
Date of publication of this fulltext: 25 Nov 2024 18:05
Article
DOI to cite this document: 10.5283/epub.59695
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 ...
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.
Alternative links to fulltext
Involved Institutions
Details
| Item type | Article | ||||
| Journal or Publication Title | Future Internet | ||||
| Publisher: | MDPI | ||||
|---|---|---|---|---|---|
| Volume: | 16 | ||||
| Number of Issue or Book Chapter: | 12 | ||||
| Page Range: | p. 438 | ||||
| Date | 22 November 2024 | ||||
| Institutions | Business, Economics and Information Systems > Institut für Wirtschaftsinformatik > Professur für Wirtschaftsinformatik insbesondere IoT-basierte Informationssysteme – Prof. Dr. Stefan Schönig Informatics and Data Science > Department Information Systems > Professur für Wirtschaftsinformatik insbesondere IoT-basierte Informationssysteme – Prof. Dr. Stefan Schönig | ||||
| Identification Number |
| ||||
| Keywords | chatbot; ChatGPT; cypher language; graph database; knowledge graphs; LLM; natural language interface; Neo4j; question answering | ||||
| Dewey Decimal Classification | 000 Computer science, information & general works > 004 Computer science | ||||
| Status | Published | ||||
| Refereed | Yes, this version has been refereed | ||||
| Created at the University of Regensburg | Yes | ||||
| URN of the UB Regensburg | urn:nbn:de:bvb:355-epub-596950 | ||||
| Item ID | 59695 |
Download Statistics
Download Statistics