Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Merge Ontology with Protege-OWL API

Tags:

protege

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.

like image 489
Beginner.nguyen Avatar asked Jan 20 '23 19:01

Beginner.nguyen


2 Answers

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.

like image 73
Geetha Avatar answered Jun 01 '23 12:06

Geetha


First load both A and B.

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

like image 40
olix20 Avatar answered Jun 01 '23 12:06

olix20