Daily Arxiv

This is a page that curates AI-related papers published worldwide.
All content here is summarized using Google Gemini and operated on a non-profit basis.
Copyright for each paper belongs to the authors and their institutions; please make sure to credit the source when sharing.

An Ontology-Driven Graph RAG for Legal Norms: A Hierarchical, Temporal, and Deterministic Approach

Created by
  • Haebom

Author

Hudson de Martim

Outline

This paper presents an ontology-based graph RAG framework to address the challenges faced by Retrieval-Augmented Generation (RAG) systems in the legal domain. To address the problem that existing simple text retrieval methods fail to account for the hierarchical, temporal, and causal structures of law, resulting in anachronistic and unreliable answers, we build a knowledge graph based on a formal model inspired by the LRMoo model. We distinguish between abstract legal documents (Works) and their versions (Expressions), efficiently aggregate temporal states, and reuse unchanged versions of components. Furthermore, we explicitly designate legislative events as primary action nodes, making causal relationships explicit and queryable. This structural foundation allows us to apply a planner-driven, integrated query strategy to deterministically address complex requests such as (i) point-in-time retrieval, (ii) hierarchical impact analysis, and (iii) auditable provenance reconstruction. A case study on the Brazilian Constitution demonstrates that the proposed approach provides a verifiable and temporally accurate foundation for LLMs, enabling high-dimensional analysis capabilities and significantly reducing the risk of factual errors. Ultimately, it provides a practical framework for building more trustworthy and explainable legal AI systems.

Takeaways, Limitations

Takeaways:
We present an ontology-based graph RAG framework that contributes to improving the reliability and explainability of legal domain RAG systems.
Enhanced high-dimensional analysis capabilities through temporal accuracy and causal considerations.
Reduce the risk of factual errors and provide verifiable results.
Providing a practical framework for developing legal AI systems.
Limitations:
The applicability of the presented framework is limited to the case study of the Brazilian Constitution. Further research is needed to determine its generalizability to other legal systems and data sets.
The ontology design based on the LRMoo model may require adaptation to specific legal systems. Applicability to various legal systems needs to be verified.
The complexity of planner-driven query strategies can lead to performance degradation. Further research is needed to develop efficient query processing methods.
👍