A community-oriented vertical domain knowledge graph retrieval enhancement generation method and system

By analyzing real-time community event data and constructing a risk coupling chain, the knowledge graph retrieval path is dynamically adjusted to identify potential risks. This solves the problem that existing community event retrieval paths are difficult to adapt to dynamic evolution, and achieves efficient event response and potential risk management.

CN123138302APending Publication Date: 2026-11-20TIANJIN YONGXINGHAI INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611395018.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-09
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing knowledge graph retrieval enhancement generation technologies are ill-suited to the dynamic evolution of community events, making it difficult to adjust retrieval paths synchronously during real-time community event processing. This hinders the effective identification of potential risks and the acquisition of forward-looking knowledge.

Method used

By acquiring real-time event data from the community, analyzing the evolution of event status, constructing risk coupling chains, dynamically adjusting the knowledge graph retrieval path, identifying potentially affected objects, and using a large language model to generate event response results, the event status and retrieval path are updated in conjunction with real-time feedback data.

Benefits of technology

It enables dynamic adaptability of knowledge retrieval, improves the relevance and timeliness of acquiring real-time event-related knowledge in the community, and enhances the accuracy of event response results and the foresight of potential risk management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123138302A_ABST
    Figure CN123138302A_ABST
Patent Text Reader

Abstract

The application discloses a community vertical domain-oriented knowledge graph retrieval enhancement generation method and system, relates to the technical field of knowledge graph retrieval, and comprises the following steps: acquiring community real-time event data and associating the community vertical domain knowledge graph; determining event state evolution information based on the event state of the adjacent time; determining the risk state of the associated graph object based on the event state evolution information; determining the risk coupling feature between the graph objects according to the risk state to obtain a risk coupling chain; dynamically determining a knowledge graph retrieval path based on the risk coupling chain; performing associated knowledge retrieval along the knowledge graph retrieval path; and constructing a core knowledge subgraph of the current event. The application dynamically adjusts the knowledge graph retrieval path based on the event state evolution, and performs forward-looking knowledge retrieval in combination with risk propagation, thereby improving the timeliness of community event knowledge retrieval and the accuracy of event response results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of knowledge graph retrieval technology, and in particular to a method and system for enhancing knowledge graph retrieval generation for community vertical domains. Background Technology

[0002] With the development of smart communities, urban governance platforms, and large language model technology, intelligent processing for community event analysis is gradually evolving from traditional rule matching and keyword retrieval to knowledge graph-assisted retrieval enhancement and generation technologies. Existing knowledge graph retrieval enhancement and generation technologies typically first extract entities and semantically associate them from community management data, equipment operation data, historical event data, and handling rules, constructing a domain knowledge graph in the form of triples or attribute graphs. Upon receiving an event query, relevant entities or semantically similar content are determined based on the event description, and related knowledge is obtained along the connection structure in the knowledge graph. The retrieval results and the event query are combined to construct an enhanced context, which is then input into a large language model to generate event analysis results or handling suggestions. Compared to retrieval methods based solely on vector similarity, this type of technology can utilize graph structures to organize semantic relationships between entities, giving the retrieved content better structured features and contextual relevance.

[0003] However, community events exhibit a clear characteristic of continuous evolution. The anomalous objects, risk levels, and knowledge needs corresponding to the same event may continuously change at different time stages. Existing knowledge graph retrieval augmentation technologies primarily revolve around the current query content, identified entities, or a preset search scope. Even when adjusting the knowledge coverage using methods such as local retrieval, global retrieval, or dynamic selection of graph communities, the starting point and focus of the retrieval are usually still mainly determined by the semantics of the current query. In continuously changing events such as community fires, equipment malfunctions, and requests for assistance, the risk level of graph objects related to the event and the intensity of risk transmission between objects change as the event status changes. Retrieving associated knowledge solely based on the current event description makes it difficult to synchronize the knowledge graph retrieval path with the event's evolution. Furthermore, objects that have not yet generated obvious anomalies but may be affected by the current risk propagation typically only become clear search targets after the actual occurrence of the anomaly information, making the augmented knowledge obtained by the generative model more biased towards the already occurred state. Summary of the Invention

[0004] In view of the aforementioned existing problems, the present invention is proposed.

[0005] Therefore, this invention provides a knowledge graph retrieval enhancement generation method for community vertical domains, which solves the problem that knowledge graph retrieval paths are difficult to adapt to the dynamic evolution of events in real-time event processing in communities.

[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution: Firstly, the present invention provides a method for enhancing the generation of knowledge graph retrieval for community vertical domains, comprising, Acquire real-time event data from the community and associate it with the community's vertical domain knowledge graph. Determine the event state evolution information based on the event state at adjacent times. Determine the risk status of associated graph objects based on the event state evolution information. Determine the risk coupling characteristics between graph objects based on the risk status to obtain the risk coupling chain. Based on the risk coupling chain, the knowledge graph retrieval path is dynamically determined, and related knowledge is retrieved along the knowledge graph retrieval path to construct the core knowledge subgraph of the current event. Based on the core knowledge subgraph, the risk propagation path is constructed to identify potential affected objects, and forward-looking knowledge retrieval is performed on the potential affected objects to obtain the event evolution enhanced knowledge subgraph. A knowledge-enhanced context is constructed based on the event evolution-enhanced knowledge subgraph. The knowledge-enhanced context and the current event information are input into the large language model to obtain the event response result. Real-time feedback data after the execution of the event response result is obtained and the event state is updated. Based on the updated event state, the event evolution analysis is performed again and the knowledge graph retrieval path is updated.

[0007] As a preferred embodiment of the knowledge graph retrieval enhancement generation method for community vertical domains described in this invention, the step of acquiring real-time community event data and associating it with the community vertical domain knowledge graph, and determining event state evolution information based on the event states at adjacent times, includes the following steps: Acquire real-time event data from the community and standardize the data to obtain event description information; Based on event description information, event objects are matched in the community vertical domain knowledge graph to establish the association between the current event and the community vertical domain knowledge graph; Obtain the real-time status information corresponding to the associated graph objects, and integrate the event description information to construct the event status at the current moment; Retrieve the previous event state from the community's vertical domain knowledge graph corresponding to the current event, and compare and analyze the previous event state with the current event state; Based on the state change results between adjacent event states, event state evolution information is generated.

[0008] As a preferred embodiment of the knowledge graph retrieval enhancement generation method for community vertical domains described in this invention, the step of determining the risk status of associated graph objects based on event state evolution information, and determining the risk coupling characteristics between graph objects based on the risk status to obtain a risk coupling chain, includes the following steps: Based on the event state evolution information, extract the event state change characteristics and determine the associated graph objects involved in the event evolution; Based on the characteristics of event state changes, and combined with the historical and current state information of each associated graph object, the risk state of each associated graph object is determined. Based on the risk status of each associated map object, calculate the degree of risk impact between map objects and determine the risk coupling characteristics between map objects; Based on the risk coupling characteristics, the coupling strength between graph objects is sorted, and graph object combinations that meet preset conditions are selected. Based on the selected graph object combinations, a risk coupling chain is generated.

[0009] As a preferred embodiment of the knowledge graph retrieval enhancement generation method for community vertical domains described in this invention, the step of dynamically determining the knowledge graph retrieval path based on the risk coupling chain, performing associated knowledge retrieval along the knowledge graph retrieval path, and constructing the core knowledge subgraph of the current event includes the following steps: Based on the order of the graph objects in the risk coupling chain and the risk coupling characteristics, determine the starting retrieval object and candidate expansion objects corresponding to the current event; Based on the initial retrieval object, candidate extended objects, and risk coupling characteristics, candidate retrieval paths matching the risk transmission direction are generated in the community vertical domain knowledge graph. The candidate retrieval paths are evaluated for effectiveness, and the target knowledge graph retrieval paths are selected based on the risk contribution of the graph objects in the paths and the degree of path matching. Retrieve graph objects, state information, and related knowledge related to the current event along the target knowledge graph retrieval path to form a candidate knowledge set for the current event; Based on the candidate knowledge set, retain the graph objects and connecting edges that meet the risk analysis needs of the current event, and construct the core knowledge subgraph of the current event.

[0010] As a preferred embodiment of the knowledge graph retrieval enhancement generation method for community vertical domains described in this invention, the step of constructing a risk propagation path based on a core knowledge subgraph, identifying potentially affected objects, and performing forward-looking knowledge retrieval on the potentially affected objects to obtain an event evolution enhanced knowledge subgraph includes the following steps: Analyze the risk status and connectivity characteristics of each graph object in the core knowledge subgraph, and select graph objects that meet the risk propagation conditions as risk propagation sources; Starting from the source of risk propagation, and combining the object connection order and risk transmission characteristics in the core knowledge subgraph, the path is extended to the outer related graph objects to generate candidate risk propagation paths; Based on the risk transmission degree and path attenuation characteristics of each graph object in the candidate risk propagation path, the propagation risk of each associated graph object is determined, and potential affected objects whose propagation risk meets the preset conditions are screened. Using potentially affected objects as prospective search targets, the current status information and risk-related knowledge of the potentially affected objects are retrieved from the community vertical domain knowledge graph to generate a prospective knowledge set; By fusing the forward-looking knowledge set with the core knowledge subgraph and establishing extended graph connections based on potentially affected objects, an event evolution enhanced knowledge subgraph is obtained.

[0011] As a preferred embodiment of the knowledge graph retrieval enhancement generation method for community vertical domains described in this invention, the step of constructing a knowledge enhancement context based on an event evolution-enhanced knowledge subgraph and inputting the knowledge enhancement context and current event information into a large language model to obtain event response results includes the following steps: Analyze the graph objects, state information, and risk propagation information in the event evolution enhanced knowledge subgraph to form a set of candidate enhanced knowledge corresponding to the current event; The target enhanced knowledge set is obtained by filtering and sorting the candidates based on their matching degree with the current event, their timeliness, and their risk contribution. The target-enhanced knowledge set is structured and organized according to the current event status, risk evolution characteristics, and potential affected objects to construct a knowledge-enhanced context; By combining knowledge-enhanced context with current event information, event-enhanced input information is generated for large language models; The enhanced input information of the event is fed into a large language model for inference generation, resulting in an event response that includes event status judgment, handling content, and potential risk warnings.

[0012] As a preferred embodiment of the knowledge graph retrieval enhancement generation method for community vertical domains described in this invention, the step of obtaining real-time feedback data after the execution of the event response result and updating the event state, re-analyzing the event evolution based on the updated event state, and updating the knowledge graph retrieval path includes the following steps: Based on the event response results, generate corresponding event handling tasks and collect real-time feedback data generated during the execution of the event handling tasks; The state of the graph object corresponding to the current event is updated based on real-time feedback data, forming the updated event state at the feedback moment; The updated event state is compared with the event state before the feedback to obtain the event state evolution information after the feedback; Based on the event state evolution information after feedback, the risk state and risk coupling characteristics of the associated graph objects are re-determined, and the risk coupling chain corresponding to the current event is updated; The knowledge graph retrieval path is adjusted based on the updated risk coupling chain to form an updated retrieval path that matches the event status after feedback, and is used for the next round of related knowledge retrieval.

[0013] Secondly, this invention provides a knowledge graph retrieval enhancement generation system for community vertical domains, comprising, The event evolution analysis module acquires real-time event data from the community and combines it with the community's vertical domain knowledge graph to analyze changes in event states at adjacent times and output event state evolution information. The risk coupling calculation module calculates the risk status of associated graph objects based on event state evolution information and establishes risk coupling chains. The dynamic retrieval module dynamically generates knowledge graph retrieval paths based on the risk coupling chain and constructs the core knowledge subgraph corresponding to the current event. The risk propagation extension module derives the risk propagation path based on the core knowledge subgraph, identifies potential affected objects, completes forward-looking knowledge retrieval, and forms an enhanced knowledge subgraph of event evolution. The enhancement generation module utilizes event evolution to enhance the knowledge subgraph, constructing a knowledge enhancement context and driving the large language model to generate event response results. The feedback iteration module updates the event status based on the real-time feedback corresponding to the event response results, and drives the event evolution analysis and knowledge graph retrieval to enter the next round of iteration.

[0014] Thirdly, the present invention provides a computer device including a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program is executed by the processor, it implements any step of the knowledge graph retrieval enhancement generation method for community vertical domains as described in the first aspect of the present invention.

[0015] Fourthly, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, it implements any step of the knowledge graph retrieval enhancement generation method for community vertical domains as described in the first aspect of the present invention.

[0016] The beneficial effects of this invention are as follows: By analyzing the evolution of event states at adjacent moments and constructing a risk coupling chain by combining the current state, historical state, and risk impact degree of associated graph objects, the adaptive adjustment of the knowledge graph retrieval direction driven by the dynamic change characteristics of events is achieved. This allows knowledge retrieval to synchronously shift the retrieval focus with the development stage of community events, reducing the entry of information with low matching degree to the current risk situation into the subsequent generation process under fixed retrieval paths, and improving the pertinence and timeliness of acquiring real-time event-related knowledge in the community. Furthermore, by using risk objects in the core knowledge subgraph as the propagation starting point and constructing a risk propagation path by combining the degree of risk transmission and path decay characteristics, graph objects that have not yet become the current anomaly center but have the potential to be affected are identified, and potentially affected objects are used as forward look-ahead. This knowledge retrieval objective expands from "knowledge retrieval of past events" to "proactive acquisition of potential risk knowledge." It enables the large language model to simultaneously utilize current event facts and the state knowledge of objects potentially affected by risk propagation when generating event response results, facilitating the early formation of a basis for handling potential risks. By filtering, sorting, and structuring the event evolution-enhanced knowledge subgraph, it reduces the interference of low-relevance or outdated knowledge on the generation process. Furthermore, by continuously updating the event state, risk coupling chains, and knowledge graph retrieval paths in conjunction with real-time feedback after the execution of event response results, the knowledge enhancement generation process forms a closed loop that continuously corrects itself as the event changes. This improves the dynamic adaptability of real-time event knowledge retrieval in the community, the accuracy of event response results, and the foresight of potential risk handling. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 A flowchart for enhancing the generation method of knowledge graph retrieval for community vertical domains.

[0019] Figure 2 A schematic diagram of a knowledge graph retrieval enhancement generation system for community-based vertical domains. Detailed Implementation

[0020] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0021] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the invention. Therefore, the invention is not limited to the specific embodiments disclosed below.

[0022] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The phrase "in one embodiment" appearing in different places in this specification does not necessarily refer to the same embodiment, nor is it a single or selective embodiment that is mutually exclusive with other embodiments.

[0023] Reference Figure 1 and Figure 2 This is one embodiment of the present invention, which provides a method for enhancing the generation of knowledge graph retrieval for community vertical domains, including the following steps: The system acquires real-time event data from the community and associates it with the community's vertical domain knowledge graph. Based on the event states at adjacent times, it determines the event state evolution information, determines the risk state of associated graph objects based on the event state evolution information, and determines the risk coupling characteristics between graph objects based on the risk states, thus obtaining a risk coupling chain.

[0024] Specifically, real-time event data from the community is acquired and standardized to obtain event description information; The real-time event data of the community includes video recognition results, IoT device alarm information, information reported by residents' APP, property inspection records, access control anomaly records, and environmental sensor data.

[0025] Based on event description information, event objects are matched in the community vertical domain knowledge graph to establish the association between the current event and the community vertical domain knowledge graph; First, extract event characteristics such as event type, location of occurrence, involved objects, equipment identification, and time information from the event description information; Using event features as search criteria, find the corresponding graph objects in the community vertical domain knowledge graph; When the event description information contains multiple event features, the association between each event feature and the corresponding graph object is established, and each associated graph object is used as the associated graph object involved in the current event.

[0026] Obtain the real-time status information corresponding to the associated graph objects, and integrate the event description information to construct the event status at the current moment; The real-time status information includes equipment operating status, space status, personnel status, and event status; Real-time status information and event description information are fused according to a preset data structure; Newly added status attributes in the event description information are directly supplemented, while identical status attributes are updated based on the latest collection time, forming event status data that represents the overall status of the current event; The event state data represents the overall state of the graph object corresponding to the current event at the current moment.

[0027] Retrieve the previous event state from the community's vertical domain knowledge graph corresponding to the current event, and compare and analyze the previous event state with the current event state; Based on the state change results between adjacent event states, generate event state evolution information; The event state at the current moment is compared with the event state at the previous moment according to the same state attributes, the changed graph objects and their corresponding state changes are identified, and the direction and trend of state change for each graph object are determined. The state changes of each map object are summarized to form event state evolution information; The event state evolution information includes the graph object that underwent a state change, the type of state change, the direction of the state change, and the corresponding change time.

[0028] By standardizing real-time community event data and matching the current event with objects in the community's vertical domain knowledge graph based on event description information, the mapping of heterogeneous event data to a unified graph semantic space is achieved. This helps reduce the bias in event information caused by different data sources and expression forms. Furthermore, by integrating the real-time state information of related graph objects to construct the current event state and retrieving the event state from the previous moment for comparative analysis, the transformation from a static event representation at a single moment to a continuous temporal state representation is realized. This effectively identifies the state changes and evolution trends that occur during the development of events, improving the accuracy of real-time event evolution identification in the community and the timeliness and adaptability of subsequent knowledge graph retrieval.

[0029] Furthermore, based on the event state evolution information, the event state change characteristics are extracted, and the associated graph objects participating in the event evolution are identified; The event state evolution information is split according to the graph object, the state attributes of each graph object at adjacent time are extracted, and the state attributes at the current time are compared with the state attributes at the previous time to obtain the direction of change, duration of change and type of change of the state attributes, thus forming the event state change characteristics. Among them, the types of state changes include new anomalies, persistent anomalies, enhanced anomalies, weakened anomalies, and disappeared anomalies; Graph objects with changing state attributes, as well as graph objects that have direct graph connections to graph objects that have changed state and are affected by the state changes, are identified as associated graph objects participating in the evolution of the current event, and the corresponding state change features are bound to the associated graph objects.

[0030] Based on the characteristics of event state changes, and combined with the historical and current state information of each associated graph object, the risk state of each associated graph object is determined. Read the historical normal state, historical abnormal state, and current state of each associated graph object in the community vertical domain knowledge graph; The current state is compared with the historical normal state to determine the degree of abnormality of the current state, and the abnormal state is judged to be in the enhancement, persistence, weakening or recovery stage by combining the characteristics of event state change. If the deviation of the current state from the historical normal state increases and the direction of the state change points to an aberration, then the risk state of the corresponding map object is increased. If the current state gradually returns to the historical normal state and the direction of state change indicates a weakening of the abnormality, then the risk state of the corresponding graph object is reduced.

[0031] Based on the risk status of each associated map object, calculate the degree of risk impact between map objects and determine the risk coupling characteristics between map objects; Based on the characteristics of event state changes, determine the timing and magnitude of state changes for each associated map object; By combining the risk status of each associated graph object with the existing connection information between graph objects in the community vertical domain knowledge graph, the combination of graph objects with risk transmission conditions is determined. For two graph objects that are directly connected and whose state change times satisfy the order of propagation, the graph object with the earlier state change time is regarded as the risk-affected object, and the graph object with the later state change time is regarded as the affected object. The degree of risk impact is calculated based on the risk status of the affected object, the magnitude of the status change of the affected object, and the time interval between the status changes of two objects in the graph. The formula is as follows: ; in, For indexing map objects, For the first The index of the graph object whose state change time is later. For the first The first graph object is the first The degree of risk impact of each graph object For the first The first graph object and the first The connection identifier of a graph object in the community's vertical domain knowledge graph is 1 when two graph objects have a direct graph connection that satisfies the propagation conditions of the current event, and 0 otherwise. For the first Risk status value of a graph object The first one extracted from the event state change features The magnitude of state changes for each graph object For the first Each graph object corresponds to the moment when a state change occurs. For the first Each graph object corresponds to the moment when a state change occurs. The time interval for collecting adjacent event states.

[0032] Risk coupling features are constructed based on the degree of risk impact and the risk transmission direction of the corresponding map objects; Among them, the degree of risk impact is used to characterize the risk coupling strength between graph objects, and the order of the state changes of graph objects is used to characterize the risk coupling direction.

[0033] Based on the risk coupling characteristics, the coupling strength between graph objects is sorted, and graph object combinations that meet preset conditions are selected. The degree of risk impact characterizes the strength of risk coupling of corresponding graph object combinations, and graph object combinations with risk transmission direction are sorted from high to low according to the degree of risk impact. Groups of graph objects whose risk impact reaches the preset risk coupling condition will be retained, while groups of graph objects that do not meet the preset risk coupling condition will be removed from the risk analysis scope of the current event. Obtain a combination of target map objects that represent the main risk transmission direction of the current event.

[0034] Based on the selected graph object combinations, a risk coupling chain is generated; Based on the source map objects, target map objects, and risk transmission direction in each filtered map object combination, the map object combinations with common map objects are connected end to end; The target graph object in the previous graph object combination is used as the source graph object in the next graph object combination, and then connected sequentially according to the risk transmission direction. When the same graph object corresponds to multiple subsequent target graph objects, the order of subsequent connections is determined based on the risk impact of each graph object combination, forming a risk coupling chain that extends step by step from the main risk object of the current event to the subsequent related graph objects, and the arrangement order of each graph object in the risk coupling chain and the corresponding risk coupling characteristics are recorded.

[0035] By extracting state change features from event state evolution information and combining them with historical and current state information of associated graph objects to determine risk status, differentiated identification of the degree of risk change of different graph objects during event evolution is achieved. Furthermore, based on the risk status of each graph object, the degree of risk impact between objects is analyzed to form risk coupling features, enabling the originally scattered object risk information to be associated and represented according to the degree of mutual influence during event evolution. On this basis, the strength of risk coupling is sorted and filtered to construct a risk coupling chain, highlighting graph objects that have a high risk contribution to the current event development and their transmission order, reducing the interference of irrelevant graph objects on the retrieval scope, and improving the pertinence of community event risk association knowledge identification and the adaptability of dynamic retrieval.

[0036] Based on the risk coupling chain, the knowledge graph retrieval path is dynamically determined, and related knowledge is retrieved along the knowledge graph retrieval path to construct the core knowledge subgraph of the current event. Based on the core knowledge subgraph, the risk propagation path is constructed to identify potential affected objects, and forward-looking knowledge retrieval is performed on the potential affected objects to obtain the event evolution enhanced knowledge subgraph.

[0037] Specifically, based on the order of the graph objects in the risk coupling chain and the risk coupling characteristics, the starting retrieval object and candidate expansion objects corresponding to the current event are determined; Traverse the risk coupling chain and read the arrangement order of each graph object in the risk coupling chain and the corresponding risk coupling characteristics; The graph object located at the head of the risk coupling chain and having no upstream risk impact objects is identified as the starting retrieval object for the current event; Read subsequent graph objects that have a risk coupling relationship with the initial retrieval object in the order of arrangement in the risk coupling chain, and determine the graph objects that are downstream of the initial retrieval object and meet the risk transmission direction as candidate expansion objects in sequence. When the same initial retrieval object corresponds to multiple downstream graph objects, each downstream graph object is identified as a candidate expansion object.

[0038] Based on the initial retrieval object, candidate extended objects, and risk coupling characteristics, candidate retrieval paths matching the risk transmission direction are generated in the community vertical domain knowledge graph. Starting with the initial search object as the search starting point and the candidate extended object as the search ending point, the graph is traversed along the risk transmission direction corresponding to the risk coupling chain in the community vertical domain knowledge graph. During the traversal, only graph connections that satisfy the consistency of risk transmission direction are retained, and each graph object passed between the starting search object and the candidate expansion object is connected in sequence to form the corresponding candidate search path; When the initial search object can reach the candidate extended object through multiple different graph connections, corresponding candidate search paths are generated respectively.

[0039] The candidate retrieval paths are evaluated for effectiveness, and the target knowledge graph retrieval paths are selected based on the risk contribution of the graph objects in the paths and the degree of path matching. For each candidate retrieval path, the risk status corresponding to each graph object in the path is statistically analyzed. Combined with the order of the graph objects in the risk coupling chain, the effective value of the candidate retrieval path is calculated using the following formula: ; in, For candidate retrieval path index, For the first The valid values ​​of the candidate search paths. This represents the total number of graph objects contained in the current candidate search path. For the first The number of graph connections contained in each candidate search path. The path matching degree represents the degree of consistency between the candidate retrieval path and the direction of risk coupling chain transmission.

[0040] The path matching degree is high when the order of all graph objects in the candidate retrieval path is consistent with the risk coupling chain, and low when there are graph connections in the candidate retrieval path that deviate from the risk transmission direction.

[0041] Retrieve graph objects, state information, and related knowledge related to the current event along the target knowledge graph retrieval path to form a candidate knowledge set for the current event; Based on the candidate knowledge set, retain the graph objects and connecting edges that meet the risk analysis needs of the current event, and construct the core knowledge subgraph of the current event.

[0042] By determining the initial retrieval object and candidate expansion objects based on the arrangement order of graph objects in the risk coupling chain and the risk coupling characteristics, the selection of the starting point and expansion direction of knowledge graph retrieval driven by risk transmission characteristics is realized, enabling the retrieval process to revolve around the main risk links of the current event. Furthermore, by generating candidate retrieval paths that match the risk transmission direction and evaluating their effectiveness by combining the risk contribution degree of graph objects in the path with the path matching degree, differentiated screening of the retrieval value of different candidate paths is achieved, thereby reducing the inclusion of low-risk related or knowledge deviating from the current event evolution direction in the retrieval results. On this basis, related knowledge is obtained along the target knowledge graph retrieval path and a core knowledge subgraph is constructed, enabling the graph objects, state information, and related knowledge required by the current event to be centrally organized according to risk analysis needs, improving the adaptability of the knowledge graph retrieval path to the event risk evolution and the pertinence and effectiveness of core event knowledge extraction.

[0043] Furthermore, the risk status and connectivity characteristics of each graph object in the core knowledge subgraph are analyzed, and graph objects that meet the risk propagation conditions are selected as risk propagation sources. Traverse each graph object in the core knowledge subgraph and read the risk status corresponding to each graph object and the connection features between each graph object and its adjacent graph objects. A graph object whose risk status reaches the preset propagation conditions and has at least one downstream connected object is identified as a risk propagation source. When multiple graph objects meet the risk propagation conditions, each graph object is used as a risk propagation source, forming a corresponding risk propagation starting point.

[0044] Starting from the source of risk propagation, and combining the object connection order and risk transmission characteristics in the core knowledge subgraph, the path is extended to the outer related graph objects to generate candidate risk propagation paths; Starting from the source of risk propagation, the peripheral graph objects that are connected to the source of risk propagation are visited layer by layer according to the connection order between graph objects in the core knowledge subgraph, and the risk propagation path is expanded in sequence according to the direction of risk transmission. When a certain graph object corresponds to multiple downstream graph objects, the path expansion continues along each downstream graph object until there are no more downstream graph objects that meet the risk propagation conditions, thus forming several candidate risk propagation paths.

[0045] Based on the risk transmission degree and path attenuation characteristics of each graph object in the candidate risk propagation path, the propagation risk of each associated graph object is determined, and potential affected objects whose propagation risk meets the preset conditions are screened. For each candidate risk propagation path, the degree of risk impact between adjacent graph objects in the path is read, and the path attenuation characteristics are determined based on the number of graph connections traversed between the risk propagation source and the currently associated graph object. Among them, the more graph connections the risk propagation source passes through to the associated graph object, the greater the corresponding path attenuation. For the association graph objects in the candidate risk propagation path, the propagation risk is calculated using the following formula: ; in, For the first The risk of propagation of individual graph objects For the source of risk transmission to the first Path decay factor for a graph object.

[0046] The path attenuation factor is determined as follows: ; in, For the source of risk transmission to the first The number of graph connections a graph object traverses.

[0047] Using potentially affected objects as prospective search targets, the current status information and risk-related knowledge of the potentially affected objects are retrieved from the community vertical domain knowledge graph to generate a prospective knowledge set; By integrating the forward-looking knowledge set with the core knowledge subgraph and establishing extended graph connections based on potentially affected objects, an event evolution enhanced knowledge subgraph is obtained. Add potentially affected objects from the forward-looking knowledge set as new graph objects to the core knowledge subgraph; For graph objects that already exist in the core knowledge subgraph in the forward knowledge set, update the state information of the corresponding graph object; Based on the association between potentially affected objects and corresponding graph objects in the core knowledge subgraph, extended graph connections are established, while the graph objects and graph connections in the original core knowledge subgraph are retained, forming an event evolution enhanced knowledge subgraph.

[0048] By analyzing the risk status and connection characteristics of each graph object in the core knowledge subgraph and screening for risk propagation sources, the effective identification of the potential risk diffusion starting point of the current event is achieved, enabling subsequent analysis to focus on objects with actual propagation significance. Furthermore, by combining object connection order, risk transmission degree, and path decay characteristics to generate and evaluate risk propagation paths, a structured representation of the process of risk expansion along the knowledge graph to peripheral related objects is achieved, enabling the identification of potentially affected objects before related objects show obvious anomalies. Using potentially affected objects as prospective retrieval targets, their current status information and risk-related knowledge are proactively acquired and integrated with the core knowledge subgraph to form an event evolution enhanced knowledge subgraph. This expands knowledge retrieval from a passive response to existing risks to a proactive acquisition of potential risks, improving the foresight of community event risk identification, the completeness of related knowledge acquisition, and the preventiveness of event response decisions.

[0049] A knowledge-enhanced context is constructed based on the event evolution-enhanced knowledge subgraph. The knowledge-enhanced context and the current event information are input into the large language model to obtain the event response result. Real-time feedback data after the execution of the event response result is obtained and the event state is updated. Based on the updated event state, the event evolution analysis is performed again and the knowledge graph retrieval path is updated.

[0050] Specifically, the graph objects, state information, and risk propagation information in the event evolution enhanced knowledge subgraph are analyzed to form a set of candidate enhanced knowledge corresponding to the current event; The event evolution enhanced knowledge subgraph is traversed, and graph objects related to the current event, current state information corresponding to each graph object, relationships between graph objects, and risk propagation information corresponding to risk propagation paths are extracted. The extracted information is then aggregated according to the graph objects. Duplicate knowledge corresponding to the same graph object is merged, and the latest state information is retained for graph objects whose state information has been updated, forming a set of candidate augmented knowledge.

[0051] The candidate augmented knowledge set includes various knowledge items such as graph objects, object states, object relationships, and risk propagation information corresponding to the objects.

[0052] The target enhanced knowledge set is obtained by filtering and sorting the candidates based on their matching degree with the current event, their timeliness, and their risk contribution. First, based on the graph objects involved in the current event, the event type, and the event status, the various knowledge items in the candidate augmented knowledge set are correlated and filtered. Knowledge corresponding to the current event's association graph objects, graph objects on the risk propagation path, and potentially affected objects is identified as knowledge that matches the current event, while knowledge that has no association with the graph objects is eliminated; The timeliness of knowledge is determined based on the collection time of the corresponding state information of each knowledge item. When there are multiple state knowledge items for the same graph object, the state knowledge with the newest collection time is retained first. Read the risk status, risk impact degree or propagation risk of each knowledge corresponding to the map object, and identify the knowledge with a high risk status, strong risk impact degree or propagation risk that meets the screening conditions of potential affected objects as knowledge with a high risk contribution degree. Based on the matching degree, timeliness, and risk contribution, the candidate augmented knowledge is screened and sorted in sequence to obtain the target augmented knowledge set.

[0053] The target-enhanced knowledge set is structured and organized according to the current event status, risk evolution characteristics, and potential affected objects to construct a knowledge-enhanced context; The target-enhanced knowledge set is categorized and organized according to current event status information, risk evolution information, and potential risk information; Specifically, the current event is directly associated with the graph objects and their current state information in the current event state section, the risk coupling chain, risk propagation path and the state change information of the corresponding graph objects are in the risk evolution section, and the potentially affected objects and their current state information and risk association knowledge are in the potential risk section. Preserve the relationships between the corresponding graph objects and the risk transmission relationships between different parts of knowledge, so that different types of knowledge can form a knowledge enhancement context in the logical order of "current state - risk evolution - potential impact".

[0054] By combining knowledge-enhanced context with current event information, event-enhanced input information is generated for large language models; The current event information is used as the event description, the knowledge-enhanced context is used as the event analysis basis, and an event response task description is set to limit the output content of the large language model. The three parts of information are combined according to the preset input order to form the event-enhanced input information. The event description section is used to provide the large language model with the type of the current event, the location of the event, the objects involved, and the current state. The event analysis basis section provides knowledge of the risk evolution and potential affected parties corresponding to the current event. The event response task description is used to instruct the large language model to make a status judgment on the current event based on the provided knowledge, generate the handling content, and identify potential risks that need to be alerted.

[0055] The event-enhanced input information is fed into a large language model for reasoning and generation, resulting in an event response that includes event status judgment, handling content, and potential risk warnings; The event-enhanced input information is fed into a pre-deployed large language model, and generation processing is performed based on the event description, knowledge-enhanced context, and event response task description contained in the event-enhanced input information. The generated content is output in a structured manner according to the event status judgment, event handling content, and potential risk warning; Among them, the event status judgment is used to describe the current status of the event and the main related map objects, the event handling content is used to give the handling matters for the current event status and risk evolution, and the potential risk warning is used to point out the potential affected objects determined by the risk propagation path and the risk impact they may suffer.

[0056] By analyzing the graph objects, state information, and risk propagation information in the event evolution-enhanced knowledge subgraph, and filtering and sorting them according to their matching degree with the current event, timeliness, and risk contribution, high-value information in the enhanced knowledge is prioritized for retention, reducing interference from low-relevance, time-sensitive, or risk-contributing information in the subsequent generation process. Furthermore, the target enhanced knowledge is structured by combining the current event state, risk evolution characteristics, and potentially affected objects, ensuring that the input information obtained by the large language model simultaneously reflects the current event facts, evolutionary trends, and potential risk scope, thereby enhancing the generation process's understanding of the event context. Based on this, the knowledge-enhanced context is fused with the current event information and input into the large language model for reasoning generation, enabling the event response results to take into account event state judgment, handling needs, and potential risk warnings. This provides knowledge-based generation results for community event handling, improving the relevance, timeliness, and reliability of event response content and risk assessment.

[0057] Furthermore, corresponding event handling tasks are generated based on the event response results, and real-time feedback data generated during the execution of the event handling tasks is collected; The state of the graph object corresponding to the current event is updated based on real-time feedback data, forming the updated event state at the feedback moment; The updated event state is compared with the event state before the feedback to obtain the event state evolution information after the feedback; Based on the event state evolution information after feedback, the risk state and risk coupling characteristics of the associated graph objects are re-determined, and the risk coupling chain corresponding to the current event is updated; The knowledge graph retrieval path is adjusted based on the updated risk coupling chain to form an updated retrieval path that matches the event status after feedback, and is used for the next round of related knowledge retrieval.

[0058] By transforming event response results into event handling tasks and continuously collecting real-time feedback data during the execution process, an effective feedback loop of event handling results to knowledge graph status updates is achieved, which can promptly reflect the actual changes in the status of graph objects after on-site handling. Furthermore, by comparing the event status before and after feedback, the event status evolution information is re-identified and the risk status and risk coupling chain of associated graph objects are updated, enabling risk analysis results to be dynamically corrected as the handling progresses, avoiding the continued use of outdated risk judgments in subsequent searches. On this basis, the knowledge graph search path is adjusted according to the updated risk coupling chain, ensuring that the next round of associated knowledge retrieval is consistent with the latest event status, forming a closed-loop mechanism of event response, feedback perception, risk reassessment, and search updates, thereby improving the dynamic adaptability of knowledge retrieval and the reliability of subsequent response results during the continuous handling of community events.

[0059] This embodiment also provides a knowledge graph retrieval enhancement generation system for community vertical domains, including: The event evolution analysis module acquires real-time event data from the community and combines it with the community's vertical domain knowledge graph to analyze changes in event states at adjacent times and output event state evolution information. The risk coupling calculation module calculates the risk status of associated graph objects based on event state evolution information and establishes risk coupling chains. The dynamic retrieval module dynamically generates knowledge graph retrieval paths based on the risk coupling chain and constructs the core knowledge subgraph corresponding to the current event. The risk propagation extension module derives the risk propagation path based on the core knowledge subgraph, identifies potential affected objects, completes forward-looking knowledge retrieval, and forms an enhanced knowledge subgraph of event evolution. The enhancement generation module utilizes event evolution to enhance the knowledge subgraph, constructing a knowledge enhancement context and driving the large language model to generate event response results. The feedback iteration module updates the event status based on the real-time feedback corresponding to the event response results, and drives the event evolution analysis and knowledge graph retrieval to enter the next round of iteration.

[0060] This embodiment also provides a computer device applicable to the knowledge graph retrieval enhancement generation method for community vertical domains, including: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the knowledge graph retrieval enhancement generation method for community vertical domains as proposed in the above embodiment.

[0061] The computer device can be a terminal, comprising a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, carrier networks, NFC (Near Field Communication), or other technologies. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device's casing, or an external keyboard, touchpad, or mouse.

[0062] This embodiment also provides a storage medium storing a computer program that, when executed by a processor, implements the knowledge graph retrieval enhancement generation method for community-oriented vertical domains as proposed in the above embodiments. The storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Red-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0063] In summary, this invention achieves adaptive adjustment of the knowledge graph retrieval direction driven by the dynamic changes of events by analyzing the evolution of event states at adjacent moments and constructing a risk coupling chain by combining the current state, historical state, and risk impact degree of associated graph objects. This allows knowledge retrieval to synchronously shift its focus with the development stage of community events, reducing the amount of information with low matching degree to the current risk situation entering the subsequent generation process under fixed retrieval paths, and improving the pertinence and timeliness of acquiring real-time event-related knowledge in the community. Furthermore, by using risk objects in the core knowledge subgraph as the propagation starting point and constructing a risk propagation path by combining the degree of risk transmission and path decay characteristics, this invention identifies graph objects that have not yet become the current anomaly center but have the potential to be affected, and uses potentially affected objects as a prospective indicator. The knowledge retrieval objective expands from "knowledge retrieval of past events" to "proactive acquisition of potential risk knowledge," enabling the large language model to simultaneously utilize current event facts and the state knowledge of objects potentially affected by risk propagation when generating event response results. This facilitates the early formation of a basis for handling potential risks. By filtering, sorting, and structuring the event evolution-enhanced knowledge subgraph, the interference of low-relevance or outdated knowledge on the generation process can be reduced. Furthermore, by continuously updating the event state, risk coupling chain, and knowledge graph retrieval path in conjunction with real-time feedback after the execution of event response results, the knowledge enhancement generation process forms a closed loop that continuously corrects itself as the event changes. This improves the dynamic adaptability of real-time event knowledge retrieval in the community, the accuracy of event response results, and the foresight of potential risk handling.

[0064] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A method for enhancing knowledge graph retrieval and generation for community-based vertical domains, characterized in that: include, Acquire real-time event data from the community and associate it with the community's vertical domain knowledge graph. Determine the event state evolution information based on the event state at adjacent times. Determine the risk status of associated graph objects based on the event state evolution information. Determine the risk coupling characteristics between graph objects based on the risk status to obtain the risk coupling chain. Based on the risk coupling chain, the knowledge graph retrieval path is dynamically determined, and related knowledge is retrieved along the knowledge graph retrieval path to construct the core knowledge subgraph of the current event. Based on the core knowledge subgraph, the risk propagation path is constructed to identify potential affected objects, and forward-looking knowledge retrieval is performed on the potential affected objects to obtain the event evolution enhanced knowledge subgraph. A knowledge-enhanced context is constructed based on the event evolution-enhanced knowledge subgraph. The knowledge-enhanced context and the current event information are input into the large language model to obtain the event response result. Real-time feedback data after the execution of the event response result is obtained and the event state is updated. Based on the updated event state, the event evolution analysis is performed again and the knowledge graph retrieval path is updated.

2. The knowledge graph retrieval enhancement generation method for community vertical domains as described in claim 1, characterized in that: The process of acquiring real-time community event data and associating it with the community's vertical domain knowledge graph, and determining the event state evolution information based on the event states at adjacent times, includes the following steps: Acquire real-time event data from the community and standardize the data to obtain event description information; Based on event description information, event objects are matched in the community vertical domain knowledge graph to establish the association between the current event and the community vertical domain knowledge graph; Obtain the real-time status information corresponding to the associated graph objects, and integrate the event description information to construct the event status at the current moment; Retrieve the previous event state from the community's vertical domain knowledge graph corresponding to the current event, and compare and analyze the previous event state with the current event state; Based on the state change results between adjacent event states, event state evolution information is generated.

3. The knowledge graph retrieval enhancement generation method for community vertical domains as described in claim 2, characterized in that: The process of determining the risk status of associated graph objects based on event state evolution information, and determining the risk coupling characteristics between graph objects based on the risk status to obtain a risk coupling chain, includes the following steps: Based on the event state evolution information, extract the event state change characteristics and determine the associated graph objects involved in the event evolution; Based on the characteristics of event state changes, and combined with the historical and current state information of each associated graph object, the risk state of each associated graph object is determined. Based on the risk status of each associated map object, calculate the degree of risk impact between map objects and determine the risk coupling characteristics between map objects; Based on the risk coupling characteristics, the coupling strength between graph objects is sorted, and graph object combinations that meet preset conditions are selected. Based on the selected graph object combinations, a risk coupling chain is generated.

4. The knowledge graph retrieval enhancement generation method for community vertical domains as described in claim 3, characterized in that: The process of dynamically determining the knowledge graph retrieval path based on the risk coupling chain, retrieving related knowledge along the knowledge graph retrieval path, and constructing the core knowledge subgraph of the current event includes the following steps: Based on the order of the graph objects in the risk coupling chain and the risk coupling characteristics, determine the starting retrieval object and candidate expansion objects corresponding to the current event; Based on the initial retrieval object, candidate extended objects, and risk coupling characteristics, candidate retrieval paths matching the risk transmission direction are generated in the community vertical domain knowledge graph. The candidate retrieval paths are evaluated for effectiveness, and the target knowledge graph retrieval paths are selected based on the risk contribution of the graph objects in the paths and the degree of path matching. Retrieve graph objects, state information, and related knowledge related to the current event along the target knowledge graph retrieval path to form a candidate knowledge set for the current event; Based on the candidate knowledge set, retain the graph objects and connecting edges that meet the risk analysis needs of the current event, and construct the core knowledge subgraph of the current event.

5. The knowledge graph retrieval enhancement generation method for community vertical domains as described in claim 4, characterized in that: The process of constructing a risk propagation path based on a core knowledge subgraph, identifying potentially affected objects, and performing forward-looking knowledge retrieval on these objects to obtain an enhanced knowledge subgraph of event evolution includes the following steps: Analyze the risk status and connectivity characteristics of each graph object in the core knowledge subgraph, and select graph objects that meet the risk propagation conditions as risk propagation sources; Starting from the source of risk propagation, and combining the object connection order and risk transmission characteristics in the core knowledge subgraph, the path is extended to the outer related graph objects to generate candidate risk propagation paths; Based on the risk transmission degree and path attenuation characteristics of each graph object in the candidate risk propagation path, the propagation risk of each associated graph object is determined, and potential affected objects whose propagation risk meets the preset conditions are screened. Using potentially affected objects as prospective search targets, the current status information and risk-related knowledge of the potentially affected objects are retrieved from the community vertical domain knowledge graph to generate a prospective knowledge set; By fusing the forward-looking knowledge set with the core knowledge subgraph and establishing extended graph connections based on potentially affected objects, an event evolution enhanced knowledge subgraph is obtained.

6. The knowledge graph retrieval enhancement generation method for community vertical domains as described in claim 5, characterized in that: The process of constructing a knowledge-enhanced context based on an event evolution-enhanced knowledge subgraph, and inputting the knowledge-enhanced context and current event information into a large language model to obtain the event response result includes the following steps: Analyze the graph objects, state information, and risk propagation information in the event evolution enhanced knowledge subgraph to form a set of candidate enhanced knowledge corresponding to the current event; The target enhanced knowledge set is obtained by filtering and sorting the candidates based on their matching degree with the current event, their timeliness, and their risk contribution. The target-enhanced knowledge set is structured and organized according to the current event status, risk evolution characteristics, and potential affected objects to construct a knowledge-enhanced context; By combining knowledge-enhanced context with current event information, event-enhanced input information is generated for large language models; The event-enhanced input information is fed into a large language model for inference generation, resulting in an event response that includes event status judgment, handling content, and potential risk warnings.

7. The knowledge graph retrieval enhancement generation method for community vertical domains as described in claim 6, characterized in that: The process of obtaining real-time feedback data after the execution of the event response and updating the event status, re-analyzing the event evolution based on the updated event status, and updating the knowledge graph retrieval path includes the following steps: Based on the event response results, generate corresponding event handling tasks and collect real-time feedback data generated during the execution of the event handling tasks; The state of the graph object corresponding to the current event is updated based on real-time feedback data, forming the updated event state at the feedback moment; The updated event state is compared with the event state before feedback to obtain the event state evolution information after feedback; Based on the event state evolution information after feedback, the risk state and risk coupling characteristics of the associated graph objects are re-determined, and the risk coupling chain corresponding to the current event is updated; The knowledge graph retrieval path is adjusted based on the updated risk coupling chain to form an updated retrieval path that matches the event status after feedback, and is used for the next round of related knowledge retrieval.

8. A knowledge graph retrieval enhancement and generation system for community vertical domains, based on the knowledge graph retrieval enhancement and generation method for community vertical domains as described in any one of claims 1 to 7, characterized in that: include, The event evolution analysis module acquires real-time event data from the community and combines it with the community's vertical domain knowledge graph to analyze changes in event states at adjacent times and output event state evolution information. The risk coupling calculation module calculates the risk status of associated graph objects based on event state evolution information and establishes risk coupling chains. The dynamic retrieval module dynamically generates knowledge graph retrieval paths based on the risk coupling chain and constructs the core knowledge subgraph corresponding to the current event. The risk propagation extension module derives the risk propagation path based on the core knowledge subgraph, identifies potential affected objects, completes forward-looking knowledge retrieval, and forms an enhanced knowledge subgraph of event evolution. The enhancement generation module utilizes event evolution to enhance the knowledge subgraph, constructing a knowledge enhancement context and driving the large language model to generate event response results. The feedback iteration module updates the event status based on the real-time feedback corresponding to the event response results, and drives the event evolution analysis and knowledge graph retrieval to enter the next round of iteration.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, it implements the steps of the knowledge graph retrieval enhancement generation method for community vertical domains as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, it implements the steps of the knowledge graph retrieval enhancement generation method for community vertical domains as described in any one of claims 1 to 7.