Search Mailing List Archives
[protege-discussion] Programmatically export taxonomy from protege server
jonathan.carter at e-asolutions.com
Thu Jun 30 14:13:47 PDT 2011
Yes there is, but you'll have to write that code as part of a plugin!
I built my own tab widget to do just this on-demand and then send an XML representation of the knowledgebase (borrowing heavily from the Experimental XML format) to a server via HTTP.
I did spend some time reading through the Protege source code - and that's the great thing about open source!
The source code for my widget is available on our enterprise-architecture.org site, if that helps.
There is another way of doing this that avoids writing a plugin and that would be to use the Script Console tab.
You could write some Python / Jython code that uses the export classes that you need and write the results to a file.
Enterprise Architecture Solutions Ltd
Proud sponsors of The Essential Project
The free open-source Enterprise Architecture Management Platform
Enterprise Architecture Solutions Ltd, Registered in England and Wales: 04097721.
Registered Office: 76 High Street, Newport Pagnell, Milton Keynes, MK16 8AQ.
On 30 Jun 2011, at 19:33, <jun.ni at thomsonreuters.com> <jun.ni at thomsonreuters.com> wrote:
> Hi all,
> Is there a way to programmatically export taxonomy to owl or rdf format from a db-backed protégé server, similar to what the export to format menu item does?
> Thanks a lot!
> 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