This invention provides a method for constructing and reasoning a ship navigation
knowledge graph based on multi-source heterogeneous data, involving the intersection of
artificial intelligence and maritime technology. The method includes: Step S1, establishing a ship navigation knowledge model; Step S2, acquiring and preprocessing multi-source heterogeneous data; Step S3, performing
named entity recognition on the preprocessed data based on a BiLSTM-CRF
hybrid model incorporating domain dictionary features; Step S4, extracting entity relationships from the entities identified in Step S3 using a pre-trained BiLSTM
hybrid model incorporating interactive attention mechanisms; Step S5, fusing knowledge from the entities and entity relationships extracted in Steps S3 and S4 to construct a preliminary
knowledge graph; Step S6, performing link prediction on the preliminary
knowledge graph based on an RGCN model incorporating temporal constraints and rule logic to achieve knowledge completion and reasoning. This invention improves the ability to respond to risks in complex navigation scenarios.