Search Mailing List Archives
[protege-discussion] Moving or Copying subtree of classes from one ontology to another
jonathan.carter at e-asolutions.com
Thu Apr 29 09:02:28 PDT 2010
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.
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?
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the protege-discussion