Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Moving or Copying subtree of classes from one ontology to another

Jonathan Carter jonathan.carter at
Thu Apr 29 09:02:28 PDT 2010

Hi Christian,

I spent a long time looking at this problem - although I'll point out  
up-front that I've been working with Protege Frames. If the ontologies  
match structurally, you should take a look at Prompt Tab starting with  
the "Diff" view. Having done the diff, you can then select instances  
to bring from one ontology to the other. It's all graphical and so on  
but I felt it was a bit in-practical for some of the scenarios I was  
looking at where I needed to import thousands of instances from one  
ontology into my target ontology.

To get this working, I've developed an integration tab that enables me  
to import source information in any structure into my ontology - and  
this helps in mapping from one 'meta-model' to another. There's some  
XSLT and Python to do to make it all work but having sorted that out,  
the tab does the move/copy of instances from one ontology to the  
other. As it's all script-based (driving the Protege API) this could  
be easily extended without changing the Tab to apply the same approach  
to classes as well as instances and to handle OWL ontologies.
If this sounds interesting, I'd be happy to discuss it further.



Jonathan Carter
Enterprise Architecture Solutions Ltd

Proud sponsors of The Essential Project.
The free open-source Enterprise Architecture Management Platform

On 29 Apr 2010, at 16:41, McArthur, Christian wrote:

> Howdy All!
> The research group I am a member of is currently working with two  
> ontologies.  We are currently using Protege 3.4 to modify the  
> ontologies (the professor leading the group likes the form based  
> approach to creating instances).  Recently we have had situations  
> where we want to have a subtree of classes that exists in one  
> ontology and use it in the other ontology.  I have not found a way  
> to accomplish this with Protege 3.4, so I've been modifying the XML/ 
> OWL files by hand with a text editor (which can be annoying for a  
> large group of classes).  Am I overlooking an easier way of moving/ 
> copying classes from one ontology to another with Protege?
> Thanks
> --Christian
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at
> Instructions for unsubscribing:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the protege-discussion mailing list