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] protégé API/development questions

zhanjun li liz at purdue.edu
Mon Jan 15 08:52:34 PST 2007


Thank you so much. I got it. However, I still
Wonder how my java application (like the example) will be integrated with
Protégé (GUI)? Will it have to be a new tab plugin?
May I make it as new menu option like "automatic loadin" under "File" menu
in Protégé? 

Thanks again,

James

-----Original Message-----
From: protege-discussion-bounces at mailman.stanford.edu
[mailto:protege-discussion-bounces at mailman.stanford.edu] On Behalf Of Samson
Tu
Sent: Sunday, January 14, 2007 2:11 PM
To: protege-discussion at mailman.stanford.edu
Subject: Re: [protege-discussion]protégé API/development questions

zhanjun li wrote:
> Hi, All
> I wonder is it possible to use protégé APIs to implement/expand 
> certain functionalities. For example, I want to automatically 
> read/build the protégé classes from a formatted txt file instead of 
> manually typed in protégé; I also want to automatically read the 
> slots/relations of each class from a formatted txt file.
> Should these be kind of plug-in or widget or none of them? any clues 
> of how to start it?
> I have looked over the wiki but I have not found any content which 
> exactly fits my needs.

A few import plugins (e.g., data genie, xml tab, umls tab) do something
similar to what you want to do. You can easily write a Java application that
(1) loads/creates a Protege project, (2) reads data from your formatted text
file, and (3) makes Protege API calls to create the appropriate classes,
slots, and instances, (4) save the project. Take a look at the example file
http://protege.stanford.edu/doc/pdk/BackendNewProjectExample.zip, which does
everything except reading data from an external file.

Samson
-- 
Samson Tu                    email: swt at stanford.edu
Senior Research Scientist    web: www.stanford.edu/~swt/
Stanford Medical Informatics phone: 1-650-725-3391
Stanford University          fax: 1-650-725-7944

_______________________________________________
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 




More information about the protege-discussion mailing list