**2.2.5 PSM to code step: Formalization of ontology conceptual model**

In order to generate the formal ontology file encoded by OWL, the PSM based on UML Profile for RDFS and OWL should be transformed into ontology file encoded by OWL, which is a model to code transformation process, which involves the model scanning technology.

### **2.2.5.1 Model to code transformation theory**

200 Telecommunications Networks – Current Status and Future Trends

2008) is a standard set of languages for model transformation defined by the Object Management Group. Currently, some MDA tools have declared to support the complete or part functions of QVT. For example, by using the transformation rules, the source model in

Figure 14 is transformed into a target model in Figure 18.

Fig. 17. A part of PIM to PSM transformation rules definitions.

Fig. 18. PSM: A part of ontology specific model based on UML Profile for RDF and OWL.

Before we introduce the concrete transformation process, some related definitions are given firstly.
