Conversational graph retrieval augmented generation for legal land advisory services

dc.contributor.author Magino, Daniel
dc.contributor.author Owiny-Dollo, Marvin
dc.contributor.author Natukunda, Phionah
dc.contributor.author Kaitesi, Joan
dc.date.accessioned 2025-11-25T06:21:02Z
dc.date.available 2025-11-25T06:21:02Z
dc.date.issued 2025
dc.description A project report submitted to the School of Computing and Informatics Technology, for the study leading to a project report in partial fulfilment of the requirements for the award of the Degree of Bachelor of Science in Computer Science of Makerere University. en_US
dc.description.abstract Accessing accurate and comprehensible legal land information in Uganda remains a major challenge, particularly for individuals in rural areas who may face barriers such as limited awareness of legal procedures or lack of access to qualified legal professionals. The problem lies in effectively retrieving and generating context aware legal guidance from diverse, unstructured, and often scanned sources while ensuring that the information is interpretable, linguistically accessible, and robust against document quality issues. AnAIpowered land advisory system was developed that leverages Graph Retrieval Augmented Generation (Graph RAG) and Computer Vision to provide intelligent, context aware legal support. Graph RAG builds upon Retrieval Augmented Generation (RAG) by introducing a structured knowledge graph composed of entities, legal clauses, and inter document relationships, providing more interpretable responses across multiple legal sources, making it especially suitable for complex legal queries that require structured understanding. Computer Vision techniques were applied exclusively to scanned land title documents using deep learning models including CNN, ResNet, VGG16, VGG19, and Vision Transformer (ViT). An ensemble learning approach combining these models via majority voting significantly improved classification robustness, particularly in handling noisy scans, occlusions, or overlapping features. Among the individual models, ViT achieved the highest classification accuracy at 98%, while the ensemble achieved an average F1 score of 97% across all test samples. The semantic search component was implemented using SentenceTransformers and FAISS indexing, while generative question answering was handled by a fine tuned T5 model, trained over 50 epochs, achieving a validation accuracy of 98% with a validation loss of 0.45. User interaction is supported via a multilingual web interface, where system responses are automatically translated to Luganda using voice synthesis at the output stage to improve accessibility. The system demonstrates a scalable, intelligent conversational legal decision support tool for delivering legal land information through natural conversation and offers a practical solution to bridge the information gap in land governance, empowering citizens to make informed decisions regarding land rights and documentation. en_US
dc.description.sponsorship Makerere University COCIS RISE and MakRIF en_US
dc.identifier.citation Magino, D., Owiny-Dollo, M., Natukunda, P. & Kaitesi, J. (2025). Conversational graph retrieval augmented generation for legal land advisory services (Unpublished undergraduate dissertation). Makerere University, Kampala, Uganda. en_US
dc.identifier.uri http://hdl.handle.net/20.500.12281/21217
dc.language.iso en en_US
dc.publisher Makerere University en_US
dc.subject Conversational AI en_US
dc.subject Natural Language Processing en_US
dc.subject Multi-Modeling en_US
dc.subject Legal Advisory Services en_US
dc.subject Knowledge Graph Retrieval Augmentation en_US
dc.subject Computer Vision en_US
dc.subject Large Language Models en_US
dc.title Conversational graph retrieval augmented generation for legal land advisory services en_US
dc.type Thesis en_US
Files