The invention discloses an RAG and
knowledge graph question-answering method and
system for security classification and grading of cross-border data, and belongs to the crossing field of
big data security management,
artificial intelligence and compliance technologies. The method comprises the following steps: step S101, receiving and preprocessing
user input; step S102, performing
question analysis and semantic intention recognition; step S103, intelligent scheduling control
decision making; step S104, reasoning and executing the
knowledge graph; step S105, performing RAG generation reasoning execution; step S106, performing intelligent fusion and decision
traceability; step S107, carrying out multi-dimensional visual display; step S108, audit
record and
report generation; and S109, updating the dynamic knowledge. The method has the advantages of intelligent question and answer, multi-source fusion, sustainable evolution,
traceability of the whole process and the like, and can be widely applied to compliance management and
intelligent decision-making scenes related to data cross-border flow, such as enterprises, governments, finance,
medical treatment and the like.