CoChat

Traditional Chinese Medicine Knowledge Graph Construction Based on Large Language Models

Open access
Zhang, Yichong, Hao, Yongtao · 2024 · Electronics

The DOI matches its Crossref record; 22 of the 22 references it cites were found in a registry or an index.

Abstract

This study explores the use of large language models in constructing a knowledge graph for Traditional Chinese Medicine (TCM) to improve the representation, storage, and application of TCM knowledge. The knowledge graph, based on a graph structure, effectively organizes entities, attributes, and relationships within the TCM domain. By leveraging large language models, we collected and embedded substantial TCM–related data, generating precise representations transformed into a knowledge graph format. Experimental evaluations confirmed the accuracy and effectiveness of the constructed graph, extracting various entities and their relationships, providing a solid foundation for TCM learning, research, and application. The knowledge graph has significant potential in TCM, aiding in teaching, disease diagnosis, treatment decisions, and contributing to TCM modernization. In conclusion, this paper utilizes large language models to construct a knowledge graph for TCM, offering a vital foundation for knowledge representation and application in the field, with potential for future expansion and refinement.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.3390/electronics13071395

Cites

22 of 22 references verified0 citation errors · 0 not checkable

Statistics

Figures

Figure 1 Framework for constructing TCM knowledge graph. The application of LLMs in entity extraction and relation extraction tasks is among them. Figure 1. Framework for constructing TCM knowledge graph. The application of LLMs in entity extraction and relation extraction tasks is among them.
Figure 1 Framework for constructing TCM knowledge graph. The application of LLMs in entity extraction and relation extraction tasks is among them. Figure 1. Framework for constructing TCM knowledge graph. The application of LLMs in entity extraction and relation extraction tasks is among them.CC-BY · From the PDF
Figure 2 Illustration of an example of semi -structured data extraction from Baidu Baike. This section pertains to the InfoBox section, where the red-boxed area represents basicInfo -item name, and the data within the blue boxes are basicInfo -item values. This section primarily serves the purpose of constructing property triplets. Figure 2. Illustration of an example of semi-structured data extraction from Baidu Baike. This section pertains to the InfoBox section, where the red-boxed area represents basicInfo-item name, and the data within the blue boxes are basicInfo-item values. This section primarily serves the purpose of constructing property triplets.
Figure 2 Illustration of an example of semi -structured data extraction from Baidu Baike. This section pertains to the InfoBox section, where the red-boxed area represents basicInfo -item name, and the data within the blue boxes are basicInfo -item values. This section primarily serves the purpose of constructing property triplets. Figure 2. Illustration of an example of semi-structured data extraction from Baidu Baike. This section pertains to the InfoBox section, where the red-boxed area represents basicInfo-item name, and the data within the blue boxes are basicInfo-item values. This section primarily serves the purpose of constructing property triplets.CC-BY · From the PDF
Figure 4 Named entity recognition self-verification example. This prompt consists of three (1) Task description (green part): located at the top of the table, it indicates that the current the iFLYTEK Spark Cognitive Large Model is to determine whether a given entity is a disease (2) Few-shot demonstrations (red part): positioned in the middle of the table, it provides Figure 4. Named entity recognition self-verification example. This prompt consists of three parts: (1) Task description (green part): located at the top of the table, it indicates that the current task for the iFLYTEK Spark Cognitive Large Model is to determine whether a given entity is a disease entity. (2) Few-shot demonstrations (red part): positioned in the middle of the table, it provides a few examples for reference to showcase the few-shot learning approach employed by the iFLYTEK Spark Cognitive Large Model. (3) Input sentences (blue part): found at the bottom of the table, it represents the input sentences and corresponding output results, with the results generated by the iFLYTEK Spark Cognitive Large Model highlighted in bold.
Figure 4 Named entity recognition self-verification example. This prompt consists of three (1) Task description (green part): located at the top of the table, it indicates that the current the iFLYTEK Spark Cognitive Large Model is to determine whether a given entity is a disease (2) Few-shot demonstrations (red part): positioned in the middle of the table, it provides Figure 4. Named entity recognition self-verification example. This prompt consists of three parts: (1) Task description (green part): located at the top of the table, it indicates that the current task for the iFLYTEK Spark Cognitive Large Model is to determine whether a given entity is a disease entity. (2) Few-shot demonstrations (red part): positioned in the middle of the table, it provides a few examples for reference to showcase the few-shot learning approach employed by the iFLYTEK Spark Cognitive Large Model. (3) Input sentences (blue part): found at the bottom of the table, it represents the input sentences and corresponding output results, with the results generated by the iFLYTEK Spark Cognitive Large Model highlighted in bold.CC-BY · From the PDF
Figure 5 Entity relationship extraction example. The prompt consists of three parts: (1) Task description (green part): at the top of the table, it indicates that the current task for the iFLYTEK Spark Cognitive Large Model is to determine, using linguistic knowledge, whether a given relationship is a manifestation relationship. (2) Few-shot demonstrations (red part): in the middle of the table, a few examples are provided for reference to demonstrate how iFLYTEK Spark Cognitive Large Model performs in few-shot scenarios. (3) Input sentences (blue part): at the bo tt om of the table, it presents input sentences and their corresponding output results, with the output from the iFLYTEK Spark Cognitive Large Model highlighted in bold. Figure 5. Entity relationship extraction example. The prompt consists of three parts: (1) Task description (green part): at the top of the table, it indicates that the current task for the iFLYTEK Spark Cognitive Large Model is to determine, using linguistic knowledge, whether a given relationship is a manifestation relationship. (2) Few-shot demonstrations (red part): in the middle of the table, a few examples are provided for reference to demonstrate how iFLYTEK Spark Cognitive Large Model performs in few-shot scenarios. (3) Input sentences (blue part): at the bottom of the table, it presents input sentences and their corresponding output results, with the output from the iFLYTEK Spark Cognitive Large Model highlighted in bold.
Figure 5 Entity relationship extraction example. The prompt consists of three parts: (1) Task description (green part): at the top of the table, it indicates that the current task for the iFLYTEK Spark Cognitive Large Model is to determine, using linguistic knowledge, whether a given relationship is a manifestation relationship. (2) Few-shot demonstrations (red part): in the middle of the table, a few examples are provided for reference to demonstrate how iFLYTEK Spark Cognitive Large Model performs in few-shot scenarios. (3) Input sentences (blue part): at the bo tt om of the table, it presents input sentences and their corresponding output results, with the output from the iFLYTEK Spark Cognitive Large Model highlighted in bold. Figure 5. Entity relationship extraction example. The prompt consists of three parts: (1) Task description (green part): at the top of the table, it indicates that the current task for the iFLYTEK Spark Cognitive Large Model is to determine, using linguistic knowledge, whether a given relationship is a manifestation relationship. (2) Few-shot demonstrations (red part): in the middle of the table, a few examples are provided for reference to demonstrate how iFLYTEK Spark Cognitive Large Model performs in few-shot scenarios. (3) Input sentences (blue part): at the bottom of the table, it presents input sentences and their corresponding output results, with the output from the iFLYTEK Spark Cognitive Large Model highlighted in bold.CC-BY · From the PDF
Figure 7 'Sinusitis with Pa tt ern of Wind-heat in Lung Channel' and its Partially Related Entities in TCM knowledge graph. Different colored circles represent different entities, and the text on the arrows indicates the relationship between the two entities, with the arrow pointing from the subject to the object. Figure 7. 'Sinusitis with Pattern of Wind-heat in Lung Channel' and its Partially Related Entities in TCM knowledge graph. Different colored circles represent different entities, and the text on the arrows indicates the relationship between the two entities, with the arrow pointing from the subject to the object.
Figure 7 'Sinusitis with Pa tt ern of Wind-heat in Lung Channel' and its Partially Related Entities in TCM knowledge graph. Different colored circles represent different entities, and the text on the arrows indicates the relationship between the two entities, with the arrow pointing from the subject to the object. Figure 7. 'Sinusitis with Pattern of Wind-heat in Lung Channel' and its Partially Related Entities in TCM knowledge graph. Different colored circles represent different entities, and the text on the arrows indicates the relationship between the two entities, with the arrow pointing from the subject to the object.CC-BY · From the PDF
Figure A1. 'Pulmonray Abscess' and its Partially Related Entities in TCM knowledge graph. Different colored circles represent different entities, and the text on the arrows indicates the relationship between the two entities, with the arrow pointing from the subject to the object.
Figure A1. 'Pulmonray Abscess' and its Partially Related Entities in TCM knowledge graph. Different colored circles represent different entities, and the text on the arrows indicates the relationship between the two entities, with the arrow pointing from the subject to the object.CC-BY · From the PDF
Figure A2. 'Yin Qiao San' and its Partially Related Entities in TCM knowledge graph. Different colored circles represent different entities, and the text on the arrows indicates the relationship between the two entities, with the arrow pointing from the subject to the object. Figure A2. 'Yin Qiao San' and its Partially Related Entities in TCM knowledge graph. Different colored circles represent different entities, and the text on the arrows indicates the relationship between the two entities, with the arrow pointing from the subject to the object.
Figure A2. 'Yin Qiao San' and its Partially Related Entities in TCM knowledge graph. Different colored circles represent different entities, and the text on the arrows indicates the relationship between the two entities, with the arrow pointing from the subject to the object. Figure A2. 'Yin Qiao San' and its Partially Related Entities in TCM knowledge graph. Different colored circles represent different entities, and the text on the arrows indicates the relationship between the two entities, with the arrow pointing from the subject to the object.CC-BY · From the PDF

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Research works printed but not linked: 20

  1. Sun, X.; Xing, Y. Constructing a health management system with Chinese characteristics: Conceptualization of the construction of the "Cure for Future Diseases" health project. J. Guangzhou Univ. Tradit. Chin. Med. 2010, 27, 517-551.
  2. Liu, Y.; Duan, H.; Sui, Z. A data base study on knowledge discovery of unrelated literature-The construction of linguistic knowledge base of ancient Chinese medicine literature as an example. J. Intell. 2006, 9, 21-26.
  3. Singhal, A. Introducing the knowledge graph: Things, not strings. GoogleBlog 2012, 5, 3.
  4. Chen, H.; Luo, X. An automatic literature knowledge graph and reasoning network modeling framework based on ontology and natural language processing. Adv. Eng. Inform. 2019, 42, 100959.
  5. Krishna Kommineni, V.; König-Ries, B.; Samuel, S. From human experts to machines: An LLM supported approach to ontology and knowledge graph construction. arXiv 2024, arXiv:2403.08345. · arXiv
  6. Raiaan, M.A.K.; Fatema, K.; Khan, I.U.; Azam, S.; ur Rashid, M.R.; Mukta, M.S.H.; Jonkman, M.; De Boer, F. A lightweight robust deep learning model gained high accuracy in classifying a wide range of diabetic retinopathy images. IEEE Access 2023, 11, 42361-42388.
  7. Xu, T.; Guo, C.; Du, L.; Xu, J.; Zhang, P.; Feng, X.; Li, M. A Method for Traditional Chinese Medicine Knowledge Graph Dynamic Construction. In Proceedings of the 5th International Conference on Big Data Technologies, Qingdao, China, 23-25 September 2022; pp. 196-202.
  8. Cheng, B.; Zhang, J.; Liu, H.; Cai, M.; Wang, Y. Research on medical knowledge graph for stroke. J. Healthc. Eng. 2021, 2021, 5531327.
  9. Xiong, W.; Cao, J.; Zhou, X.; Du, J.; Nie, B.; Zeng, Z.; Li, T. Design and evaluation of a prescription drug monitoring program for Chinese patent medicine based on knowledge graph. Evid.-Based Complement. Altern. Med. 2021, 2021, 9970063.
  10. Zhou, Y.; Qi, X.; Huang, Y.; Ju, F. Research on construction and application of TCM knowledge graph based on ancient Chinese texts. In Proceedings of the IEEE/WIC/ACM International Conference on Web Intelligence-Companion Volume, Thessaloniki, Greece, 14-17 October 2019; pp. 144-147.
  11. Zheng, Z.; Liu, Y.; Zhang, Y.; Wen, C. TCMKG: A deep learning based traditional Chinese medicine knowledge graph platform. In Proceedings of the 2020 IEEE International Conference on Knowledge Graph (ICKG), Nanjing, China, 9-11 August 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 560-564.
  12. Sun, X.; Xing, Y. Constructing a health management system with Chinese characteristics: Conceptualization of the construction of the "Cure for Future Diseases" health project. J. Guangzhou Univ. Tradit. Chin. Med. 2010, 27, 517-551.
  13. He, H.; Henderson, J.; Ho, J.C. Distributed tensor decomposition for large scale health analytics. In Proceedings of the World Wide Web Conference, San Francisco, CA, USA, 13-17 May 2019; pp. 659-669.
  14. Liu, Y.; Duan, H.; Sui, Z. A data base study on knowledge discovery of unrelated literature-The construction of linguistic knowledge base of ancient Chinese medicine literature as an example. J. Intell. 2006, 9, 21-26.
  15. Liu, B.; Xiao, X.; Zou, B.; Zhou, Z.; Zheng, L.; Tan, J. A BERT-BiLSTM-CRF Named Entity Recognition Model for Traditional Chinese Medicine Cases Incorporating Chinese Character Radicals. biomedRxiv 2023, biomedRxiv:202303.00004.
  16. He, Y.; Luo, C.; Hu, B. A Geographic Named Entity Recognition Method Based on the Combination of CRF and Rules. Comput. Appl. Softw. 2015, 32, 179-185.
  17. Han, X.; Huang, D. Study of Chinese Part-of-Speech Tagging Based on Semi-Supervised Hidden Markov Model. Small Micro- comput. Syst. 2015, 36, 2813-2816.
  18. Devlin, J.; Chang, M.W.; Lee, K.; Toutanova, K. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv 2018, arXiv:181004805.
  19. Wang, S.; Sun, X.; Li, X.; Ouyang, R.; Wu, F.; Zhang, T.; Li, J.; Wang, G. Gpt-ner: Named entity recognition via large language models. arXiv 2023, arXiv:2304.10428. · arXiv
  20. E, H.-H.; Zhang, W.-J.; Xiao, S.-Q.; Cheng, R.; Hu, Y.-X.; Zhou, X.-S.; Niu, P.-Q. Survey of entity relationship extraction based on deep learning. J. Softw. 2019, 30, 1793-1818.

Cited by

See all 60

Metadata

Authors
Zhang, Y., & Hao, Y.
Affiliations
Tongji University (CN)
Corresponding author
Hao, Yongtao
Venue
Electronics
Publisher
MDPI AG
Published
2024-04-07
Volume
13
Issue
7
Pages
1395
ISSN
2079-9292 (ISSN-L)
OpenAlex
W4394571637
Cited by
59
References
16
Citations by year
2026: 23 · 2025: 29 · 2024: 7
FWCI
8.71
Type
journal article
Language
en
Open access
Locations
Electronics (publishedVersion, cc-by)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Advanced Graph Neural Networks
  • Physical Sciences › Computer Science › Artificial Intelligence › Semantic Web and Ontologies
  • Health Sciences › Medicine › Health Informatics › Biomedical Text Mining and Ontologies
Keywords
traditional Chinese medicine, knowledge graph construction, large language models, named entity recognition, relation extraction, knowledge representation, TCM modernization

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.