Direkt zum Inhalt

Hornsteiner, Markus ; Kreussel, Michael ; Steindl, Christoph ; Ebner, Fabian ; Empl, Philip ; Schönig, Stefan

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.



Involved Institutions


Details

Item typeArticle
Journal or Publication TitleFuture Internet
Publisher:MDPI
Volume:16
Number of Issue or Book Chapter:12
Page Range:p. 438
Date22 November 2024
InstitutionsBusiness, 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
ValueType
10.3390/fi16120438DOI
Keywordschatbot; ChatGPT; cypher language; graph database; knowledge graphs; LLM; natural language interface; Neo4j; question answering
Dewey Decimal Classification000 Computer science, information & general works > 004 Computer science
StatusPublished
RefereedYes, this version has been refereed
Created at the University of RegensburgYes
URN of the UB Regensburgurn:nbn:de:bvb:355-epub-596950
Item ID59695

Export bibliographical data

Owner only: item control page

nach oben