Ontology definition metamodel (ODM) is the currently undergoing standardization through the object management group (OMG). It is a metamodel defined using meta-object facility (MOF), and enables using model driven architecture (MDA) standards and semantic Web together. In this modeling language (UML) models, we first derive a mapping for MOF to World Wide Web Consortium (W3C) 's Web ontology language (OWL) from ODM, and then provide a representation of UML metamodel in OWL based on this mapping. After transforming UML models to OWL instances, we can check consistency of these models by using logical reasoning and query techniques. An example of such a checking process is also given in this paper