介绍了UML类图向OWL本体转换的方法,给出了基于J2SE平台的转换工具(UML2OWL)的设计思想与实现技术.利用DOMAPI解析、提取UML类图元素,并根据UML-OWL转换规则,将其转换为相应的OWL本体元素.工具开发和案例研究表明,该转换方法在转换UML类图到OWL本体上是可行的,基于该转换方法的自动转换工具是可实现的.
A conversion approach from UML class diagram to OWL ontology was briefly introduced. The design ideas and implementation techniques for J2SE platform-based conversion tool UML2OWL were presented. DOM APIs were adopted as tools for analysis and extraction of UML class diagram elements, and then the extracted elements were converted to the corresponding elements of OWL ontology according to the proposed UML-OWL conversion rules. Tool development and case study show that the conversion approach is feasible, and the automatic conversion tool based on the approach is realizable.