Skip to main navigation Skip to search Skip to main content

Augmented Knowledge Graph Querying leveraging LLMs

  • Marco Arazzi
  • , Davide Ligari
  • , SERENA NICOLAZZO
  • , Antonino Nocera

Research output: Contribution to conferencePaperpeer-review

Abstract

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, where the integration of data from humans, smart devices, and production processes is crucial, not only for industrial innovation, but also for supporting the digital transition of government administrations and organizations. 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.
Original languageEnglish
Pages1-8
Number of pages8
DOIs
Publication statusPublished - 2025
Event2025 International Joint Conference on Neural Networks, IJCNN 2025 - Pontifical Gregorian University, ita
Duration: 1 Jan 2025 → …

Conference

Conference2025 International Joint Conference on Neural Networks, IJCNN 2025
CityPontifical Gregorian University, ita
Period1/01/25 → …

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 9 - Industry, Innovation, and Infrastructure
    SDG 9 Industry, Innovation, and Infrastructure

Keywords

  • Knowledge Graph
  • NLP
  • Ontology-Driven Data Modeling
  • Question Answering
  • SPARQL Query Generation

Fingerprint

Dive into the research topics of 'Augmented Knowledge Graph Querying leveraging LLMs'. Together they form a unique fingerprint.

Cite this