An AI-powered knowledge graph-based question answering system for Charak Samhita: integrating sanskrit NLP and graph data science
Abstract
Originating in India, Ayurveda is an ancient medical system focused on holistic healing that considers the mind, body, and spirit. This study utilizes knowledge graph (KG) technology to develop a KG model for an Ayurveda question-and-answer system. The system includes modules for knowledge extraction from चरकसंहिता, कायहचहकत्सा, भैषज्यरत्नावली and द्रव्यगुण संग्रि, construction of KG from this extracted knowledge and construction of AI supported Question answer system. In the methodology, domain-specific KG is constructed in Neo4j. Entities such as diseases (Vyadhi व्याधी), symptoms (Lakshana लक्षण), doshas (दोष), herbs, and treatments are incorporated. Advanced Sanskrit natural language processing (NLP) pipelines using ByT5-Sanskrit, SanskritBERT, and fine-tuned BioBERT facilitate named entity recognition (NER) and relation extraction. Graph-based reasoning models such as graph attention networks (GAT) and graph reasoning enhanced language models (GREASELM) enhance multi-hop reasoning across Ayurvedic concepts. Evaluation was conducted using a gold-standard annotated dataset of Charak Samhita verses mapped to disease–symptom–treatment relationships. Performance metrics included precision, recall, F1-score, mean reciprocal rank (MRR), and overlap coefficient. Superior accuracy can be seen in the proposed model as compared to baseline BERT-QA and subgraph QA approaches. This research has integrated Sanskrit computational linguistics and KG science. The approach mentioned in this paper has mentioned a framework that is scalable, interpretable and culturally significant. With the focus on Ayurveda, the methodology also mentions the potential for developing cross-cultural medical questions–answering systems, thereby bridging ancient wisdom with modern technological approaches.
Keywords
Ayurveda; Charak Samhita; Knowledge graph; Natural language processing; Question-answer systems
Full Text:
PDFDOI: http://doi.org/10.11591/ijict.v15i3.pp1197-1207
Refbacks
- There are currently no refbacks.
Copyright (c) 2026 Sharayu Mirasdar, Mangesh Bedekar

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
The International Journal of Informatics and Communication Technology (IJ-ICT)
p-ISSN 2252-8776, e-ISSN 2722-2616
This journal is published by the Intelektual Pustaka Media Utama (IPMU).