Search Mailing List Archives
[protege-discussion] question about 'using protege forms in other appications'
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
works for OWL.
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.
> 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.
> Yun Lin wrote:
> > Hi,
> > I would like to use Protege forms in my own applications. I
> followed the
> > example listed at
> > <
> > The project was created by Protege 3.2.1 and the instance name is
> > the .pprj file. However, the application runs with error:
> > Exception in thread "main" java.lang.NullPointerException
> > at edu.stanford.smi.protege.model.Project.show
> > at protegepack.ExternalApp.main(ExternalApp.java:23)
> > That is to say, the instance is 'null'. I am not sure if I use
> > 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