The invention discloses a
knowledge graph embedding method based on attribute aggregation and a storage medium thereof. The method comprises the following steps: aggregating attributes in a knowledgegraph and converting the aggregated attributes into entities; all positive examples are formed by utilizing triple groups existing in a
knowledge graph, a positive example training
data set O+ is formed, a value domain class inverse example and a relation class inverse example are constructed, and an inverse example training
data set O- is formed; and establishing a
knowledge graph embedded objective function, and solving the objective function by using the training data formed in the previous step. According to the method, attributes are converted into entities through attribute aggregation,and then the knowledge graph is embedded, so that loss of attribute information in a knowledge
graph embedding result is prevented. According to the method, a value domain type inverse case construction method based on a relation value domain and a relation type inverse case construction method based on a
type relation domain are adopted, so that the probability of occurrence of false inverse cases is reduced, the quality of a training sample is improved, and the consistency of a knowledge
graph embedding result and a knowledge graph
real structure is indirectly improved.