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] question about 'using protege forms in other appications'

Samson Tu swt at stanford.edu
Sun Mar 4 20:51:42 PST 2007


If you are using OWL, it's best to ask your question on the 
protege-owl at lists.stanford.edu list.

I don't think the sample code on 
http://protege.stanford.edu/doc/pdk/using_forms_in_other_applications.html 
works for OWL.

Samson

Yun Lin wrote:
> Thanks for the answer. I would like to use Protege Frame to display OWL 
> ontology. Is it possible to use it?  I did not find .pins file except 
> .pprj and .owl files.
> 
> Yun
> 
> On 3/2/07, *Samson Tu* <swt at stanford.edu <mailto:swt at stanford.edu>> wrote:
> 
> 
>     For one thing, if you are using Protege Frame (i.e., not OWL), the
>     instances are stored in the .pins file, not .pprj file.
> 
>     Samson
> 
>     Yun Lin wrote:
>      > Hi,
>      > I would like to use Protege forms in my own applications. I
>     followed the
>      > example listed at
>      >
>     http://protege.stanford.edu/doc/pdk/using_forms_in_other_applications.html
>      > <
>     http://protege.stanford.edu/doc/pdk/using_forms_in_other_applications.html>.
>      > The project was created by Protege 3.2.1 and the instance name is
>     from
>      > the .pprj file. However, the application runs with error:
>      > Exception in thread "main" java.lang.NullPointerException
>      >     at edu.stanford.smi.protege.model.Project.show
>     (Project.java:1919)
>      >     at protegepack.ExternalApp.main(ExternalApp.java:23)
>      >
>      > That is to say, the instance is 'null'. I am not sure if I use
>     correct
>      > instance name. But I tried some of instances in the .pprj file, the
>      > results are same. Could you tell me what is wrong with the code
>     and how
>      > to read the .pprj file structure?
>      >
>      > Thank you in advance!
>      >
>      > Yun Lin
>      >

-- 
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




More information about the protege-discussion mailing list