A Large Language Model Based Method for Complex Logical Reasoning over Knowledge Graphs
Ziyan Zhang, Chao Wang, Zhuo Chen, Lei Chen, Chiyi Li, Kai Song

TL;DR
This paper introduces ROG, a novel framework combining knowledge graph retrieval with large language model reasoning to improve complex logical query answering over KGs, outperforming embedding-based methods.
Contribution
The paper presents ROG, a new ensemble approach that integrates query-aware KG retrieval with LLM-based chain-of-thought reasoning for complex FOL queries.
Findings
ROG outperforms embedding-based baselines on standard benchmarks.
Significant improvements on high-complexity query types.
Demonstrates robustness of LLM-driven reasoning in KG tasks.
Abstract
Reasoning over knowledge graphs (KGs) with first-order logic (FOL) queries is challenging due to the inherent incompleteness of real-world KGs and the compositional complexity of logical query structures. Most existing methods rely on embedding entities and relations into continuous geometric spaces and answer queries via differentiable set operations. While effective for simple query patterns, these approaches often struggle to generalize to complex queries involving multiple operators, deeper reasoning chains, or heterogeneous KG schemas. We propose ROG (Reasoning Over knowledge Graphs with large language models), an ensemble-style framework that combines query-aware KG neighborhood retrieval with large language model (LLM)-based chain-of-thought reasoning. ROG decomposes complex FOL queries into sequences of simpler sub-queries, retrieves compact, query-relevant subgraphs as…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Neural Networks · Graph Theory and Algorithms · Semantic Web and Ontologies
