SQL Transformation and Response to User Queries Using LLMs in a CQRS-Based Architecture

IoT 기반 산업 환경을 포함한 다양한 도메인에서는 사용자의 질의 조건이 빠르게 변화함에 따라, 상황에 맞는 데이터를 제공할 수 있는 실시간 응답 시스템의 필요성이 증가하고 있다. 본 논문에서는 자연어 질의를 SQL로 자동 변환하고, 변환된 쿼리를 실행해 실시간으로 응답하는 시스템 FineQuery를 제안한다. 이 시스템은 CQRS 아키텍처 기반에서 동작하며, 데이터베이스 메타데이터와 사용자 질의 이력을 활용해 LLM을 도메인 특화 형태로 파인튜닝함으로써 다양한 질의 유형에 효과적으로 대응한다. FineQuery는 총 100개의 테스트 질의 중 90건에서 요구 조건에 부합하는 SQL을 생성해, 기존 모델 대비 성능 향상을 입증하였다. 이는 실제 데이터 시각화 및 대시보드 구축 환경에서의 실용성과 확장 가능성을 보여준다.

Authors

Publication Details

Journal
The Journal of the Korean Institute of Information and Communication Engineering
Published
2025-08-31
DOI
https://doi.org/10.6109/jkiice.2025.29.8.1076
Primary Topic
Advanced Database Systems and Queries
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SQL Transformation and Response to User Queries Using LLMs in a CQRS-Based Architecture

Jae-Young Yu, Hyunju Park, D. T. Moon
The Journal of the Korean Institute of Information and Communication Engineering
Advanced Database Systems and Queries
article

SQL Transformation and Response to User Queries Using LLMs in a CQRS-Based Architecture

Jae-Young Yu, Hyunju Park, D. T. Moon
article en

Abstract

IoT 기반 산업 환경을 포함한 다양한 도메인에서는 사용자의 질의 조건이 빠르게 변화함에 따라, 상황에 맞는 데이터를 제공할 수 있는 실시간 응답 시스템의 필요성이 증가하고 있다. 본 논문에서는 자연어 질의를 SQL로 자동 변환하고, 변환된 쿼리를 실행해 실시간으로 응답하는 시스템 FineQuery를 제안한다. 이 시스템은 CQRS 아키텍처 기반에서 동작하며, 데이터베이스 메타데이터와 사용자 질의 이력을 활용해 LLM을 도메인 특화 형태로 파인튜닝함으로써 다양한 질의 유형에 효과적으로 대응한다. FineQuery는 총 100개의 테스트 질의 중 90건에서 요구 조건에 부합하는 SQL을 생성해, 기존 모델 대비 성능 향상을 입증하였다. 이는 실제 데이터 시각화 및 대시보드 구축 환경에서의 실용성과 확장 가능성을 보여준다.

The Journal of the Korean Institute of Information and Communication EngineeringVol. 29(8)
Openalex Percentile: Top 74%
Advanced Database Systems and Queries
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

SQL Transformation and Response to User Queries Using LLMs in a CQRS-Based Architecture — Jae-Young Yu, Hyunju Park, et al. · The Journal of the Korean Institute of Information and Communication Engineering (2025) | TGRS Research Map | TGRS