The invention discloses a character relationship
reasoning system and a character relationship reasoning method based on a
knowledge graph, and the method comprises the steps: aligning entities in different data sources to entities in the
knowledge graph, extracting character relationships from the data sources, and adding the character relationships into the
knowledge graph; extracting features of a plurality of
modes from the figures in the knowledge graph, projecting the extracted features of the plurality of
modes to the same
semantic space, and generating a unified
semantic representation after fusion; on the basis of a graph neural
network model, performing representation learning on entity and character relationships in the knowledge graph after the unified
semantic representation is generated, so as to obtain graph topological structure information and
semantic information of knowledge; an
incremental learning technology is used, and the graph neural
network model is trained only through newly added data; utilizing
a domain adversarial network to extract domain features of each
data source, and dynamically adjusting parameters and a structure of the graph neural
network model according to the domain features; and capturing associated entities and relationships in the reasoning process by using an attention mechanism, and generating a reasoning path.