The application discloses a kind of multi-
granularity semantic coverage detection and step deviation diagnosis method based on
knowledge graph ontology constraint.The method inquires standard step sequence and each standard step pre-associated check item, atomic semantic slot, weight and order constraint from
knowledge graph according to current job task, and obtains to be audited step sequence;According to
knowledge graph ontology, the semantic analysis and standard concept mapping of to-be-audited step are carried out, and the filling step semantic slot set is obtained;Combining vector similarity generates candidate to-be-audited step set for each standard step;In the range of candidate set, check item coverage audit and atomic semantic slot coverage audit are carried out respectively, and check item coverage
score and atomic semantic coverage
score are obtained;Based on the
score, order constraint penalty term and forced atomic slot missing penalty term, fusion coverage score is calculated, and coverage state is determined according to fusion coverage score and forced atomic slot coverage condition;According to the preset priority of missing step or pre-step missing, order error, over-generalized merging, split expression, effective merging, redundant step from high to low, determine
main diagnosis type;Finally, through knowledge graph ontology, step deviation type is associated to corresponding harm, consequence and
control measure and output.The method can improve the accuracy, explainability and
traceability of process step audit.