Search Mailing List Archives
[protege-discussion] Programmatically export taxonomy from protege server
Jonathan Carter
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.
Regards
Jonathan
_______________________________________
Jonathan Carter
Enterprise Architecture Solutions Ltd
_______________________________________
Proud sponsors of The Essential Project
The free open-source Enterprise Architecture Management Platform
www.enterprise-architecture.org
_______________________________________
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!
> Jun
>
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20110630/7a852e1f/attachment.html>
More information about the protege-discussion
mailing list