Introduction

The formation of the art of painting is the result of the confluence of multicultural influences and historical contexts, reflecting humanity's pursuit of aesthetics and symbolism [1]. As interconnected pieces of art, the cultural formation of architectural mural art represents a combination of historical accumulation and artistic creation, showcasing the resonance of regional characteristics and cultural memory [2]. Serving as the spatial carriers for clan murals, the preservation of cultural heritage related to ancestral hall architecture has become a globally discussed topic, with the heritage value of ancestral hall murals elevated to the dimensions of “identity symbolism and cultural identity” [3]. The “Cultural Heritage Protection Policy” enacted by the Guangdong Provincial Government [4] emphasizes the historical value and urgency of protecting tangible heritage art, encouraging the application of scientific methods and local cultural sensitivity in restoration.

However, the pluralistic development of urban culture presents challenges of cultural loss and homogenization to ancestral hall murals: (1) a discordance between original content and modern restoration methods; (2) the potential for modern materials and techniques to conflict with the original style; (3) the possibility of historical authenticity distortion during the image restoration process. These issues stem from a lack of understanding of the cultural connotations of mural art, leading to a disconnection between protection strategies and cultural values.

The study by Guo and Singyabuth [5] focuses on Shaolin Temple murals, revealing how these works embody traditional Chinese martial arts culture and play a significant role in sha** national ideology. This art form possesses a unique power in conveying cultural values and historical context. Meanwhile, the research by Vucetic et al. [6] on Colombian mural art emphasizes the close relationship between art and politics, suggesting murals may reflect specific socio-political environments. Rolston [7] shifts focus to analyze social issues behind murals, such as inequality issues in Chile, demonstrating how murals can reflect social issues. Źrałka et al. [8] enrich this discussion further, arguing that the fictional elements in murals reflect people's aspirations for an ideal life and serve as carriers for social and cultural identity.

Li et al. [2] explore the changes in human postures in ancestral hall building murals, reflecting cultural shifts, particularly the dilution of ritual concepts and the gradual loss of traditional cultural genes. This finding suggests a transition in the cultural values and social norms reflected in the artworks. Rolston [9] focuses on the symbolic significance of murals in Northern Irish communities, especially their expression of collective memory and peace. Government demolition plans could harm this cultural memory, highlighting the importance of murals in maintaining community identity and historical continuity. Yan [10] shifts the perspective to Guangzhou ancestral hall murals, emphasizing their role as material links between the past and present, showcasing the core position of murals in transmitting and interpreting cultural values. Chen [11] reveals the clan lineage colors in ancient Chinese tomb murals through analysis, and the materials and techniques used symbolize wealth and status, highlighting the role of murals in expressing social hierarchy and clan glory.

Recent studies have primarily focused on the representation of mural art within cultural and political contexts, and how these murals reflect social and cultural identities. There has been a shift in research perspectives from art aesthetics to cultural significance and cultural identity, leading to two scholarly questions: (1) How do murals exhibit regional characteristics, historical contexts, and social changes on a local level? (2) How does mural art contribute to cultural transmission and identity formation within families and communities? Although Li et al. [2], Qi [12], and Shi and Wang [13] have explored the correlation between Chinese mural decoration and Confucian culture, they have not delved into the ritual components influencing decorative arts.

Research on the artistic elements of tangible heritage represents one of the most fundamental aspects of Chinese traditional culture and a cornerstone of national prosperity [14]. Ancestral halls, as crucial carriers of Chinese clan culture, are products of the interplay between regional culture and social history, with the mural art in Guangzhou’s ancestral halls exhibiting distinctive artistic styles and social functions [2]. According to incomplete statistics, approximately 4097 murals have been documented in Guangzhou's ancestral halls [15], with detailed descriptions provided in relevant series [16, 17], which form the foundational data for this study.

Addressing the scholarly inquiry into how kinship influences clan mural decorative art and the representation of traditional rituals in artworks, this study aims to identify the ritual factors impacting the mural art in Guangzhou’s ancestral halls. By analyzing the artistic manifestations of ritual factors through the demeanor and expressions of figures and the thematic content, this research seeks to uncover the cultural formation processes behind clan mural art. The study proposes two hypotheses: (1) Traditional rituals shape the positive thematic content and humanistic value transmission of Guangzhou’s ancestral hall murals, and their decorative art possesses both idealistic and realistic significance; (2) The demeanor and expressions of the figures in the murals reflect both material and spiritual kinship, and the overall narratives and symbolism of the murals are positive. This research provides empirical support for the application of text mining and perceptual evaluation in cultural heritage studies and incorporates traditional rituals as influential factors in the formation of clan mural art, thereby broadening the research perspective in art studies.

Although data mining aids researchers in extracting common features from 521 murals, text-based analysis may have limitations in fully elucidating the correlations between spatial functions and mural themes, content, and decorative elements. This is mainly due to the following reasons: (1) The complexity of spatial functions and artistic expressions. Due to policy impacts, some literature has noted the integration of lecture halls and sacrificial functions during the Ming and Qing dynasties [18], raising questions about whether mural content creation in specific cases was influenced by functional transitions; (2) The diversity of historical and cultural contexts. The changing status of Confucianism in different periods in China may influence clan culture, which could, in turn, affect the ritual components in the creation of ancestral hall mural content. For instance, during periods when Confucianism was highly esteemed, the decorative art in ancestral halls might have emphasized rituals and moral education [19], whereas in other periods, the content might lean towards everyday life or practical themes [20]. Sometimes, visual art may not fully and accurately reflect the underlying cultural meanings [21]. Ao et al. [22] highlighted this point and stressed the importance of integrating multiple perspectives and methods.

Methodology

Research framework

Figure 1 illustrates the research methodology of this paper. Stage 1 (Sect. "Introduction") involves defining the research question by understanding the history and progress of clan paintings through literature review, identifying research gaps to specify research objectives and hypotheses, thereby positioning the study's academic value within the field. Stage 2 (Sect. "Data sources") focuses on extracting, categorizing, and coding textual materials and deriving influencing factors on the formation of clan painting art through descriptive statistics of adjectives and emotional words. Stage 3 (Sect. "Constructing evaluation scales") utilizes the co-occurrence network generated from coded groups to reveal potential interrelations between cluster groups and their elements, refining ‘posture and expressions' and 'character coloring' as two core themes. Stage 4 (Sect. "Results") centers on the analysis and evaluation of clan painting art. It discusses how kinship relationships shape clan painting art and how these two core themes are expressed by analyzing typical painting samples. Additionally, it employs the Semantic Differential Method and factor analysis for perceptual evaluation of Mural Content to validate the results of emotional analysis. Stage 5 (Sect. "Discussions") discusses the results and introduces new academic questions. This stage responds to the research questions, hypotheses, and inferences made in the introduction, compares findings with those of peers, and identifies unresolved issues. It also discusses the potential and technical challenges of applying text mining in the art field and creates an academic contribution map to highlight the study's value. Lastly, it acknowledges limitations and suggests improvements.

Fig. 1
figure 1

Research technology pathway map

The data processing procedure in Stages 2–3 includes [23, 24]: (1) selecting appropriate textual materials, summarizing them in Excel in the form of excerpted sentences, and categorizing and coding these cells for theme analysis; (2) during data cleaning, writing “Force Pick up” and “Force Ignore” scripts to extract compound words and filter out meaningless words, checking for expanded words, and handling singular and plural words in the frequency list; (3) conducting co-occurrence networks analysis based on grouped coded variables. High co-occurrence words in the compiled database are displayed in a network graph, analyzing patterns and similarities between words for theme mining. The thickness of the connecting lines indicates the degree of relevance, numbers represent co-occurrence frequency, and the size of word circles indicates frequency, with nodes having multiple branches typically being thematic due to their centrality.

Data sources

Chinese scholar Liu’s “Guangzhou Ancestral Hall Murals”, volumes one and two, published in 2015, is where the research material for this study came from [16, 17]. These two books were originally intended as a methodical way to go through and examine the distinctive mural painting that may be found in ancestral halls around Guangzhou. Murals are a type of art that is both unique and prone to deterioration, so it is important to preserve and share them through publications like books. The 521 artistically valuable ancestral hall murals were painstakingly arranged by Liu with the goals of cultural preservation, scholarly investigation, and educational popularization. Using a combination of text and imagery, he cataloged the murals’ origins, content, artistic techniques, and qualities, along with their connections to the ancestral halls in which they are located.

To focus on the theme, only descriptive details about the paintings will be taken out and analyzed. Textual analysis will not consider details from the books, including images, authors, inscription dates, painting names, ancestral hall locations, and scroll specs. This data has been collated by the team into an Excel document that has 521 groups of cell text prior to extraction for analysis. In addition, new list columns were established by information filtering and the mural subjects and tale contents were split into external variables Group A and Group B in preparation for the subsequent coding investigation. The initial subject and material categorization is listed in Table 1. Figure 2 illustrates the number of murals in groups A and B following classification, highlighting the process’s objectivity.

Table 1 Initial coding table for external variables group A and group B
Fig. 2
figure 2

Number of murals in both subgroups

Constructing evaluation scales

The factors affecting an individual’s perception of a material form are complex and include a variety of aspects such as its substance itself, individual experience, environmental factors, non-environmental factors, and sensory abilities [25]. To assess the authenticity of the value transmission in mural content, this paper employs the Semantic Differential Method (SD), factor analysis, and cluster analysis to evaluate murals from the perspectives of emotional perception and value dimensions. The SD method, also known as the sensory recording method, proposed by Osgood [26], is a psychometric technique for assessing participants’ psychological reactions to verbal scales. Utilizing Stratified Sampling Method, this study selects 25 murals with varying themes from a pool of 318 for perceptual evaluation surveys. The evaluation dimensions are built upon the Affective Arousal Theory, which is grounded in cognitive psychology principles and explores the interaction between environmental stimuli and individual emotional states [27]. This theory introduces a multidimensional measurement tool named the Environmental Emotional Response Index (EERI), aimed at quantitatively analyzing the impact of the environment on human emotions. EERI assesses the environment on two main dimensions, pleasure and arousal, measuring both the positivity/negativity of emotions triggered and the level of mental activation. The constructed evaluation scale includes ten pairs of adjectives, six derived from the Affective Arousal Model (happy-unhappy-1, excited-calm-2, relaxed-tense-3, interested-monotonous-4, inspiring-depressed-5, arousing-tedious-6), three from the aesthetic senses of murals (comfortable-uncomfortable-7, warm-desolate-8, harmonious-inharmonious-9), and one pair from the content and value aspect, emphasizing the pursuit of basic material desires versus the aspiration for spiritual ideals such as simplicity, immortality, prosperity, and peace (Materialistic-Spiritual-10). These 10 sets of adjectives were coded using numbers from 1 to 10 to facilitate subsequent analysis.

The assessment is broken down into five indicators, each of which has a separate score: neutral-3, comparably closer to negative adjectives-2, near to negative adjectives-1, neutral-5, and comparatively closer to positive adjectives-4. The evaluative representation of the mural contents is shown in Table 2.

Table 2 Example of a perceptual evaluation table for murals contents

Results

Co-occurrence network based on coded B groups

KH Coder is an AI-based text analysis tool that facilitates discourse analysis by employing artificial intelligence algorithms [28]. Using KH Coder, this study created “co-occurrence” networks for two groups of coded content, comprising “nodes” and the “edges” that connect these nodes. In this network, nodes connected by edges share close relationships, with an increase in edges indicating higher relevance. The Reading Value (RV) at each node is generated based on textual semantics, with the software classifying words into clusters of different colors based on RV and textual relevance. This study extracted words with the Top 100 Term Frequency (TF) for display and outputted the minimum spanning trees (Figs. 3, 4).

Fig. 3
figure 3

Thematic co-occurrence network based on coding group A

Fig. 4
figure 4

Thematic co-occurrence network based on coding group B

Figure 3 illustrates the thematic network formed by Group A’s coding, with thematic clusters differentiated by dashed lines. The central cluster is formed around “Character” and “Floral Plant,” with “Bird and Beast” and “Portfolio Pictures” forming secondary clusters. Due to a lower number of Top 100 vocabulary in the “Scenery” cluster, its core content is not prominently represented, leading to its classification as an ineffective cluster. The connection between “Character” and “Floral Plant” clusters through “Murals” suggests a symbiotic relationship between the two clusters, inferring that floral plants are a primary element in ancestral hall mural decoration [29]. Additionally, the link between “Floral Plant” and "Bird and Beast" clusters through the word “Symbol” and the internal vocabulary of both clusters, such as “Longevity Stone,” “Peony,” “Magpie,” “Fairy Crane,” “Pine,” etc., suggests that floral plants and birds and beasts primarily serve metaphorical and symbolic roles in mural decoration [30]. They collectively underscore the profound implications of the story content, employing the technique of metaphorical representation (highlighted in green vocabulary). The accompanying vocabulary between “Floral Plant” and “Portfolio Pictures” clusters, including words like “happiness,” “beauty,” “wealth,” “couple,” “longevity,” etc., underscores that elements composing mural compositions typically carry consistent implications [31], reflecting a specific societal aspiration for a desirable life.

Figure 4 presents a thematic network based on coding group B. The term “Depiction” serves as a link between the themes “Legendary Story” and “Aspiring Life,” grou** them into clusters while illustrating their separation and symbiotic relationship. Hence, it can be inferred that ancestral hall murals express a beautiful aspiration towards life through the depiction of life stories [32]. Dark green terms highlight the figurative elements referenced in the murals, such as well-known figures like “Lv Dongbin (吕洞宾, RV = 12),” “Zhang Guolao (张果老, RV = 13),” “** mechanisms have led to the expansion of this field into semiotics, sociology, and phenomenology [46], Zhou and Taylor [47], Huang [48] seems to indicate a divergence between the color scheme of Guangzhou ancestral hall murals and the color system advocated in ancient Chinese folklore, leading to further intriguing questions: (1)What are the differences between the Guangzhou ancestral hall murals and the ancient Chinese folk color system; (2) Were the backgrounds and colors used for the figures in the Canton ancestral hall murals influenced by kinship culture? If so, in what ways.

A questionnaire survey involving 24 experts and encompassing 10 evaluation criteria (producing 240 data points per sample) was conducted. This implies that a dataset comprising 76,320 data points will be generated from the 318 mural samples, highlighting the importance of using sampling methods to reduce data processing load, improve analytical efficiency and quality, and ensure the scientific rigor and feasibility of the study [49]. Both random sampling and subjective selection have their respective advantages and disadvantages in statistical methodology. Complete random sampling may result in uneven sample coverage [50], while subjective selection might introduce selection bias [51]. As a compromise, this study employed stratified sampling during the questionnaire design phase, selecting 25 mural samples for perceptual evaluation (totaling 6,000 data points).

The detailed sampling process provides a scientific basis for the results: (1) The 318 murals were categorized into five distinct themes based on imagery and descriptive content (first-level stratification); (2) Further stratification was based on story content (teaching, inspiration, seeking blessings, labor, reunion), decorative elements (mountains, rocks, plants, animals, furniture, books, figures), artists, color schemes, type of ancestral hall (public, family, clan), scale (large, medium, small), and the mural's placement within the hall (lintel, corridor, main hall, central hall); (3) An equal number of samples (5) were drawn from each stratum, ensuring that the selected samples represented the diversity, richness, uniqueness, and variety of the themes. Second, while questionnaire analysis based on a small sample size may have certain limitations [52], the combined use of the SD method, factor analysis, and cluster analysis helps mitigate these limitations and provides persuasive evidence for the validity of small-sample analysis [53]. Additionally, the 24 expert evaluators come from diverse fields within the arts and humanities, ensuring that the evaluation reflects a broad spectrum of perspectives.

Despite providing a rationale for the stratified sampling and combined analytical methods, it must be acknowledged that increasing and diversifying the sample size will enhance the quality of analysis. Increasing the sample size within each secondary stratum will improve the reliability of statistical analysis [54] and enable a more comprehensive explanation of the complexity of mural art. Furthermore, the scope of this work is limited by sample coverage. A total of 269 murals (51.6%) were placed at the entrances of ancestral halls, while the rest were located in worship halls and back halls. The content of the murals often correlates with their placement and spatial function, and the unequal sample coverage may introduce partial bias into the study results.

Recommendations for improvement: (1) Develo** systematic stratified sampling standards, refining sampling methods, and ensuring the typicality and representativeness of selected samples; (2) Increasing the sample size within each secondary stratum to enhance the representativeness and reliability of statistical analysis; (3) Ensuring balanced coverage of murals from different decorative locations and spatial functions to reduce sample bias. Future experiments will consider these aspects in detail.

Conclusions

Findings: (1) the themes and implications of ancestral hall murals in Guangzhou are predominantly oriented towards positive and proactive value transmission. The content transitions from focusing on idealistic hermit life to realistic depictions of the lower strata of society, emphasizing human-centric values; (2) murals conveying positive emotions are mostly named after themes of longevity, auspiciousness, prosperity, and heroic deeds. In contrast, those depicting negative emotions primarily involve elderly male figures, reflecting a content preference related to character depiction; (3) murals with historical allusions have relatively complex content, which diminishes emotional resonance and arousal efficiency among viewers; (4) the content of incomplete murals increases negative emotions in perceivers, highlighting the impact of the preservation state of murals on emotional resonance; (5) murals with materialistic themes are usually related to wealth and are consistent with the results of factor analysis, reflecting the alignment between mural content, implications, and emotional responses; (6) some murals feature extroverted character images that contrast with the dignified and restrained etiquette of traditional rites. Meanwhile, the portrayal and facial expressions of certain characters demonstrate approachability, contrasting with traditional decorum.

As artworks imbued with clan hues, the development of clan painting and decorative arts exhibits kinship cultural attributes and is a concentrated expression of traditional ritualistic thought. The application of text mining and perceptual evaluation to heritage value research holds potential, and this paper provides empirical support. Future research by the team will focus on the relationship between the color palette of clan paintings and traditional color systems.