The invention discloses a 
knowledge graph-based mechanical fault diagnosis 
knowledge base construction method, and belongs to the field of mechanical fault diagnosis. A mechanical fault diagnosis 
knowledge base reflects fault generation essences and domain expert experiences; and through a 
knowledge processing module, the fault generation essences and the domain expert experiences are stored in the 
knowledge base, thereby providing support for mechanical fault diagnosis. A conventional 
knowledge graph is represented in a network form; nodes represent entities; connection lines represent relationships; and for the representation form, a special graph 
algorithm needs to be designed for storing and utilizing a 
database, so that the 
disadvantage of time and labor waste exists. According to a representation learning technology represented by 
deep learning, a triple object is mapped to a vector space and represented as a dense low-dimensional vector, and efficient calculation and reasoning are realized through vector conversion. The 
knowledge graph-based mechanical fault diagnosis knowledge base construction method is established; mechanical fault diagnosis knowledge is represented as atriple, and the tripe is represented as the vector by utilizing a TransD model, so that the problems of inaccurate case representation, difficult maintenance and modification, low reasoning and calculation efficiency and the like of a conventional knowledge base can be optimized; and the method has important significance for the field of fault diagnosis.