Knowledge Graph Construction for Stock Markets with LLM-Based Explainable Reasoning
The stock market is inherently complex, with interdependent relationships among companies, sectors, and financial indicators. Traditional research has largely focused on time-series forecasting and single-company analysis, relying on numerical data for stock price prediction. While such approaches can provide short-term insights, they are limited in capturing relational patterns, competitive dynamics, and explainable investment reasoning. To address these limitations, we propose a knowledge graph schema specifically designed for the stock market, modeling companies, sectors, stock indicators, financial statements, and inter-company relationships. By integrating this schema with large language models (LLMs), our approach enables multi-hop reasoning and relational queries, producing explainable and in-depth answers to complex financial questions. Figure1 illustrates the system pipeline, detailing the flow from data collection and graph construction to LLM-based query processing and answer generation. We validate the proposed framework through practical case studies on Korean listed companies, demonstrating its capability to extract insights that are difficult or impossible to obtain from traditional database queries alone. The results highlight the potential of combining knowledge graphs with LLMs for advanced investment analysis and decision support.
Code (0)
등록된 구현이 없습니다.
Tasks
Stock Price PredictionAnswer GenerationKnowledge GraphsSimilar Papers 제목 키워드 기반
LLMFactor: Extracting Profitable Factors through Prompts for Explainable Stock Movement Prediction
Recently, Large Language Models (LLMs) have attracted significant attention for their exceptional performance across a broad range of tasks, particularly in text analysis. However, the finance sector presents a distinct …
Sentiment AnalysisTime SeriesTime Series ForecastingMulti-Graph Convolutional Network for Relationship-Driven Stock Movement Prediction
Stock price movement prediction is commonly accepted as a very challenging task due to the volatile nature of financial markets. Previous works typically predict the stock price mainly based on its own information, negle…
Stock PredictionLinkages among the Foreign Exchange, Stock, and Bond Markets in Japan and the United States
While economic theory explains the linkages among the financial markets of different countries, empirical studies mainly verify the linkages through Granger causality, without considering latent variables or instantaneou…
Causal DiscoveryEP-GAT: Energy-based Parallel Graph Attention Neural Network for Stock Trend Classification
Graph neural networks have shown remarkable performance in forecasting stock movements, which arises from learning complex inter-dependencies between stocks and intra-dynamics of stocks. Existing approaches based on grap…
Exploring Graph Neural Networks for Stock Market Predictions with Rolling Window Analysis
Recently, there has been a surge of interest in the use of machine learning to help aid in the accurate predictions of financial markets. Despite the exciting advances in this cross-section of finance and AI, many of the…
Knowledge Graphs