Knowledge organization expression method, presentation method, device and terminal for calligraphy and painting cultural relics

By constructing a metadatabase of calligraphy and painting cultural relics and design knowledge organization and expression model, the chaotic problem of organization and presentation of calligraphy and painting cultural relics is solved, and the effective utilization and display of multimodal data is realized to meet the needs of different application scenarios.

CN116186304BActive Publication Date: 2025-08-01SHANGHAI ADVANCED RES INST CHINESE ACADEMY OF SCI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211684848.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-27
Publication Date
2025-08-01
Estimated Expiration
2042-12-27

AI Technical Summary

Technical Problem

In the prior art, there is a lack of organizational expression and knowledge graphical presentation methods for calligraphy and painting cultural relics, which leads to confusion of semantic information and difficulty in retrieving knowledge, making it difficult to flexibly arrange multimodal knowledge for specific topics, and cannot be effectively utilized and displayed and disseminated.

Method used

Build a metadatabase of calligraphy and painting cultural relics, form a knowledge organization expression model through entity types and relationship types, design inference rules for encapsulation and mapping, generate knowledge bases, and provide access interfaces to support the organization and presentation of multimodal data.

Benefits of technology

It realizes the unified organization and effective utilization of cultural relics knowledge of calligraphy and painting, supports the display and interaction of multimodal data, meets the needs of research, display and educational dissemination, and solves the problems of difficulty in knowledge retrieval and limited display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116186304B_ABST
    Figure CN116186304B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for organizing and expressing knowledge of calligraphy and painting cultural relics, a presentation method, and a terminal. The expression method includes obtaining a metadata database of calligraphy and painting cultural relics; constructing entity types and relationship types of calligraphy and painting cultural relics; designing various encapsulation methods and inference rules; realizing data mapping to form a knowledge base of calligraphy and painting cultural relics; and providing access interfaces. The presentation method includes obtaining a query-related data set based on query conditions and calculating the presentation weights of each query-related data; adding entity visual components to a display window and setting different display effects based on the presentation weights; determining whether there is an association relationship between two entity visual components and connecting the corresponding two entity visual components. The present invention solves the problems that the knowledge of calligraphy and painting cultural relics cannot be effectively utilized and the display and dissemination are limited; and designs a presentation method suitable for covering multi-faceted knowledge narration and dissemination, which can realize the display and interaction of associated data and image data in the knowledge of calligraphy and painting cultural relics.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of knowledge organization of calligraphy and painting cultural relics, and particularly relates to a method for knowledge organization expression, a presentation method, a device and a terminal of calligraphy and painting cultural relics. Background Art

[0002] The knowledge organization and presentation of calligraphy and painting cultural relics refer to the process of organizing calligraphy and painting cultural relic data through concept extraction, knowledge organization expression model construction, knowledge generation, knowledge presentation, etc. based on the existing calligraphy and painting cultural relic data, so as to organize the calligraphy and painting cultural relic data in a unified expression mode and data encapsulation structure, thereby supporting knowledge adaptation and presentation in different application scenarios.

[0003] The data in the field of calligraphy and painting cultural relics has industry characteristics such as professionalism, authority, and sparsity. On the one hand, the sources of cultural relic knowledge are distributed in different data sources, such as cultural relic catalogs, cultural relic monographs, research literature, ancient books, cultural relic protection information, etc. On the other hand, the knowledge heterogeneity characteristics of cultural relics are obvious, covering multiple modalities such as text, pictures, audio and video, and three-dimensional models. The diversity of data and the diversity of concepts in the calligraphy and painting field make it difficult to organize the knowledge of calligraphy and painting cultural relics in a unified way. Due to the lack of knowledge organization expression and knowledge diagram presentation methods for various application scenarios such as calligraphy and painting cultural relic research, display, education and dissemination, the semantic information of calligraphy and painting cultural relics is chaotic, knowledge retrieval is difficult, and it is difficult to flexibly arrange the presentation of multi-modal knowledge such as calligraphy and painting cultural relic texts and images for specific themes. There are still problems such as the ineffective utilization of calligraphy and painting cultural relic knowledge, insufficient research on calligraphy and painting cultural relics, and limited display and dissemination. Summary of the Invention

[0004] The technical problem to be solved by the present invention is that there is a lack of knowledge organization expression and knowledge diagram presentation methods for calligraphy and painting cultural relics at present, which makes the semantic information of calligraphy and painting cultural relics chaotic, knowledge retrieval difficult, and it is difficult to flexibly arrange the presentation of multi-modal knowledge such as calligraphy and painting cultural relic texts and images for specific themes.

[0005] To solve the above technical problems, the present invention provides a method for knowledge organization expression of calligraphy and painting cultural relics, including:

[0006] Obtain a target calligraphy and painting cultural relic database;

[0007] Construct a calligraphy and painting cultural relic metadata database based on the target calligraphy and painting cultural relic database;

[0008] Construct a calligraphy and painting cultural relic entity type and a calligraphy and painting cultural relic relationship type based on the calligraphy and painting cultural relic metadata in the calligraphy and painting cultural relic metadata database;

[0009] The physical entity types and relationship types of calligraphy and painting cultural relics form a knowledge organization and expression model for calligraphy and painting cultural relics. The knowledge organization and expression model for calligraphy and painting cultural relics is encapsulated based on the model encapsulation method, and the inference rules for the knowledge organization and expression model for calligraphy and painting cultural relics are designed;

[0010] Based on the encapsulated knowledge organization and expression model for calligraphy and painting cultural relics and the knowledge mapping rules, the calligraphy and painting cultural relics data in the target calligraphy and painting cultural relics database are mapped into calligraphy and painting cultural relics knowledge. All the calligraphy and painting cultural relics knowledge forms a calligraphy and painting cultural relics knowledge base, in which the image data in the calligraphy and painting cultural relics knowledge are encapsulated through the image data encapsulation method, and the associated data in the calligraphy and painting cultural relics knowledge are encapsulated through the associated data encapsulation method. The knowledge mapping rules are designed based on the inference rules;

[0011] Based on the calligraphy and painting cultural relics knowledge base, a theme list is generated, and an access interface is provided for the theme list to form a knowledge organization and expression system for calligraphy and painting cultural relics.

[0012] Preferably, the steps of constructing a calligraphy and painting cultural relics metadata database based on the target calligraphy and painting cultural relics database include:

[0013] Extract all concept data from the target calligraphy and painting cultural relics database based on the preset concept rules;

[0014] Construct a calligraphy and painting cultural relics meta-concept tree based on all the concept data. The root node of the calligraphy and painting cultural relics meta-concept tree is the calligraphy and painting cultural relics knowledge concept, and the sub-nodes of the calligraphy and painting cultural relics meta-concept tree are the attribute concepts of calligraphy and painting cultural relics;

[0015] Based on the calligraphy and painting cultural relics meta-concept tree, a calligraphy and painting cultural relics metadata database is formed with calligraphy and painting cultural relics metadata as fields.

[0016] Preferably, both the physical entity types and the relationship types of calligraphy and painting cultural relics are constructed in a tree structure;

[0017] The entity type attribute fields in the physical entity types of calligraphy and painting cultural relics include identifiers, names, parent entity types, child entity types, and entity type descriptions;

[0018] The relationship type attribute fields in the relationship types of calligraphy and painting cultural relics include identifiers, names, parent relationships, child relationships, inverse relationships, domains, ranges, and relationship type descriptions; the domain represents the subject entity type of the semantic relationship, and the range represents the object entity type of the semantic relationship.

[0019] Preferably, the image data encapsulation method includes: describing the image data using a preset data structure, where the preset data structure includes an image attribute set, an image set, and an image resource set. The image attribute set is used to express the attributes contained in a single image, the image set is used to express a set composed of multiple images, and the image resource set is used to express a set composed of multiple image sets.

[0020] Preferably, the associated data encapsulation method includes: describing the associated data in the form of a tuple, and the tuple form is: <Es:[{Rp,Eo}1...{Rp,Eo}n]>;

[0021] where Es represents the subject entity, {Rp,Eo}1...{Rp,Eo} n represents n descriptions associated with Es, Eo represents the object entity, and Rp represents the relationship type.

[0022] Preferably, the inference rules of the knowledge organization and expression model for calligraphy and painting cultural relics include description logic reasoning and production rule reasoning. The description logic reasoning includes axioms and assertions, and the knowledge mapping rules are based on the assertions to achieve the mapping from data to knowledge.

[0023] To solve the above technical problems, the present invention also provides a knowledge organization and expression device for calligraphy and painting cultural relics, including a database acquisition module, a meta-database construction module, an entity type and relationship type construction module, an encapsulation module, a knowledge acquisition module, and an access interface formation module;

[0024] The database acquisition module is used to acquire a target calligraphy and painting cultural relics database;

[0025] The meta-database construction module is used to construct a calligraphy and painting cultural relics meta-database based on the target calligraphy and painting cultural relics database;

[0026] The entity type and relationship type construction module is used to construct calligraphy and painting cultural relics entity types and calligraphy and painting cultural relics relationship types based on the calligraphy and painting cultural relics metadata in the calligraphy and painting cultural relics meta-database;

[0027] The encapsulation module is used to form a knowledge organization and expression model for calligraphy and painting cultural relics from the calligraphy and painting cultural relics entity types and calligraphy and painting cultural relics relationship types, encapsulate the knowledge organization and expression model for calligraphy and painting cultural relics based on the model encapsulation method, and design the inference rules of the knowledge organization and expression model for calligraphy and painting cultural relics;

[0028] The knowledge acquisition module is used to map the calligraphy and painting cultural relic data in the target calligraphy and painting cultural relic database into calligraphy and painting cultural relic knowledge based on the encapsulated calligraphy and painting cultural relic knowledge organization and expression model and knowledge mapping rules. All the calligraphy and painting cultural relic knowledge forms a calligraphy and painting cultural relic knowledge base, in which the image data in the calligraphy and painting cultural relic knowledge is encapsulated by an image data encapsulation method, and the associated data in the calligraphy and painting cultural relic knowledge is encapsulated by an associated data encapsulation method. The knowledge mapping rules are designed based on the inference rules;

[0029] The access interface formation module is used to generate a theme list based on the calligraphy and painting cultural relic knowledge base and provide an access interface for the theme list to form a calligraphy and painting cultural relic knowledge organization and expression system.

[0030] To solve the above technical problems, the present invention also provides a method for organizing, expressing and presenting calligraphy and painting cultural relic knowledge, including:

[0031] Query the corresponding associated data in the calligraphy and painting cultural relic knowledge organization and expression system according to the query conditions to form a query associated data set, calculate the relevance degree of each associated data in the query associated data set to the query conditions respectively, and obtain the presentation weight of each associated data in the query associated data set with the relevance degree as the presentation weight;

[0032] Add entity visual components representing the entities in the associated data in the query associated data set to the display window, and set different display effects of the entity visual components based on the presentation weight of the associated data to which the entity belongs;

[0033] Traverse all the entity visual components in the display window, and judge whether there is an association relationship between two entity visual components based on the associated data in the query associated data set or the associated type corresponding to the visual operation block when clicking the visual operation block. If there is an association relationship, connect the corresponding two entity visual components with an association relationship visual component;

[0034] Among them, the calligraphy and painting cultural relic knowledge organization and expression system is formed based on the calligraphy and painting cultural relic knowledge organization and expression method.

[0035] Preferably, the method for organizing, expressing and presenting calligraphy and painting cultural relic knowledge further includes:

[0036] Add a click event to the association relationship visual component so that when the corresponding click event occurs, the detailed data of the association relationship corresponding to the association relationship visual component is displayed in the form of an association relationship detailed page display;

[0037] Add a click event to the entity visual component so that when the corresponding click event occurs, the detailed data of the entity corresponding to the entity visual component is displayed in the form of an entity detailed page display;

[0038] Add a double - click event to the entity visual component so that when the corresponding double - click event occurs, visual operation blocks representing relationship types are formed around the corresponding entity visual component, and the represented relationship types are the relationship types in the entity - related association data corresponding to the entity visual component;

[0039] Add a single - click event to the visual operation block so that when the corresponding single - click event occurs, a new entity visual component is added to the display window, and the new entity visual component represents other entities in the association data that are related to both the entity visual component corresponding to the visual operation block and the relationship type.

[0040] To solve the above - mentioned technical problems, the present invention also provides a device for presenting calligraphy and painting cultural relic knowledge organization and expression, including a query data acquisition module, an entity visual component setting module, and an association relationship visual component setting module;

[0041] The query data acquisition module is used to query corresponding association data in the calligraphy and painting cultural relic knowledge organization and expression system according to query conditions to form a query association data set, calculate the relevance degree of each association data in the query association data set to the query conditions respectively, and obtain the presentation weight of each association data in the query association data set with the relevance degree as the presentation weight;

[0042] The entity visual component setting module is used to add entity visual components representing entities in the association data in the query association data set to the display window, and set different display effects of the entity visual components based on the presentation weights of the association data to which the entities belong;

[0043] The association relationship visual component setting module is used to traverse all the entity visual components in the display window, and based on the association data in the query association data set or the association type corresponding to the visual operation block when clicking on the visual operation block, determine whether there is an association relationship between two entity visual components. If there is, connect the corresponding two entity visual components with an association relationship visual component;

[0044] Among them, the calligraphy and painting cultural relic knowledge organization and expression system is formed based on the calligraphy and painting cultural relic knowledge organization and expression method.

[0045] To solve the above - mentioned technical problems, the present invention also provides a terminal, including: a processor and a memory, and the memory is communicatively connected to the processor;

[0046] The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the terminal executes the knowledge organization and expression method for painting and calligraphy cultural relics, or so that the knowledge organization and expression presentation method for painting and calligraphy cultural relics is executed.

[0047] Compared with the prior art, one or more embodiments in the above solution may have the following advantages or beneficial effects:

[0048] By applying the knowledge organization and expression method for painting and calligraphy cultural relics provided by the embodiments of the present invention, it is possible to perform knowledge organization and presentation including concept sorting, knowledge organization and expression model construction, knowledge generation, knowledge management, and knowledge presentation on painting and calligraphy cultural relic data in multiple modalities such as text and images, covering the entire knowledge organization and presentation process from data entry to knowledge retrieval and presentation; for paintings and calligraphy, which are specific types of cultural relics, a targeted modeling method design for painting and calligraphy cultural relics is carried out, and the semantic information extraction, organization, expression, and encapsulation of many domain concepts of painting and calligraphy cultural relics are designed and described, meeting the needs of extensive association and mutual understanding of painting and calligraphy cultural relic knowledge. Moreover, the knowledge organization and expression presentation method for painting and calligraphy cultural relics designs a presentation method suitable for covering multi-faceted knowledge narration and dissemination for the characteristics of painting and calligraphy cultural relic knowledge, and can realize the display and interaction of associated data and image data in painting and calligraphy cultural relic knowledge. It solves the problems such as the inability to effectively utilize existing painting and calligraphy cultural relic knowledge and limited display and dissemination.

[0049] Other features and advantages of the present invention will be described in the subsequent specification, and will be partially obvious from the specification, or will be understood by implementing the present invention. The objectives and other advantages of the present invention can be realized and obtained through the structures specifically pointed out in the specification, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The drawings are used to provide a further understanding of the present invention, and constitute a part of the specification. They are used together with the embodiments of the present invention to explain the present invention, and do not constitute a limitation to the present invention. In the drawings:

[0051] Figure 1 shows a schematic flowchart of the knowledge organization and expression method for painting and calligraphy cultural relics in Embodiment 1 of the present invention;

[0052] Figure 2 shows a schematic structural diagram of the knowledge concept of painting and calligraphy cultural relics in Embodiment 1 of the present invention;

[0053] Figure 3 shows a schematic structural diagram of the image information in the knowledge concept of painting and calligraphy cultural relics in Embodiment 1 of the present invention;

[0054] Figure 4Shows a schematic structural diagram of the postscript imprint information in the knowledge concept of calligraphy and painting cultural relics in the first embodiment of the present invention;

[0055] Figure 5 Shows a schematic structural diagram of the bibliographic information in the knowledge concept of calligraphy and painting cultural relics in the first embodiment of the present invention;

[0056] Figure 6 Shows an example diagram of the entity type hierarchy of calligraphy and painting cultural relics in the first embodiment of the present invention;

[0057] Figure 7 Shows an example diagram of the relationship type hierarchy of calligraphy and painting cultural relics in the first embodiment of the present invention;

[0058] Figure 8 Shows a schematic structural diagram of the calligraphy and painting cultural relics knowledge organization and expression device in the second embodiment of the present invention;

[0059] Figure 9 Shows a schematic flowchart of the calligraphy and painting cultural relics knowledge organization and expression presentation method in the third embodiment of the present invention;

[0060] Figure 10 Shows a schematic diagram of the calligraphy and painting cultural relics entity presentation in the third embodiment of the present invention;

[0061] Figure 11 Shows a schematic diagram of the single - click event of the calligraphy and painting cultural relics knowledge presentation entity visual component in the third embodiment of the present invention;

[0062] Figure 12 Shows a schematic diagram of the double - click event of the calligraphy and painting cultural relics knowledge presentation entity visual component in the third embodiment of the present invention;

[0063] Figure 13 Shows a schematic diagram of the single - click event of the visual operation block for calligraphy and painting cultural relics knowledge presentation in the third embodiment of the present invention;

[0064] Figure 14 Shows a schematic structural diagram of the calligraphy and painting cultural relics knowledge organization and expression presentation device in the fourth embodiment of the present invention;

[0065] Figure 15 Shows a schematic structural diagram of the terminal in the fifth embodiment of the present invention. Detailed implementation manners

[0066] The following will combine the drawings and embodiments to elaborate in detail on the implementation manners of the present invention, so as to fully understand how the present invention uses technical means to solve technical problems and the implementation process of achieving technical effects and implement accordingly. It should be noted that as long as there is no conflict, each embodiment in the present invention and each feature in each embodiment can be combined with each other, and the formed technical solutions are all within the protection scope of the present invention.

[0067] Different from general common knowledge ontology models and knowledge visualization methods, the present invention emphasizes the unique concepts of calligraphy and painting cultural relic knowledge, as well as their organizational expression and encapsulation methods, and designs a presentation method applicable to knowledge narration and dissemination covering people, events, times, places, objects, etc. according to the characteristics of calligraphy and painting cultural relic knowledge. The knowledge organization and expression method of calligraphy and painting cultural relics can be used to design a targeted modeling method for cultural relics in various specific application scenarios of calligraphy and painting, and designs and explains the extraction, organization, expression, and encapsulation of semantic information of many domain concepts of calligraphy and painting cultural relics, meeting the needs of extensive association and mutual understanding of calligraphy and painting cultural relic knowledge. The knowledge presentation method of calligraphy and painting cultural relics designs a knowledge presentation method for calligraphy and painting cultural relics according to the characteristics of the knowledge structure of calligraphy and painting cultural relics, aggregates applicable calligraphy and painting cultural relic knowledge content through knowledge adaptation, and presents calligraphy and painting cultural relic knowledge in the form of knowledge diagrams, meeting the needs of cultural relic knowledge in different application scenarios such as research, display, dissemination, and education.

[0068] Example 1

[0069] To solve the technical problems existing in the prior art, an embodiment of the present invention provides a knowledge organization and expression method for calligraphy and painting cultural relics.

[0070] Figure 1 shows a schematic flowchart of the knowledge organization and expression method for calligraphy and painting cultural relics in Embodiment 1 of the present invention; refer to Figure 1 As shown, the knowledge organization and expression method for calligraphy and painting cultural relics in the embodiment of the present invention includes the following steps.

[0071] Step S101, obtain a target calligraphy and painting cultural relic database.

[0072] Specifically, the calligraphy and painting cultural relic database to be subjected to knowledge organization and expression is used as the target calligraphy and painting cultural relic database.

[0073] Step S102, construct a meta-database of calligraphy and painting cultural relics based on the target calligraphy and painting cultural relic database.

[0074] Specifically, based on the preset concept rules, all concept data are extracted from the target calligraphy and painting cultural relic database. The preset concept rules include the concept type of calligraphy and painting cultural relic knowledge and the concept extraction rules. The concept type of calligraphy and painting cultural relic knowledge provides all possible concept data for the target calligraphy and painting cultural relic database. Refer to Figure 2As shown, the knowledge concept types of calligraphy and painting cultural relics can specifically include the type of calligraphy and painting cultural relics, horizontal size, vertical size, mounting form, image information, era style, personal style, calligraphy and painting techniques, inscription and seal information, components, calligraphy style, pigments used, creator information, recording information, work evaluation, collection events and digital derivatives; preferably, the knowledge concept of calligraphy and painting cultural relics can further include chronology, historical places, people, historical events, seals, inscriptions, related works, etc. Figure 3 As shown in FIG, image information may specifically include image composition, image theme type, image theme elements, image screen elements, image theme meaning, image description, image color and image techniques. Figure 4 As shown in the figure, the inscription and postscript data may include the author of the inscription, the content of the inscription, the inscription style, the location of the inscription, the interpretation of the inscription, the creator's seal, the collection seal and related events. Figure 5 As shown in the figure, the bibliographic information may include name, courtesy name, pseudonym, gender, identity, official title, year of birth and death, native place, biographical information, personal relationships, and handed-down works. Concept data within the knowledge concept type of calligraphy and painting cultural relics can also be dynamically added or deleted based on actual conditions, thus achieving dynamic expansion of the knowledge concept type of calligraphy and painting cultural relics.

[0075] Concept extraction rules can be configured to sequentially determine whether a concept within the knowledge concept type of calligraphy and painting artifacts exists within the attributes of calligraphy and painting artifact data in the target calligraphy and painting artifact database. If so, the corresponding concept and all concept types to which it belongs are extracted and included as concept data for the target calligraphy and painting artifact database. Otherwise, the corresponding concept is not included as concept data for the target calligraphy and painting artifact database. For example, if a calligraphy and painting artifact exists in the target calligraphy and painting artifact database and its attributes include biographical information, then when performing concept data extraction on this artifact, biographical information concept data can be extracted. Furthermore, since biographical information belongs to the biographical information concept type, biographical information concept data can also be extracted. The relationship between biographical information and biographical information can be applied to the design of the calligraphy and painting artifact meta-concept tree. For example, when the target calligraphy and painting artifact database is a relational database, a table within it can be represented as follows: it contains four attributes: "artifact name," "author," "year," and "collection institution." The presence of these four attributes within the knowledge concept type of calligraphy and painting artifacts is sequentially determined. Preset concept rules can also be configured in other reasonable ways, and are not limited here.

[0076] Name of Cultural Relic Author Era Collection Institution Picture of Mountains Lined up in Misty River Wang Shen Song Dynasty Shanghai Museum

[0077] That is, based on the knowledge concept types of calligraphy and painting cultural relics, all corresponding concept data in the target calligraphy and painting cultural relics database can be extracted through concept extraction rules. Then, a meta-concept tree of calligraphy and painting cultural relics is constructed based on all the concept data in the target calligraphy and painting cultural relics database. The meta-concept tree of calligraphy and painting cultural relics can be formed based on the subordination relationship of concepts in the knowledge concept types of calligraphy and painting cultural relics. Among them, the root node of the meta-concept tree of calligraphy and painting cultural relics is the knowledge concept of calligraphy and painting cultural relics, and the sub-nodes of the meta-concept tree of calligraphy and painting cultural relics are the attribute concepts of calligraphy and painting cultural relics.

[0078] Finally, based on the meta-concept tree of calligraphy and painting cultural relics, a meta-database of calligraphy and painting cultural relics is formed with the meta-data of calligraphy and painting cultural relics as fields.

[0079] Step S103, construct the entity type and relationship type of calligraphy and painting cultural relics based on the meta-data of calligraphy and painting cultural relics in the meta-database of calligraphy and painting cultural relics.

[0080] Specifically, based on the meta-data of calligraphy and painting cultural relics in the meta-database of calligraphy and painting cultural relics, through the preset entity type construction rules, the entity type of calligraphy and painting cultural relics is constructed. Further, all entities in the meta-database of calligraphy and painting cultural relics are obtained, and the entity type of calligraphy and painting cultural relics is constructed based on all entities. The entity type construction rules include entity categories and entity acquisition rules. Entity categories provide all possible entity types for the meta-database of calligraphy and painting cultural relics. Further, entity categories include calligraphy and painting cultural relics, physical objects related to calligraphy and painting, places / landscapes, artificial features, natural landscapes, biological objects, digital derivatives, related physical objects, places / landscapes, cultural relic physical objects, visual elements, inscriptions / postscripts, and images, etc. Among them, calligraphy and painting cultural relics include traditional Chinese calligraphy and painting cultural relics in cultural heritage collection institutions; physical objects related to calligraphy and painting include natural and artificial objects related to calligraphy and painting cultural relics, which have physical boundaries separated and independent from other object entities and can be recorded in documents, and also include object geometries with specific functions, which have independent physical coherence, such as a set of album leaves; places / landscapes include land areas or water areas, describing the landscapes or artificial structures on the earth's surface depicted in calligraphy and painting cultural relics; artificial features include physical features intentionally created by human activities, such as mountain dwellings, temples, etc.; natural landscapes include original landscapes existing in nature, such as forests, waterfalls, water surfaces, etc.; biological objects include individuals made of natural materials, which are alive, have lived, or are natural products derived from organisms, and also include biological object instances such as animals in myths and legends, mainly used to describe relevant image themes in the surface content of calligraphy and painting works; digital derivatives include recognizable digital derivative objects with recognizable structures that can be recorded as independent units, such as digital collections of calligraphy and painting cultural relics, digital images of calligraphy and painting cultural relics. Among them, the entity types in the entity categories can also be dynamically added or deleted based on actual situations, that is, the dynamic expansion of types is realized, etc.

[0081] The entity acquisition rule is similar to the concept extraction rule, that is, it can be set to sequentially determine whether a certain entity in the entity category exists in the metadata database of painting and calligraphy cultural relics. If it exists, the corresponding entity is used as the entity type of the metadata database of painting and calligraphy cultural relics; otherwise, the corresponding entity is not used as the entity type of the metadata database of painting and calligraphy cultural relics. Figure 6 That is, an example diagram of the entity type hierarchy of painting and calligraphy cultural relics is given.

[0082] After obtaining all the entity types of the metadata database of painting and calligraphy cultural relics based on the entity type construction rule, the entity types of painting and calligraphy cultural relics are constructed based on all the entities in the metadata database of painting and calligraphy cultural relics. The entity types of painting and calligraphy cultural relics are constructed in a tree structure, and the entity type editing function of the tree structure is provided for the entity types of painting and calligraphy cultural relics, supporting the addition of entity types at the same level and lower levels of the nodes. When forming the entity types of painting and calligraphy cultural relics in a tree structure, multiple parent nodes can be added to the entity type nodes other than the root node, while ensuring that the parent node of the entity type node is not the descendant node of the entity type node. The set entity types of painting and calligraphy cultural relics in a tree structure also support the entity type deletion function, that is, when deleting an entity, the parent node of the entity type should be determined first, and then the entity type and all its descendant nodes under the specified parent node are removed; if the deleted entity type does not have a parent node, the entity type is directly and completely deleted from the entity type set. Further, the entity types of painting and calligraphy cultural relics can be formed according to the subordinate relationship of the entities in the entity category.

[0083] Each entity type in the entity types of painting and calligraphy cultural relics is set with a corresponding entity type attribute field. Preferably, the entity type attribute field in the entity types of painting and calligraphy cultural relics can be set to include an identifier, a name, a parent entity type, a child entity type, and an entity type description; among them, the entity type description is an explanatory note for the entity type. For example, painting and calligraphy cultural relics include Chinese traditional painting and calligraphy cultural relics in cultural heritage collection institutions.

[0084] Similarly, based on the metadata of painting and calligraphy cultural relics in the metadata database of painting and calligraphy cultural relics, through a preset relationship type construction rule, the relationship types of painting and calligraphy cultural relics are constructed. Further, all the relationship types in the metadata database of painting and calligraphy cultural relics are obtained, and all the relationship types are constructed into the relationship types of painting and calligraphy cultural relics. For example, the concept of mounting form is included in the metadata database of painting and calligraphy cultural relics. Therefore, there should be a relationship type of "mounting form is" in the relationship types of painting and calligraphy cultural relics. The domain of this relationship type is painting and calligraphy cultural relics, and the range is the mounting form. Example: The mounting form of Fan Kuan's Travelers among Mountains and Streams in the Song Dynasty is a scroll.

[0085] The relationship type construction rules include relationship categories and relationship acquisition rules. Relationship categories provide all possible relationship types for the metadata database of calligraphy and painting cultural relics. Further relationship categories include "original name / former name is", "mounting form is", "recorded in", "horizontal is", "vertical is", "has digital derivatives", "custody / use", "has past and current custodians", "school / style is", "mounting form is", "author is", "techniques involved are", "color used is", "size is". Among them, "original name / former name is" is used for the former names of a calligraphy and painting cultural relic instance; "mounting form is" is used to represent the relationship between a calligraphy and painting cultural relic and its mounting form; "recorded in" is used to represent the relationship between a calligraphy and painting cultural relic and its recorded literature, especially ancient calligraphy theories, painting theories, public and private collection catalogs, etc.; "horizontal is" is used to represent the horizontal measurement specifications of a calligraphy and painting cultural relic instance; "vertical is" is used to represent the vertical measurement specifications of a calligraphy and painting cultural relic instance; "has digital derivatives" is used to represent the connection between a calligraphy and painting cultural relic instance and its digital derivatives; "custody / use" is used to relate a participant instance to a calligraphy and painting cultural relic instance that is the object of management and use activities; "has past and current custodians" (is past and current custodians) indicates the participant or participants who have had the guardianship of a calligraphy and painting cultural relic instance for a period of time, etc.

[0086] The relationship acquisition rules are different from the entity acquisition rules. The relationship acquisition rules mainly judge whether a certain relationship type exists in the metadata database of calligraphy and painting cultural relics through multiple judgment conditions. For example, it judges whether there is recorded information in the metadata database of calligraphy and painting cultural relics, and whether there is a name in the recorded information. If so, it means that the relationship type of "recorded in" exists in the relationship types of calligraphy and painting cultural relics; similarly, judgment conditions for "original name / former name is", "mounting form is", "horizontal is", "vertical is", "has digital derivatives", "custody / use", "has past and current custodians", etc. can also be set. The specific relationship acquisition rules can be set based on actual needs and will not be elaborated here. Figure 7 That is, an example diagram of the relationship type hierarchy of calligraphy and painting cultural relics is given.

[0087] After obtaining all the relationship types of the metadata database of calligraphy and painting cultural relics based on the relationship type construction rules, the relationship types of calligraphy and painting cultural relics are constructed based on all the relationship types of the metadata database of calligraphy and painting cultural relics. The relationship types of calligraphy and painting cultural relics are also constructed in a tree structure, and the relationship type editing function of the tree structure is provided for the relationship types of calligraphy and painting cultural relics, supporting the addition of relationship types at the same level and lower levels of nodes. Different from entity types, the parent node of the relationship types of calligraphy and painting cultural relics has 0 or 1. The set tree-structured relationship types of calligraphy and painting cultural relics also support the relationship type deletion function, that is, when deleting a certain relationship, the parent node of the relationship type should be determined first, and then the relationship type and all its descendant nodes under the specified parent node should be removed; if the deleted relationship type does not have a parent node, the relationship type should be directly and completely deleted from the relationship type set. Further, the relationship types of calligraphy and painting cultural relics can be formed according to the subordinate relationship of the relationships in the relationship categories.

[0088] In the relationship type attribute fields of the calligraphy and painting cultural relics relationship type, there are identifier, name, parent relationship, child relationship, inverse relationship, domain, range, and relationship type description. Among them, the domain represents the subject entity type of the semantic relationship to which it belongs, the range represents the object entity type of the semantic relationship to which it belongs, and the relationship type description is an explanatory note for this relationship type. For example, being recorded in is used to represent the relationship between a certain calligraphy and painting cultural relic and its recorded literature, especially ancient calligraphy theories, painting theories, public and private collection catalogs and other literatures. Through the subject entity type, relationship type, and object entity type of calligraphy and painting cultural relics, a piece of calligraphy and painting cultural relic knowledge is expressed, forming a relationship type set with a hierarchical structure of upper and lower levels, and the inheritance relationship is represented by the upper and lower levels.

[0089] Step S104: The calligraphy and painting cultural relic entity type and the calligraphy and painting cultural relic relationship type form a calligraphy and painting cultural relic knowledge organization and expression model, encapsulate the calligraphy and painting cultural relic knowledge organization and expression model based on the model encapsulation method, and design the inference rules of the calligraphy and painting cultural relic knowledge organization and expression model.

[0090] Specifically, after obtaining the calligraphy and painting cultural relic entity type and the calligraphy and painting cultural relic relationship type, the calligraphy and painting cultural relic entity type and the calligraphy and painting cultural relic relationship type constitute the calligraphy and painting cultural relic knowledge organization and expression model. Further, the calligraphy and painting cultural relic knowledge organization and expression model provides the calligraphy and painting cultural relic entity type and the calligraphy and painting cultural relic relationship type for operations such as calligraphy and painting cultural relic retrieval.

[0091] After obtaining the calligraphy and painting cultural relic knowledge organization and expression model, it is also necessary to encapsulate the calligraphy and painting cultural relic knowledge organization and expression model based on the model encapsulation method to facilitate the computer to process the model information. The designed model encapsulation method includes the definition of the encapsulation structure of the entity type, the encapsulation structure of the relationship type, the entity type naming domain, the entity type identifier, the relationship type naming domain, and the relationship type identifier. Among them, the encapsulation structure of the entity type is represented by <E:[prop1,prop2...prop n >, where E represents the entity type and prop represents the attribute of this entity type; the encapsulation structure of the relationship type is represented by <R:[prop1,prop2...prop n> indicates, where R represents the relationship type and prop represents the attributes of that relationship type. The entity type naming domain can be defined as https: / / paingting.relics.cn / relickg / model / painting / entity / ; the definition rule for entity type identifiers is 2-digit model type number + 2-digit entity / relationship type number + 4-digit sequence number; for example, the identifier for the entity type "calligraphy and painting cultural relics" is 04010002, where 04 represents the calligraphy and painting cultural relics organization expression model number, 01 represents the entity type, and 0002 represents the sequence number of "calligraphy and painting cultural relics". The relationship type naming domain can be defined as https: / / painting.relics.cn / relickg / model / painting / relationship / ; the definition rule for relationship type identifiers is the same as that for entity types; for example, the identifier for the relationship type "mounting form is" is 04020002, where 04 represents the calligraphy and painting cultural relics organization expression model number, 02 represents the relationship type, and 0002 represents the sequence number of "mounting form is". Among them, the entity type naming domain, entity type identifiers, relationship type naming domain, and relationship type identifiers can also be defined in other reasonable forms, and no excessive restrictions are imposed on them here.

[0092] Further preferably, the encapsulated knowledge organization expression model of calligraphy and painting cultural relics can be stored in databases based on RDF graphs such as RDFS and OWL, or in databases based on property graphs such as Neo4J and Nebula Graph data.

[0093] Design the inference rules of the knowledge organization expression model of calligraphy and painting cultural relics, including description logic inference based on the knowledge organization expression model of calligraphy and painting cultural relics and inference based on production rules. Among them, the description logic inference based on the knowledge organization expression model of calligraphy and painting cultural relics includes axioms and assertions; axioms are mainly used to store semantic information and are used for inferences about the hierarchical relationships, inverse relationships, inheritance relationships, etc. between entity types and relationship types in the knowledge organization expression model of calligraphy and painting cultural relics. For example, it can include: "has a parent entity type", "has a child entity type", "has a parent relationship type", "has a child relationship type", "disjoint", "is an inverse relationship", etc.; assertions are the basis for mapping calligraphy and painting cultural relic data to cultural relic knowledge, including entity type assertions and relationship type assertions. Entity type assertions indicate whether specific calligraphy and painting cultural relic data belongs to a certain entity type, and relationship type assertions indicate whether a specific relationship is satisfied between two sets of data that have passed entity type assertions. The description logic inference based on the knowledge organization expression model of calligraphy and painting cultural relics is mainly used to verify the correctness of the model (axioms) and map cultural relic data to cultural relic knowledge (assertions).

[0094] Inference based on production rules requires customizing inference rules. The purpose is to generate more knowledge about calligraphy and painting cultural relics based on the existing knowledge data of cultural relics, compile corresponding inference rules, establish an inference rule library, and perform production rule operations through an inference engine to generate new cultural relic knowledge. Preferably, for the application scenario of the display and dissemination of calligraphy and painting cultural relics, rules for recommending similar calligraphy and painting cultural relics can be formulated. For example, there are four conditions: the same author, the same theme, the same technique, and the same era. As long as three of these conditions are met, the cultural relics are considered to have a relatively high similarity, and they can be found and recommended to users. For some general knowledge, more knowledge about calligraphy and painting cultural relics can also be generated by defining inference rules. For example, through the parent-child relationships in the relationship between people, knowledge about kinship such as grandparents and maternal grandparents can be inferred.

[0095] Both the description logic inference based on the knowledge organization and expression model of calligraphy and painting cultural relics and the inference based on production rules can be set according to the actual situation, and no excessive restrictions are imposed here.

[0096] Step S105: Based on the encapsulated knowledge organization and expression model of calligraphy and painting cultural relics and the knowledge mapping rules, map the calligraphy and painting cultural relic data in the target calligraphy and painting cultural relic database into calligraphy and painting cultural relic knowledge, and all the calligraphy and painting cultural relic knowledge forms a calligraphy and painting cultural relic knowledge base.

[0097] Specifically, it is necessary to first design knowledge mapping rules. Further, the knowledge mapping rules can describe the mapping rules from data to knowledge based on the assertions in the inference rules of the knowledge organization and expression model of calligraphy and painting cultural relics. The knowledge mapping rules include entity type mapping and relationship type mapping. Among them, for entity type mapping, a calligraphy and painting cultural relic attribute field should be selected, the calligraphy and painting cultural relic data under this attribute field should be obtained, and these data are represented as belonging to a certain entity type through entity type assertions. For example, the assertion that "the 'framing form' field in the target calligraphy and painting cultural relic database belongs to the entity type 'framing form'" and "the 'cultural relic name' field in the target calligraphy and painting cultural relic database belongs to the entity type 'calligraphy and painting cultural relic'". For relationship type mapping, it is necessary to select the attribute field as the subject and the attribute field as the object, obtain the calligraphy and painting cultural relic data under the attribute, and represent the subject entity type and object entity type corresponding to these data through relationship assertions. After the mapping rules are compiled, a set of calligraphy and painting cultural relic knowledge represented by multi-tuples can be generated, and the multi-tuples can be mapped to a typical triple set; for example, the multi-tuple <‘Yanjing Diezhang Tu’:[{‘Author is’,‘Wang Shen’}1,{‘Era is’,‘Song Dynasty’}2...{‘Collected in’,‘Shanghai Museum’} n >, this multi-tuple can be transformed into a triple set {<‘Yanjing Diezhang Tu’,‘Author is’,‘Wang Shen’>,<‘Yanjing Diezhang Tu’,‘Era is’,‘Song Dynasty’>...<‘Yanjing Diezhang Tu’,‘Collected in’,‘Shanghai Museum’>}.

[0098] After designing the knowledge mapping rules, based on the encapsulated knowledge organization and expression model and knowledge mapping rules of calligraphy and painting cultural relics, all the calligraphy and painting cultural relics data in the target calligraphy and painting cultural relics database can be mapped into calligraphy and painting cultural relics knowledge, and then all the calligraphy and painting cultural relics knowledge forms a calligraphy and painting cultural relics knowledge base. It should be noted that the above process also completes the encapsulation of calligraphy and painting cultural relics knowledge, that is, the calligraphy and painting cultural relics knowledge in the calligraphy and painting cultural relics knowledge base is all encapsulated calligraphy and painting cultural relics knowledge.

[0099] The encapsulation of calligraphy and painting cultural relics knowledge is the encapsulated storage of associated data and image data according to the requirements of the knowledge organization and expression method of calligraphy and painting cultural relics. The encapsulation of associated data needs to be carried out based on the encapsulation method of associated data. The encapsulation of image data needs to be carried out based on the encapsulation method of image data.

[0100] The encapsulation method of associated data adopted in this embodiment includes the entity data encapsulation method and the relationship data encapsulation method in associated data. The entity data encapsulation method includes the definition of the entity data naming domain and the entity data identifier; the relationship data encapsulation method includes the definition of the relationship data naming domain and the relationship data identifier. The associated data encapsulation method describes the associated data in the form of a multi-tuple, and the multi-tuple form is: <Es: [{Rp, Eo}1...{Rp, Eo} n >; where Es represents the subject entity, {Rp, Eo}1...{Rp, Eo} n represents n descriptions associated with Es, Eo represents the object entity, and Rp represents the relationship type. The entity data naming domain can be defined as https: / / painting.relics.cn / relickg / data / movablerelic / painting / ; the definition rule of the entity data identifier is the entity type number + " / " + the unique number. For example, the entity data "Picture of Auspicious Cranes" is an instance of the entity type "Calligraphy and Painting Cultural Relic", and its unique number is L05, then the entity data identifier of "Picture of Auspicious Cranes" is 04010002 / L05. The definition of the relationship data naming domain is similar to the definition of the entity data naming domain, and the definition of the relationship data identifier is similar to the definition of the entity data identifier. Preferably, the calligraphy and painting cultural relics associated data can be stored in a database based on an RDF graph such as RDFS and OWL, or can be stored in a database based on an attribute graph such as Neo4J and Nebula Graph data.

[0101] The encapsulation method of the image data adopted in this embodiment is as follows: the image data is described in a standardized manner using a preset data structure; the preset data structure includes three levels: an image attribute set, an image set, and an image resource set. Among them, the image attribute set is used to express the attributes contained in a single image; preferably, the image attributes include the image name, image area, image size, image format, etc. The image set is used to express a set composed of multiple images, including a set composed of multiple image attribute sets and image set attributes; the image set attributes include the attribute information of the image set, preferably, the image set attributes include the collection unit, rights information, etc. The image resource set includes a set used to express a set composed of multiple image sets, and the attribute information of the image resource set.

[0102] Step S106: Generate a theme list based on the calligraphy and painting cultural relics knowledge base and provide an access interface for the theme list to form a calligraphy and painting cultural relics knowledge organization and expression system.

[0103] Specifically, the calligraphy and painting cultural relics knowledge in the calligraphy and painting cultural relics knowledge base is fused to form multiple themes, and the themes are published on the network in the form of an interface API. The theme list of the knowledge interface API is specified to support the query of cultural relics knowledge based on the graph model. Optionally, the cultural relics knowledge interface API can support graph query languages such as Sparql, Cypher, Gremlin, etc., as well as natural language fuzzy query, image query, or multimodal query of text and image. Thus, the calligraphy and painting cultural relics knowledge organization and expression system for the target calligraphy and painting cultural relics database is constructed.

[0104] This embodiment also includes the update step of calligraphy and painting cultural relics knowledge. That is

[0105] Step S107: Update the calligraphy and painting cultural relics knowledge when the calligraphy and painting cultural relics text data or image data changes.

[0106] Specifically, based on the updated calligraphy and painting cultural relics text data or image data, the corresponding calligraphy and painting cultural relics knowledge is generated through step S105. The updated calligraphy and painting cultural relics knowledge is subject to knowledge review based on the inference rules of the calligraphy and painting cultural relics knowledge organization and expression model. Knowledge review is mainly used to check the results of knowledge generation, including entity type checking and relationship checking. That is, the entities and relationships of the updated calligraphy and painting cultural relics knowledge are respectively reviewed through knowledge review. After passing the review, the cultural relics knowledge is associated with the calligraphy and painting knowledge access interface to allow users to obtain the updated cultural relics knowledge.

[0107] The method for organizing and expressing the knowledge of calligraphy and painting cultural relics provided by the embodiments of the present invention can organize and present the knowledge of calligraphy and painting cultural relics in multiple modalities such as text and images, including concept sorting, construction of knowledge organization and expression models, knowledge generation, knowledge management, and knowledge presentation, covering all the knowledge organization and presentation processes from data entry to knowledge retrieval and presentation; for calligraphy and painting cultural relics of a specific type, a targeted modeling method design is carried out for calligraphy and painting cultural relics, and the semantic information extraction, organization, expression, and encapsulation of many domain concepts of calligraphy and painting cultural relics are designed and described, meeting the needs of extensive association and mutual understanding of calligraphy and painting cultural relic knowledge.

[0108] Example 2

[0109] To solve the technical problems existing in the prior art, the embodiments of the present invention also provide a device for organizing and expressing the knowledge of calligraphy and painting cultural relics.

[0110] Figure 8 The structure diagram of the device for organizing and expressing the knowledge of calligraphy and painting cultural relics in the second embodiment of the present invention is shown; refer to Figure 8 As shown, the device for organizing and expressing the knowledge of calligraphy and painting cultural relics in the embodiments of the present invention includes a database acquisition module, a meta-database construction module, an entity type and relationship type construction module, an encapsulation module, a knowledge acquisition module, and an access interface formation module.

[0111] The database acquisition module is used to acquire the target calligraphy and painting cultural relics database.

[0112] The meta-database construction module is used to construct a calligraphy and painting cultural relics meta-database based on the target calligraphy and painting cultural relics database.

[0113] The entity type and relationship type construction module is used to construct calligraphy and painting cultural relics entity types and calligraphy and painting cultural relics relationship types based on the calligraphy and painting cultural relics meta-data in the calligraphy and painting cultural relics meta-database.

[0114] The encapsulation module is used to form a calligraphy and painting cultural relics knowledge organization and expression model from the calligraphy and painting cultural relics entity types and calligraphy and painting cultural relics relationship types, encapsulate the calligraphy and painting cultural relics knowledge organization and expression model based on the model encapsulation method, and design the inference rules of the calligraphy and painting cultural relics knowledge organization and expression model.

[0115] The knowledge acquisition module is used to map the calligraphy and painting cultural relics data in the target calligraphy and painting cultural relics database into calligraphy and painting cultural relics knowledge based on the encapsulated calligraphy and painting cultural relics knowledge organization and expression model and the knowledge mapping rules. All the calligraphy and painting cultural relics knowledge forms a calligraphy and painting cultural relics knowledge base, in which the image data in the calligraphy and painting cultural relics knowledge is encapsulated through the image data encapsulation method, and the associated data in the calligraphy and painting cultural relics knowledge is encapsulated through the associated data encapsulation method. The knowledge mapping rules are designed based on the inference rules.

[0116] The access interface formation module is used to generate a theme list based on the knowledge base of calligraphy and painting cultural relics, and provide an access interface for the theme list, thereby forming a knowledge organization and expression system for calligraphy and painting cultural relics.

[0117] The calligraphy and painting cultural relics knowledge organization and expression device provided by the embodiments of the present invention can perform knowledge organization and presentation including concept sorting, knowledge organization and expression model construction, knowledge generation, knowledge management, and knowledge presentation on calligraphy and painting cultural relics data in multiple modalities such as text and images, covering the entire knowledge organization and presentation process from data entry to knowledge retrieval and presentation; for cultural relics of the specific type of calligraphy and painting, a targeted modeling method design is carried out for calligraphy and painting cultural relics, and the semantic information extraction, organization, expression, and encapsulation of many domain concepts of calligraphy and painting cultural relics are designed and described, meeting the needs of the extensive association and mutual understanding of calligraphy and painting cultural relics knowledge.

[0118] Example 3

[0119] To solve the technical problems existing in the prior art, the embodiments of the present invention also provide a method for presenting calligraphy and painting cultural relics knowledge organization and expression.

[0120] The method for presenting calligraphy and painting cultural relics knowledge organization and expression in this embodiment is mainly used to present the calligraphy and painting cultural relics knowledge organization and expression system formed in Embodiment 1 or Embodiment 2.

[0121] Figure 9 The flowchart of the method for presenting calligraphy and painting cultural relics knowledge organization and expression in Embodiment 3 of the present invention is shown; refer to Figure 9 As shown, the method for presenting calligraphy and painting cultural relics knowledge organization and expression in the embodiments of the present invention includes the following steps.

[0122] Step S301, query the corresponding associated data in the calligraphy and painting cultural relics knowledge organization and expression system according to the query conditions to form a query associated data set, calculate the degree of relevance of each associated data in the query associated data set to the query conditions respectively, and obtain the presentation weight of each associated data in the query associated data set with the degree of relevance as the presentation weight.

[0123] Specifically, obtain the query conditions, analyze the query conditions to obtain the entity type and relationship type in the query conditions. Query the corresponding associated data from the calligraphy and painting cultural relics knowledge organization and expression system based on the entity type and relationship type to form an associated data set. Calculate the degree of relevance of each associated data in the query associated data set to the query conditions respectively, and use the calculated degree of relevance as the presentation weight of the corresponding associated data, and further obtain the presentation weight of each associated data in the query associated data set. Preferably, the method of calculating the distance of features can be used to calculate the degree of relevance.

[0124] Step S302: Add entity visual components representing entities within the associated data in the query-associated data set to the display window, and set different display effects for the entity visual components based on different entities and the presentation weights of the associated data to which the entities belong.

[0125] Specifically, a large amount of associated data may be queried based on the query conditions. Due to limited display capabilities, the associated data with larger presentation weights can be selected for display. The specific number of displayed associated data can be set according to the actual situation, and no excessive restrictions are imposed here.

[0126] A further display method for the associated data is as follows: Add entity visual components to a pre-set display window. The added entity visual components are used to represent the entities within the displayed associated data in the query-associated data set. And for better display effects, different display effects of the entity visual components can be set based on different entities and the presentation weights of the associated data to which the entities belong. For example, set the standard image size to F. According to the presentation weight, the size of entity t1 is where represents the presentation weight of the associated data. Preferably, the entity visual components can be represented by circles.

[0127] It should be noted that whether it is to display the entities of the associated data queried based on the query conditions or the entities of the associated data queried by clicking on the visual operation block, the entity visual components need to be added in the above manner. And to further optimize the display effects, the number of entity visual components needs to be controlled. The method for controlling the number of entity visual components is as follows: Assume that the number of visual components in the current window is N current , when N current > N th , delete the earliest N current - N th nodes, where N th is the preset node number threshold, as shown in Figure 10 .

[0128] Step S303: Traverse all entity visual components in the display window, and based on the associated data in the query-associated data set or the associated type corresponding to the visual operation block when clicking on the visual operation block, determine whether there is an association relationship between two entity visual components. If there is, connect the corresponding two entity visual components with an association relationship visual component.

[0129] Specifically, when in the query stage based on query conditions, after adding entity visual components representing entities within the associated data in the query-associated data set to the display window, it is necessary to connect the entity visual components in the display window based on the relationship types within the associated data in the associated data set. For example, when the retrieval condition is: "Which works did Li Bai write?", the query-associated data set should be <Es: [{Rp, Eo}1...{Rp, Eo} n >, where Es represents Li Bai, and {Rp, Eo}1...{Rp, Eo} n respectively represent multiple {wrote, works}. Here, both Li Bai and the works are entities, and "wrote" represents the relationship type. Therefore, the display window includes the entity visual components corresponding to Li Bai and multiple works. At this time, it is necessary to query whether there is an association relationship between two entity visual components based on the relationship type (i.e., "wrote") in the query-associated data set. Obviously, all works are associated with Li Bai. At this time, it is necessary to connect Li Bai with all works using the association relationship visual component. Preferably, the association relationship visual component can be represented by a line.

[0130] When in the query stage by clicking on the visual operation block, after querying and adding entity visual components based on clicking on the visual operation block, it is necessary to judge the association relationship between two entity visual components in the current display window based on the association relationship represented by the clicked visual operation block. For example, based on the retrieval condition "Which works did Li Bai write", click on the visual operation block representing "the era to which it belongs" around the entity visual component representing Li Bai. At this time, the newly added entity is the entity visual component representing "Tang Dynasty". At this time, it is necessary to connect the entity visual component representing "Tang Dynasty" with the entity visual component representing "Li Bai" through the association relationship visual component. Since the current display window also contains the entity visual components of all the works written by Li Bai, and since these works all meet the condition of "the era to which it belongs" being "Tang Dynasty", it is necessary to connect all the entity visual components representing Li Bai's "works" with the entity visual component representing "Tang Dynasty" through the association relationship visual component.

[0131] Step S304, add a click event to the association relationship visual component so that when the corresponding click event occurs, the detailed data of the association relationship corresponding to the association relationship visual component is displayed in the form of an association relationship detailed page display.

[0132] Specifically, add a click event to the association relationship visual component. When the click event occurs, obtain and display the detailed data of the association relationship, draw the association relationship detailed interface, and perform window adaptive adjustment in the detailed page.

[0133] Step S305: Add a click event to the entity visual component so that when the corresponding click event occurs, the detailed data of the entity corresponding to the entity visual component is displayed in the form of an entity details page.

[0134] Specifically, add a click event to the entity visual component. When the click event occurs, obtain the cultural relic details, which include text data and image data, draw the cultural relic details interface, and perform window adaptive adjustment, as Figure 11 shown.

[0135] Step S306: Add a double-click event to the entity visual component so that when the corresponding double-click event occurs, visual operation blocks representing the relationship type are formed around the corresponding entity visual component, and the relationship type is the relationship type in the associated data related to the entity corresponding to the entity visual component.

[0136] Specifically, add a double-click event to the entity visual component. When the double-click event occurs, query the associated data <Es: [{Rp, Eo}1...{Rp, Eo}n]> related to the "entity" represented by the entity visual component, and draw visual operation blocks around the entity visual component according to the relationship type Rp in the associated data. To ensure the display effect, it is necessary to control the number of visual operation blocks, sort the relationship types in a specific order, and the optional sorting order can be set manually. For example, the relationship type order of calligraphy and painting cultural relics is: "The author is", "The theme is", "There is an image", "The texture is". When the number of relationship types exceeds a specific threshold, delete the types at the end of the relationship type sequence, as Figure 12 shown.

[0137] Step S307: Add a click event to the visual operation block so that when the corresponding click event occurs, a new entity visual component is added to the display window, so that the new entity visual component represents other entities in the associated data related to both the entity visual component corresponding to the visual operation block and the relationship type.

[0138] Specifically, add a click event to the visual operation block so that the click event can retrieve the associated data related to both the entity visual component corresponding to the visual operation block and the relationship type, and display the new entities in the retrieved associated data in the form of entity visual components. For example, based on the retrieval condition of "What works did Li Bai write", click on the visual operation block representing "The dynasty is" around the entity visual component representing Li Bai. At this time, the newly added entity is the entity visual component representing "Tang Dynasty", as Figure 13 shown.

[0139] It should be noted that the above steps include two retrieval methods. One is the retrieval condition retrieval method, and the other is the retrieval method implemented by clicking the visual operation block. Regardless of which retrieval method is used, as long as the retrieval occurs, it is to implement the step of adding the entity visual component in step S302 (unless all entities in the retrieval result have already been displayed in the current window, in which case there is no need to add new entity visual components), the search for the association relationship in step S303 and the addition of the association relationship visual component, and the addition of click events in steps S304 - S307.

[0140] The knowledge organization, expression and presentation method for calligraphy and painting cultural relics designs a presentation method suitable for covering multi-faceted knowledge narration and dissemination according to the knowledge characteristics of calligraphy and painting cultural relics, and can realize the display and interaction of associated data and image data in the knowledge of calligraphy and painting cultural relics. It solves the problems such as the inability to effectively utilize the existing knowledge of calligraphy and painting cultural relics and the limited display and dissemination.

[0141] Example 4

[0142] To solve the technical problems existing in the prior art, an embodiment of the present invention also provides a device for knowledge organization, expression and presentation of calligraphy and painting cultural relics.

[0143] Figure 14 Fig. shows the structural schematic diagram of the device for knowledge organization, expression and presentation of calligraphy and painting cultural relics in the fourth embodiment of the present invention; refer to Figure 14 As shown, the device for knowledge organization, expression and presentation of calligraphy and painting cultural relics in the embodiment of the present invention includes a query data acquisition module, an entity visual component setting module and an association relationship visual component setting module.

[0144] The query data acquisition module is used to query the corresponding associated data in the knowledge organization and expression system of calligraphy and painting cultural relics according to the query conditions to form a query associated data set, calculate the relevance degree of each associated data in the query associated data set with the query conditions respectively, and obtain the presentation weight of each associated data in the query associated data set with the presentation weight as the presentation weight;

[0145] The entity visual component setting module is used to add entity visual components representing the entities in the associated data in the query associated data set to the display window, and set different display effects of the entity visual components based on the presentation weight of the associated data to which the entities belong;

[0146] The association relationship visual component setting module is used to traverse all the entity visual components in the display window, and judge whether there is an association relationship between two entity visual components based on the associated data in the query associated data set or the association type corresponding to the visual operation block when clicking the visual operation block. If there is an association relationship, connect the corresponding two entity visual components with an association relationship visual component;

[0147] The calligraphy and painting cultural relics knowledge organization expression and presentation device in this embodiment is mainly used to present the calligraphy and painting cultural relics knowledge organization expression system formed in Embodiment 1 or Embodiment 2.

[0148] The calligraphy and painting cultural relics knowledge organization expression and presentation device designs a presentation method suitable for covering multi-faceted knowledge narration and dissemination according to the characteristics of calligraphy and painting cultural relics knowledge, and can realize the display and interaction of associated data and image data in calligraphy and painting cultural relics knowledge. It solves the problems such as the existing calligraphy and painting cultural relics knowledge being unable to be effectively utilized and the limited display and dissemination.

[0149] Example 5

[0150] To solve the above technical problems existing in the prior art, an embodiment of the present invention also provides a terminal.

[0151] Figure 15 The structural schematic diagram of the terminal in Embodiment 4 of the present invention is shown. Referring to Figure 15 , the terminal in this embodiment includes a processor and a memory connected to each other; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that when the terminal executes, all steps in the calligraphy and painting cultural relics knowledge organization expression method described in Embodiment 1 can be realized, or so that when the terminal executes, all steps in the calligraphy and painting cultural relics knowledge organization expression and presentation method described in Embodiment 3 can be realized.

[0152] The specific steps of the calligraphy and painting cultural relics knowledge organization expression method and the beneficial effects obtained by applying the terminal provided in the embodiment of the present invention are the same as those in Embodiment 1, and will not be elaborated here. The specific steps of the calligraphy and painting cultural relics knowledge organization expression and presentation method and the beneficial effects obtained by applying the terminal provided in the embodiment of the present invention are the same as those in Embodiment 3, and will not be elaborated here.

[0153] It should be noted that the memory may include a Random Access Memory (RAM), and may also include non-volatile memory, such as at least one disk memory. Similarly, the processor may also be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0154] Although the embodiments disclosed in the present invention are as described above, the content described is only an embodiment for facilitating the understanding of the present invention and is not intended to limit the present invention. Any person skilled in the art within the technical field to which the present invention pertains may make any modifications and changes in the form of implementation and details without departing from the spirit and scope disclosed by the present invention. However, the protection scope of the present invention shall still be subject to the scope defined by the appended claims.

Claims

1. A method for organizing and expressing knowledge of calligraphy and painting cultural relics, comprising: Obtaining a target database of calligraphy and painting cultural relics; Constructing a meta-database of calligraphy and painting cultural relics based on the target database of calligraphy and painting cultural relics; Constructing entity types and relationship types of calligraphy and painting cultural relics based on the meta-data of calligraphy and painting cultural relics in the meta-database of calligraphy and painting cultural relics; The entity types and relationship types of calligraphy and painting cultural relics form a knowledge organization and expression model of calligraphy and painting cultural relics. The knowledge organization and expression model of calligraphy and painting cultural relics is encapsulated based on the model encapsulation method, and the inference rules of the knowledge organization and expression model of calligraphy and painting cultural relics are designed; Based on the encapsulated knowledge organization and expression model of calligraphy and painting cultural relics and the knowledge mapping rules, the calligraphy and painting cultural relics data in the target database of calligraphy and painting cultural relics is mapped into calligraphy and painting cultural relics knowledge. All the calligraphy and painting cultural relics knowledge forms a knowledge base of calligraphy and painting cultural relics, wherein the image data in the calligraphy and painting cultural relics knowledge is encapsulated by an image data encapsulation method, and the associated data in the calligraphy and painting cultural relics knowledge is encapsulated by an associated data encapsulation method. The knowledge mapping rules are designed based on the inference rules; Generating a theme list based on the knowledge base of calligraphy and painting cultural relics and providing an access interface for the theme list to form a knowledge organization and expression system of calligraphy and painting cultural relics.

2. The expression method according to claim 1, characterized in that, The steps of constructing a meta-database of calligraphy and painting cultural relics based on the target database of calligraphy and painting cultural relics include: Extracting all concept data from the target database of calligraphy and painting cultural relics based on preset concept rules; Constructing a meta-concept tree of calligraphy and painting cultural relics based on all the concept data. The root node of the meta-concept tree of calligraphy and painting cultural relics is the knowledge concept of calligraphy and painting cultural relics, and the sub-nodes of the meta-concept tree of calligraphy and painting cultural relics are the attribute concepts of calligraphy and painting cultural relics; Based on the meta-concept tree of calligraphy and painting cultural relics, a meta-database of calligraphy and painting cultural relics is formed with the meta-data of calligraphy and painting cultural relics as fields.

3. The expression method according to claim 1, characterized in that, Both the entity types and relationship types of calligraphy and painting cultural relics are constructed in a tree structure; The entity type attribute fields in the entity types of calligraphy and painting cultural relics include identifiers, names, parent entity types, child entity types, and entity type descriptions; The relationship type attribute fields in the relationship types of calligraphy and painting cultural relics include identifiers, names, parent relationships, child relationships, inverse relationships, domains, ranges, and relationship type descriptions. The domain represents the subject entity type of the semantic relationship, and the range represents the object entity type of the semantic relationship.

4. The expression method according to claim 1, characterized in that The image data encapsulation method includes: describing the image data using a preset data structure, where the preset data structure includes an image attribute set, an image set, and an image resource set. The image attribute set is used to express the attributes contained in a single image, the image set is used to express a set composed of multiple images, and the image resource set is used to express a set composed of multiple image sets.

5. The expression method according to claim 1, characterized in that, The associated data encapsulation method includes: describing the associated data in the form of a multi-tuple, and the form of the multi-tuple is: <Es: [{Rp, Eo}1…{Rp, Eo} n >; Among them, Es represents the subject entity, {Rp, Eo}1…{Rp, Eo} n represents n descriptions associated with Es, Eo represents the object entity, and Rp represents the relationship type.

6. The expression method according to claim 1, wherein The inference rules of the knowledge organization and expression model of calligraphy and painting cultural relics include description logic reasoning and production rule reasoning. The description logic reasoning includes axioms and assertions, and the knowledge mapping rules are based on the assertions to realize the mapping from data to knowledge.

7. A device for organizing and expressing knowledge of calligraphy and painting cultural relics, characterized in that, It includes a database acquisition module, a meta-database construction module, an entity type and relationship type construction module, an encapsulation module, a knowledge acquisition module, and an access interface formation module; The database acquisition module is used to acquire a target calligraphy and painting cultural relics database; The meta-database construction module is used to construct a calligraphy and painting cultural relics meta-database based on the target calligraphy and painting cultural relics database; The entity type and relationship type construction module is used to construct calligraphy and painting cultural relics entity types and calligraphy and painting cultural relics relationship types based on the calligraphy and painting cultural relics metadata in the calligraphy and painting cultural relics meta-database; The encapsulation module is used to form a calligraphy and painting cultural relics knowledge organization expression model from the calligraphy and painting cultural relics entity types and calligraphy and painting cultural relics relationship types, encapsulate the calligraphy and painting cultural relics knowledge organization expression model based on the model encapsulation method, and design the inference rules of the calligraphy and painting cultural relics knowledge organization expression model; The knowledge acquisition module is used to map the calligraphy and painting cultural relics data in the target calligraphy and painting cultural relics database into calligraphy and painting cultural relics knowledge based on the encapsulated calligraphy and painting cultural relics knowledge organization expression model and knowledge mapping rules. All the calligraphy and painting cultural relics knowledge forms a calligraphy and painting cultural relics knowledge base, in which the image data in the calligraphy and painting cultural relics knowledge is encapsulated by the image data encapsulation method, and the associated data in the calligraphy and painting cultural relics knowledge is encapsulated by the linked data encapsulation method. The knowledge mapping rules are designed based on the inference rules; The access interface formation module is used to generate a theme list based on the calligraphy and painting cultural relics knowledge base and provide an access interface for the theme list to form a calligraphy and painting cultural relics knowledge organization expression system.

8. A method for presenting the organization and expression of calligraphy and painting cultural relics knowledge, including: Query the corresponding associated data in the calligraphy and painting cultural relics knowledge organization expression system according to the query conditions to form a query associated data set, calculate the relevance degree of each associated data in the query associated data set with the query conditions respectively, and obtain the presentation weight of each associated data in the query associated data set with the relevance degree as the presentation weight; Add entity visual components representing the entities in the associated data in the query associated data set to the display window, and set different display effects of the entity visual components based on the presentation weight of the associated data to which the entity belongs; Traverse all the entity visual components in the display window, and judge whether there is an association relationship between two entity visual components based on the associated data in the query associated data set or the associated type corresponding to the visual operation block when clicking the visual operation block. If there is an association relationship, connect the corresponding two entity visual components with an association relationship visual component; Among them, the calligraphy and painting cultural relics knowledge organization expression system is formed based on the calligraphy and painting cultural relics knowledge organization expression method described in any one of claims 1-6.

9. The presentation method according to claim 8, characterized in that It further includes: Add a click event to the association relationship visual component so that when the corresponding click event occurs, the detailed data of the association relationship corresponding to the association relationship visual component is displayed in the form of an association relationship details page; Add a click event to the entity visual component so that when the corresponding click event occurs, the detailed data of the entity corresponding to the entity visual component is displayed in the form of an entity details page; Add a double-click event to the entity visual component so that when the corresponding double-click event occurs, a visual operation block representing the relationship type is formed around the corresponding entity visual component, and the represented relationship type is the relationship type in the associated data related to the entity corresponding to the entity visual component; Add a click event to the visual operation block so that when the corresponding click event occurs, a new entity visual component is added to the display window, so that the new entity visual component represents other entities in the associated data that are related to both the entity visual component corresponding to the visual operation block and the relationship type; 10. A knowledge organization, expression, and presentation device for calligraphy and painting cultural relics, characterized in that, It includes a query data acquisition module, an entity visual component setting module, and an association relationship visual component setting module; The query data acquisition module is used to query the corresponding associated data in the calligraphy and painting cultural relic knowledge organization and expression system according to the query conditions to form a query associated data set, calculate the relevance degree of each associated data in the query associated data set to the query conditions respectively, and obtain the presentation weight of each associated data in the query associated data set with the relevance degree as the presentation weight; The entity visual component setting module is used to add an entity visual component representing the entity in the associated data in the query associated data set to the display window, and set different display effects of the entity visual components based on the presentation weight of the associated data to which the entity belongs; The association relationship visual component setting module is used to traverse all the entity visual components in the display window, and based on the associated data in the query associated data set or the associated type corresponding to the visual operation block when clicking the visual operation block, determine whether there is an association relationship between two entity visual components. If there is, connect the corresponding two entity visual components with an association relationship visual component; Among them, the calligraphy and painting cultural relic knowledge organization and expression system is formed based on the calligraphy and painting cultural relic knowledge organization and expression method described in any one of claims 1-6.

11. A terminal, characterized in that, It includes: A processor and a memory, and the memory is communicatively connected to the processor; The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the terminal executes the calligraphy and painting cultural relic knowledge organization and expression method described in any one of claims 1 to 6, Or so that the calligraphy and painting cultural relic knowledge organization and expression presentation method described in any one of claims 8 and 9 is executed.

Citation Information

Patent Citations

  • Multi-application fusion method adopting social contact context as starting point and device

    CN108257037A

  • Method and system for improving document file retrieval efficiency based on knowledge graph

    CN113221562A