The invention belongs to the crossing field of
traffic engineering and
information technology, and discloses a highway continuous longitudinal slope section traffic
safety knowledge graph construction method. According to the method, road section features,
traffic flow, historical accidents and
environmental data are integrated, and a multi-
source data set is constructed through cleaning and
standardization processing; defining a road section, an accident, an environment and a vehicle entity, and constructing a multi-level
knowledge graph comprising a static topology layer, a dynamic attribute layer and a probabilistic reasoning layer; knowledge triples are extracted by using a
natural language processing technology, and real-time
risk assessment and early warning are realized by dynamically fusing association logic of gradient, environment and accident data in combination with a
rule engine; a
graph database is adopted to store the graph, and
semantic query and dynamic updating are supported. The method breaks through the limitation of traditional single
data source analysis, solves the problem of
coupling risk assessment of dynamic environmental factors and static features under complex terrains through multi-source fusion and probabilistic reasoning mechanisms, and remarkably improves the traffic
safety risk prediction precision.