The paper presents a method for Ontology Design Patterns (ODP) engineering based on the transformation of conceptual models serialized in the XML-like formats. In this paper, we use UML class diagrams as the source of conceptual models. The method includes the following activities: design and serialization of a source conceptual domain model; analysis and transformation of an XML structure of a source conceptual model to an ontological schema model; transformation of an ontological schema model to a content ODP code in the OWL 2 DL format; verification and modification of obtained content ODPs by domain experts. All transformations are implemented with the use of original domain-specific language, namely, Transformation Model Representation Language (TMRL). The proposed method is used for ODPs engineering in tasks of industrial safety inspection of technical systems. Obtained ODPs can be used for knowledge bases and intelligent systems engineering.