The invention discloses a cultural relic building structure
risk assessment method based on a
knowledge graph. The method comprises the following steps: S1, collecting and preprocessing multi-
source data of a cultural relic building; s2, analyzing the structural data, extracting components and
disease entities, and identifying a connection and propagation relationship; s3, constructing a
knowledge graph, setting node types, and executing relation
standardization and multi-hop semantic completion; s4, performing propagation and aggregation based on neighborhood dependency and
edge type weight by using a graph neural network; s5, traversing a multi-hop path, calculating state dependence intensity and a relation weight, and identifying a structure and a
disease risk path; s6, constructing a risk feature group, and executing feature weighting to generate a component risk
score; and S7, dividing risk grades according to the risk scores, and outputting risk alarms. According to the invention, multi-source correlation modeling and intelligent evaluation between the cultural relic building component and the
disease risk can be realized, and the accuracy of
structural risk identification and the timeliness of early warning response are improved.