Merge Ontology with Protege-OWL API

旧巷老猫 提交于 2019-12-09 18:47:59

问题


I used protege to create two ontology and I save as A.owl, B.owl. I know that the protege-4.0 can merge many ontology. I want to use protege-owl API to merge ontology A.owl and B.owl to C.owl; But I don't know how to do it. Could you help me. Thank you very much.


回答1:


First load both A and B.

Then go to "Refactor > Merge Ontologies" from the menu.




回答2:


Assume that you have opened A.owl in Protege. Go to the "Active Ontology" tab. Click on the plus sign beside the Direct Imports text. Click on the button for "Direct Imports" and import "B.owl". Then go to "Refactor" > "Merge Ontologies". This was done in Protege 5.2.



来源:https://stackoverflow.com/questions/4583312/merge-ontology-with-protege-owl-api

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!