1. Introduction
Yijing has been full of mystery since it came out. Although few people understand it, it has been passed down from generation to generation and has been enriched and developed continuously. As an important part of China traditional culture, Yijing contains profound philosophical thoughts and wisdom. However, due to its highly generalized language and complex theoretical system, many people are difficult to understand. In the development of thousands of years, I have formed different schools, such as Yi school, Xiang Shu school, Mathematical school, Na Yin school and so on. Some famous philosophers, thinkers and scientists have established their own school system and discipline system based on the ideological data provided by the classics and biographies of Yijing, so there are also Confucian Yi, Physician Yi and Artist Yi. As a result, the Yi-ology has been enriched and developed, and the scope and contents of the Yi-ology have also been expanded, thus forming a systematic academic with a unique oriental way of thinking, integrating the wisdom of China's civilization for thousands of years, and aiming at exploring the law of the change of human nature in heaven. There are many people who study Yijing or engage in matters related to Yijing. To sum up, it can be roughly divided into three types: academic, Jianghu and supernatural. Therefore, the people we see studying Yi cannot be generalized, but vary from person to person. The author thinks that Yijing and divination prediction are not science, but contain science and surpass it.
Although Yijing is an ancient book in China, its spread is not limited to China. As early as the Han Dynasty, it spread to the Korean Peninsula and Japan. After the 15th century, it spread to Europe, and then it developed continuously. With the development of globalization, more and more cultures have been spread and recognized around the world. In this process, Yijing, as one of the representatives of Chinese culture, is also playing an important role. Yijing has been translated into many languages and widely spread around the world. Many western philosophers and scholars have developed a strong interest in Yijing, which is regarded as a classic with profound philosophical thoughts. [
1] The core idea of Yijing has been applied to modern scientific fields, such as quantum mechanics and information science, which provides new ideas and methods for the development of modern science.
Yijing is a comprehensive compilation of concepts, rules, and laws derived by ancient Chinese people in their quest to understand the material world. It serves not only as a philosophical classic but also as a methodology that encompasses the I Ching divination prediction model. This predictive model can be likened to the big data forecasting models of the information age, although it is more qualitative and less precise when it comes to specific details. Nonetheless, the Yijing demonstrates remarkable accuracy in speculating about general patterns. Through study and training, ordinary individuals can grasp its essential principles, which is why it has endured for thousands of years. In contrast, big data analysis becomes more complex when attempting to predict specific details. It relies on intricate mathematical logic and formulas, often requiring advanced mathematical knowledge and computer technology to effectively model and apply. Once such a big data model is established, however, it can provide highly accurate predictions, and ordinary people can learn to utilize it with great convenience. In summary, the Yijing model is relatively simple to grasp and apply, whereas the application of big data models can be more challenging.In the era of big data, knowledge graph(KG) is an important data resource for knowledge management and application. It has become the key technical basis of semantic retrieval, knowledge reasoning and decision support in various fields of search engines. The development of new technologies such as big data and knowledge graph has brought new opportunities for the study of Yijing. [
2,
3,
4] In the official entry of Wikipedia: knowledge graph is the knowledge base used by Google to enhance its search engine function. [
5]In essence, knowledge graph is a semantic network that reveals the relationship between entities, and can formally describe things in the real world and their relationships. [
6] Knowledge graph has been used to refer to various large-scale knowledge bases. [
7,
8,
9,
10]For example, in view of the characteristics of big data in the medical field, such as strong professionalism and complex structure, the architecture and construction technology of medical knowledge graph are studied. [
11] Some scholars also apply Neo4j to the research in the field of traditional Chinese medicine, [
12,
13] Zhao Kai et al. used Neo4j to construct a knowledge graph of Guizhi Tang and similar formulas. [
14]Jiang Huijuan et al. utilized Neo4j to build a medicinal diet formula graph database using "Chinese Medicinal Diet Dictionary" as the data source. [
15]Zhu Liangbing et al. combined thematic maps, Neo4j, and other technologies and tools to analyze the thematic types, relationships, and attribute information in the "Shan Hai Jing." Based on this analysis, they proposed the technical architecture, data model, and implementation steps for constructing a knowledge graph of the "Shan Hai Jing." [
16]
The structured or unstructured information expression of knowledge graph is closer to the form of human cognitive world, which provides a better ability to organize, manage and understand massive and complex information. Its purpose is to establish a semantic network composed of knowledge, that is, a multi-relational graph. [
17]Many scenes in the real world are very suitable to be expressed by knowledge graphs. Although there is a lot of international knowledge about Yijing and divination, due to the lack of a visual logic system of Yijing, such as the yin and yang, five elements generating and controlling cycle, it is impossible to realize the accurate correlation and reasoning of Yijing, and it cannot meet the research needs of intelligent identification and prediction of Yijing under the current data-driven research paradigm. [
18]
This paper aims to enhance the conceptual knowledge of Yijing and enhance its theoretical knowledge system by constructing a knowledge graph system based on the six divination principles. The construction process utilizes Neo4j graph database and the Mindmaster software, resulting in a comprehensive knowledge representation of Yijing. The developed system not only enriches the understanding of Yijing but also provides valuable insights for building knowledge systems and representation models for other ancient classics.
3. Visualization and retrieval of knowledge graph of Yijing
After the previous work, we have established a knowledge graph of Yijing based on Neo4j graphic database, and can display the concepts, terms, attributes, attribute characteristics and relationships of Yijing in a structured form or a visual way, including the target nodes and its related entity nodes, as well as the total number of related nodes and relationships. At present, the knowledge graph of Yijing contains 1123 semantic entities (nodes) and 54996 relationships (edges), in which each node has a unique ID value to avoid node conflicts. The layout design of node position is based on knowledge calculation of node and edge paths, using graphic algorithm.
3.1. Visual atlas of entity relationship of single concept
In the Neo4j software, running the MATCH and RETURN command statements allows querying the knowledge graph database of Yijing for nodes (entities) named “wx”, displaying 5 nodes and 10 relationships (edges) (Figure 5). By querying the relationship between the 12 earthly branches (“dzgx”) and the five heavenly stems (also known as the five elements) (see Figure 6), it is possible to retrieve 17 nodes (entities) and 17 relationships (edges).
3.2. Visual retrieval of multiple conceptual entity relationships
The knowledge graph database of Yijing, built on Neo4j, enables not only querying individual concepts, entities, and relationships but also exploring the comprehensive relationships between different concepts and entities. It can also generate relationship graphs between selected concepts and entities. For example, when querying the graph named “dztg” (relationship between earthly branches and heavenly stems), it displays 17 nodes (entities) and 55 relationships (edges) (refer to
Figure 7).
3.3. Visual retrieval of knowledge graph of lines(yao) in hexagrams
In the practice of divination using the 64 hexagrams in Yijing, diviners typically rely on their knowledge and experience to select key information for comprehensive judgment and analysis, leading to the divination results. With the aid of the knowledge graph, all the information pertaining to a divination can be visually displayed. By incorporating additional factors such as personal experience and other auxiliary means, the divination can be conducted in a more thorough manner.
Figure 8 depicts a diagram showcasing individual hexagrams and their relationships with other hexagrams, involving 38 relationships. Furthermore,
Figure 9 illustrates the intricate web of relationships between hexagrams, encompassing relationships between individual hexagrams, groups of hexagrams, and complex interconnections among the 64 hexagrams in Yijing.
5. Conclusion and prospect
Today, the Yi-ology has made many research achievements in four aspects: classic restoration, philosophical interpretation, the history of Yi-ology and scientific Yi-ology, and the research depth and breadth far exceed the previous studies of Yi-ology. However, with the change of the times and the development of academic culture, the problems in the study of Yi-ology are becoming increasingly prominent, such as the lack of macro vision, the lack of new methods to break through the status quo, the lack of concern close to reality and the lack of substantive academic interaction, which need to be considered and solved by today's Yi-ology researchers. Therefore, in the future study of Yi-ology, it is a new trend and goal to enrich and summarize the existing research results of Yi-ology, open up new fields of Yi-ology, start from the original book of Yi-ology, focus on the present reality, and establish a new system of Yi-ology through the mutual learning of Chinese and Western philosophy and culture with a global vision, so that Yi-ology can truly go global and participate in the world dialogue. [
23],3]
Since the evolution of Yijing, scholars in the East and the West have basically reached a consensus that the core idea of Yijing is "change". It emphasizes that changes are inevitable in a certain time and space background and need to be actively dealt with. The divination prediction in Yijing is to guide people to walk out of a suitable road, seek advantages and avoid disadvantages, and make people's lives smoother. When encountering problems or challenges, you can use Yijing for prediction and decision-making reference, so as to take the most appropriate action. This may be the common wish of all researchers. It is the key to apply computer technology to social analysis and prediction to describe social problems with quantitative methods of natural science. [
24]This paper introduces the technical method and process of constructing the knowledge graph of Yijing, and compiles the knowledge logic framework of Yijing. Knowledge representation is based on Mindmanager, using the structure of "entity-relationship-entity", designed the triple frame of Yijing knowledge, and realized visualization on Neo4j graphic data software. The construction process of the knowledge graph of Yijing proposed in this paper can be extended to other types of ancient classics research.
Open source software and shared knowledge architecture are the key factors to promote future knowledge discovery and knowledge service. In order to improve the expansibility and general applicability of the knowledge graph in this field, the knowledge graph of Yijing constructed in this paper needs to be further studied. In terms of knowledge extraction, this paper mainly uses the basic framework based on the divination principle of Yijing to construct triples, and does not deeply involve the related words (such as hexagrams , lines(yao), etc.). In view of the knowledge collection and knowledge extraction related to Yijing, ChatGPT will be considered as an aid in the future. Because ChatGPT plays an extremely important role in the construction of knowledge graphs in other fields, it can help developers to build knowledge graphs more quickly and accurately. [
25,
26,
27] In terms of methods, this paper mainly adopts the top-down knowledge graph construction method, and still needs to explore the combination of bottom-up and top-down, especially the knowledge reasoning based on deep learning, and then put forward some new discoveries, such as philosophical mathematics and [
28,
29] yin and yang five elements mathematics, etc. [
30]