GraphRAG-Based Indian Legal Question Answering System
Answering legal questions in the Indian legal domain poses a challenge due to long judgements, complex legal terminology and the complex relations between cases, laws, judges and parties involved. Traditional Retrieval-Augmented Generation (RAG) methods rely mainly on semantic similarity and therefore lack explicit relation between elements. This paper evaluates the effectiveness of a knowledge graph enhanced RAG approach to answer legal questions. A RAG approach is used where additional structured information is retrieved from a pre-existing legal knowledge graph. 589 Indian Supreme Court judgements were used in 2016 alongside a knowledge graph with 4462 nodes and 8363 edges. Both traditional RAG and knowledge-graph-enhanced RAG were evaluated using 500 legal questions related to 356 cases. As both methods included the same retrieval step, they achieved the same results during retrieval. Precision@5 was 10.36% and Recall@5 was 51.80%. The knowledge-graph-enhanced approach achieved marginally better results with answer relevance being 36.37% compared to 35.50%. The knowledge graph enhanced method had a much higher context support score (46.21%) than the traditional approach (29.86%). This could be due to the extra information being retrieved from the graph and longer generation context. There was no evidence to show the knowledge-graph-enhanced approach had better retrieval results, legal correctness, claim faithfulness or citation accuracy. Further testing is required with specific context limits and expert evaluation to determine if it is effective.
Authors
- Prasad Kokate
- Aryan Patil
- Janavi Shinde
- Jayshree Aher
- Amit Gholasgaon
- Amit Jadhav
Institutions
- MIT World Peace University (IN)
- Massachusetts Institute of Technology (US)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-29
- DOI
- https://doi.org/10.5281/zenodo.24652662
- Primary Topic
- Artificial Intelligence in Law
- Type
- article
- Field-Weighted Citation Impact
- 0.00