Context-Aware Query Interpretation in Legal Information Systems
DOI:
https://doi.org/10.51983/ijiss-2025.IJISS.15.3.14Keywords:
Context-Aware, Query Interpretation, Legal Information Retrieval, Semantic Search, Ontology, User Context Modeling, Artificial Intelligence in LawAbstract
The need for user-specific context, the diversity of jurisdictions, and the complexity of legal language all contribute to the delay in accessing accurate legal information. Conventional keyword-based retrieval and even semantic search engines frequently return irrelevant and/or incomplete results due to their inability to incorporate those subtleties. To enhance the retrieval of legal information, this study proposes a system known as Context-Aware Query Interpretation (CAQI). The CAQI system has three main components: user profiling, query reformulation, and ontology-driven semantic enrichment. The model uses legal ontologies to resolve polysemy and hierarchical relationships. To refine query interpretation, context vectors encode user role, jurisdiction, and task intent. The method generates relevance scores that align with textual meaning and contextual appropriateness, utilizing a hybrid ranking function that combines lexical similarity (BM25) with semantic embeddings. The evaluation was validated by a user survey with legal professionals and performed on a curated dataset of 500 annotated legal queries. Outcomes demonstrate substantial improvements in retrieval accuracy, with CAQI outperforming baseline keyword and semantic models in Precision@10, Mean Reciprocal Rank (MRR), Discounted Cumulative Gain (DCG), and Contextual Relevance Score (CRS). To improve decision support, legal research efficiency, and user trust in intelligent legal information systems, these findings suggest that CAQI can "think like a lawyer" by dynamically aligning queries with jurisdictional and task-specific contexts.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 The Research Publication

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.







