Re: p4-feedback Digest, Vol 20, Issue 9

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: p4-feedback Digest, Vol 20, Issue 9

Jinyue
Thank you Nick.

You are right. I checked the settings in Windows Regional and Language
Settings and found the language I chose is "Chinese" (because another
program requires that to display some Chinese characters). I switched the
language to "English (Canada)" (I am in Canada), the problem is solved like
a charm!

You said you have fixed the code and the program is not language dependent,
does it mean, if I download and re-install the program, I can leave the
language option as "Chinese"?

Have a good day,
Jinyue

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of
[hidden email]
Sent: May 8, 2008 7:07 AM
To: [hidden email]
Subject: p4-feedback Digest, Vol 20, Issue 9

Send p4-feedback mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        https://mailman.stanford.edu/mailman/listinfo/p4-feedback
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of p4-feedback digest..."


Today's Topics:

   1. Re: Cannot open class hierarchy dialog, please help
      (Nick Drummond)
   2. Re: DL Query "refresh" problem (Nick Drummond)


----------------------------------------------------------------------

Message: 1
Date: Thu, 8 May 2008 11:19:12 +0100
From: Nick Drummond <[hidden email]>
Subject: Re: [p4-feedback] Cannot open class hierarchy dialog, please
        help
To: "Submit feedback for Protege 4.0 alpha"
        <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="windows-1252"

In fact, I think this is a language issue. I've fixed the code so that  
it is not language dependent.

Nick


On 8 May 2008, at 03:32, Jinyue Zhang wrote:

> Hello All,
>
> I am new to Prot?g? and got a problem when following the guide of  
> version 4.0. I hope some of you can help me, thanks in advance.
>
> I was following the guide to build the pizza ontology step by step,  
> but on the page 36 (exercise 13 step 2), while trying to define the  
> range of a property, the class hierarchy dialog did not pop up after  
> clicking the ?add? button in range view, I got error message in  
> console (see below). I tried to define domain, got the same thing.  
> Then I went back to class tag, and randomly picked a class, then  
> click ?add? sign of superclass, I supposed to get a pop up class  
> hierarchy window to add a new superclass, but the same error  
> happened. I searched the web and found some others got similar  
> problem, but no solutions were there.
>
> This could not specifically related to version 4, but I did not see  
> it in version 3.1, have not tried version 3.4 yet. I also tried to  
> use different version of Java VM, but was not helpful.
>
> Please help me?I am stuck here in an urgent project. Many thanks?
>
> Jinyue
>
>
> Below is the error message:
>
> Error 1 Logged at Wed May 07 20:55:18 EDT 2008
> NullPointerException: null
>      
> org
> .protege
> .editor
> .core
> .ui.util.VerifyingOptionPane.setOKEnabled(VerifyingOptionPane.java:51)
>      
> org
> .protege
> .editor
> .owl
> .ui
> .framelist.OWLFrameList2$11.verifiedStatusChanged(OWLFrameList2.java:
> 450)
>      
> org
> .protege
> .editor
> .owl
> .ui
> .frame
> .OWLClassDescriptionEditor
> .addStatusChangedListener(OWLClassDescriptionEditor.java:207)
>      
> org
> .protege
> .editor
> .owl.ui.framelist.OWLFrameList2.showEditorDialog(OWLFrameList2.java:
> 456)
>      
> org
> .protege
> .editor.owl.ui.framelist.OWLFrameList2.handleEdit(OWLFrameList2.java:
> 406)
>      
> org
> .protege
> .editor.owl.ui.framelist.OWLFrameList2.handleAdd(OWLFrameList2.java:
> 386)
>     org.protege.editor.core.ui.list.MList
> $2.actionPerformed(MList.java:77)
>      
> org.protege.editor.core.ui.list.MList.handleMouseClick(MList.java:147)
>     org.protege.editor.core.ui.list.MList.access$200(MList.java:37)
>     org.protege.editor.core.ui.list.MList$5.mouseReleased(MList.java:
> 97)
>     java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>     java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>     java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>     java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>     java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>     java.awt.Component.processMouseEvent(Unknown Source)
>     javax.swing.JComponent.processMouseEvent(Unknown Source)
>     java.awt.Component.processEvent(Unknown Source)
>     java.awt.Container.processEvent(Unknown Source)
>     java.awt.Component.dispatchEventImpl(Unknown Source)
>     java.awt.Container.dispatchEventImpl(Unknown Source)
>     java.awt.Component.dispatchEvent(Unknown Source)
>     java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>     java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>     java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>     java.awt.Container.dispatchEventImpl(Unknown Source)
>     java.awt.Window.dispatchEventImpl(Unknown Source)
>     java.awt.Component.dispatchEvent(Unknown Source)
>     java.awt.EventQueue.dispatchEvent(Unknown Source)
>     java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown  
> Source)
>     java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown  
> Source)
>     java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     java.awt.EventDispatchThread.run(Unknown Source)
>
----------------------------------------------------------------------------
-----------------------
> _______________________________________________
> p4-feedback mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/p4-feedback

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.stanford.edu/pipermail/p4-feedback/attachments/20080508/1a80f
903/attachment-0001.htm

------------------------------

Message: 2
Date: Thu, 8 May 2008 12:06:30 +0100
From: Nick Drummond <[hidden email]>
Subject: Re: [p4-feedback] DL Query "refresh" problem
To: "Submit feedback for Protege 4.0 alpha"
        <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

Hi,

I managed to reproduce this behaviour with pellet.
FaCT++ seems OK.
I'll have a look into it.

Nick

On 8 May 2008, at 07:34, Rinke Hoekstra wrote:

> Hi,
>
> I'm having similar problems, though usually switching-off the reasoner
> (setting it to none), and switching it back on again is a sufficient
> reset.
>
> -Rinke
>
> On 7 mei 2008, at 19:23, Samson Tu wrote:
>> Hi,
>>
>> I am finding that Protege 4 (build 62) does not refresh  
>> classification
>> after changes in the KB.
>>
>> For example, initially I get no instances that satisfy the following
>> query
>>
>> is_studied_in_trial some (Study that scientific_title value
>> "Thrombolytic Therapy versus Primary Percutaneous Intervention")
>>
>> I invoked the Reasoner, and saw that there is no instance satisfying
>> the
>> DL query expression.
>>
>> Next, I added an assertion that the study in question
>> has_health_condition_studied an instance of code that correspond to,
>> say, acute MI, where is_studied_in_trial is the inverse property of
>> is_studied_in_trial. I expect to get back an result indicating that
>> the
>> acute MI code is  studied in the study.
>>
>> It turns out that I don't get the correct results without restarting
>> Protege 4.
>>
>> Samson
>>
>> --
>> ---------
>> Samson Tu                                   email: [hidden email]
>> Senior Research Scientist                   web: www.stanford.edu/
>> ~swt/
>> Center for Biomedical Informatics Research  phone: 1-650-725-3391
>> Stanford University                         fax: 1-650-725-7944
>>
>>
>>
>>
>> _______________________________________________
>> p4-feedback mailing list
>> [hidden email]
>> https://mailman.stanford.edu/mailman/listinfo/p4-feedback
>
> -----------------------------------------------
> Drs. Rinke Hoekstra
>
> Email: [hidden email]    Skype:  rinkehoekstra
> Phone: +31-20-5253499     Fax:   +31-20-5253495
> Web:   http://www.leibnizcenter.org/users/rinke
>
> Leibniz Center for Law,          Faculty of Law
> University of Amsterdam,            PO Box 1030
> 1000 BA  Amsterdam,             The Netherlands
> -----------------------------------------------
>
>
>
> _______________________________________________
> p4-feedback mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/p4-feedback



------------------------------

_______________________________________________
p4-feedback mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/p4-feedback


End of p4-feedback Digest, Vol 20, Issue 9
******************************************

_______________________________________________
p4-feedback mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/p4-feedback
Reply | Threaded
Open this post in threaded view
|

Re: p4-feedback Digest, Vol 20, Issue 9

Nick Drummond
Great.

Yes, you should be able to use any language - but you will need to  
wait until the next build (soon I hope).

Nick

On 8 May 2008, at 13:34, Jinyue Zhang wrote:

> Thank you Nick.
>
> You are right. I checked the settings in Windows Regional and Language
> Settings and found the language I chose is "Chinese" (because another
> program requires that to display some Chinese characters). I  
> switched the
> language to "English (Canada)" (I am in Canada), the problem is  
> solved like
> a charm!
>
> You said you have fixed the code and the program is not language  
> dependent,
> does it mean, if I download and re-install the program, I can leave  
> the
> language option as "Chinese"?
>
> Have a good day,
> Jinyue
>
> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of
> [hidden email]
> Sent: May 8, 2008 7:07 AM
> To: [hidden email]
> Subject: p4-feedback Digest, Vol 20, Issue 9
>
> Send p4-feedback mailing list submissions to
> [hidden email]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mailman.stanford.edu/mailman/listinfo/p4-feedback
> or, via email, send a message with subject or body 'help' to
> [hidden email]
>
> You can reach the person managing the list at
> [hidden email]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of p4-feedback digest..."
>
>
> Today's Topics:
>
>   1. Re: Cannot open class hierarchy dialog, please help
>      (Nick Drummond)
>   2. Re: DL Query "refresh" problem (Nick Drummond)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 8 May 2008 11:19:12 +0100
> From: Nick Drummond <[hidden email]>
> Subject: Re: [p4-feedback] Cannot open class hierarchy dialog, please
> help
> To: "Submit feedback for Protege 4.0 alpha"
> <[hidden email]>
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset="windows-1252"
>
> In fact, I think this is a language issue. I've fixed the code so that
> it is not language dependent.
>
> Nick
>
>
> On 8 May 2008, at 03:32, Jinyue Zhang wrote:
>
>> Hello All,
>>
>> I am new to Prot?g? and got a problem when following the guide of
>> version 4.0. I hope some of you can help me, thanks in advance.
>>
>> I was following the guide to build the pizza ontology step by step,
>> but on the page 36 (exercise 13 step 2), while trying to define the
>> range of a property, the class hierarchy dialog did not pop up after
>> clicking the ?add? button in range view, I got error message in
>> console (see below). I tried to define domain, got the same thing.
>> Then I went back to class tag, and randomly picked a class, then
>> click ?add? sign of superclass, I supposed to get a pop up class
>> hierarchy window to add a new superclass, but the same error
>> happened. I searched the web and found some others got similar
>> problem, but no solutions were there.
>>
>> This could not specifically related to version 4, but I did not see
>> it in version 3.1, have not tried version 3.4 yet. I also tried to
>> use different version of Java VM, but was not helpful.
>>
>> Please help me?I am stuck here in an urgent project. Many thanks?
>>
>> Jinyue
>>
>>
>> Below is the error message:
>>
>> Error 1 Logged at Wed May 07 20:55:18 EDT 2008
>> NullPointerException: null
>>
>> org
>> .protege
>> .editor
>> .core
>> .ui.util.VerifyingOptionPane.setOKEnabled(VerifyingOptionPane.java:
>> 51)
>>
>> org
>> .protege
>> .editor
>> .owl
>> .ui
>> .framelist.OWLFrameList2$11.verifiedStatusChanged(OWLFrameList2.java:
>> 450)
>>
>> org
>> .protege
>> .editor
>> .owl
>> .ui
>> .frame
>> .OWLClassDescriptionEditor
>> .addStatusChangedListener(OWLClassDescriptionEditor.java:207)
>>
>> org
>> .protege
>> .editor
>> .owl.ui.framelist.OWLFrameList2.showEditorDialog(OWLFrameList2.java:
>> 456)
>>
>> org
>> .protege
>> .editor.owl.ui.framelist.OWLFrameList2.handleEdit(OWLFrameList2.java:
>> 406)
>>
>> org
>> .protege
>> .editor.owl.ui.framelist.OWLFrameList2.handleAdd(OWLFrameList2.java:
>> 386)
>>    org.protege.editor.core.ui.list.MList
>> $2.actionPerformed(MList.java:77)
>>
>> org.protege.editor.core.ui.list.MList.handleMouseClick(MList.java:
>> 147)
>>    org.protege.editor.core.ui.list.MList.access$200(MList.java:37)
>>    org.protege.editor.core.ui.list.MList$5.mouseReleased(MList.java:
>> 97)
>>    java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>>    java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>>    java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>>    java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>>    java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>>    java.awt.Component.processMouseEvent(Unknown Source)
>>    javax.swing.JComponent.processMouseEvent(Unknown Source)
>>    java.awt.Component.processEvent(Unknown Source)
>>    java.awt.Container.processEvent(Unknown Source)
>>    java.awt.Component.dispatchEventImpl(Unknown Source)
>>    java.awt.Container.dispatchEventImpl(Unknown Source)
>>    java.awt.Component.dispatchEvent(Unknown Source)
>>    java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>>    java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>>    java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>>    java.awt.Container.dispatchEventImpl(Unknown Source)
>>    java.awt.Window.dispatchEventImpl(Unknown Source)
>>    java.awt.Component.dispatchEvent(Unknown Source)
>>    java.awt.EventQueue.dispatchEvent(Unknown Source)
>>    java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
>> Source)
>>    java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>> Source)
>>    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>    java.awt.EventDispatchThread.run(Unknown Source)
>>
> ----------------------------------------------------------------------------
> -----------------------
>> _______________________________________________
>> p4-feedback mailing list
>> [hidden email]
>> https://mailman.stanford.edu/mailman/listinfo/p4-feedback
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.stanford.edu/pipermail/p4-feedback/attachments/20080508/1a80f
> 903/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Thu, 8 May 2008 12:06:30 +0100
> From: Nick Drummond <[hidden email]>
> Subject: Re: [p4-feedback] DL Query "refresh" problem
> To: "Submit feedback for Protege 4.0 alpha"
> <[hidden email]>
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> Hi,
>
> I managed to reproduce this behaviour with pellet.
> FaCT++ seems OK.
> I'll have a look into it.
>
> Nick
>
> On 8 May 2008, at 07:34, Rinke Hoekstra wrote:
>
>> Hi,
>>
>> I'm having similar problems, though usually switching-off the  
>> reasoner
>> (setting it to none), and switching it back on again is a sufficient
>> reset.
>>
>> -Rinke
>>
>> On 7 mei 2008, at 19:23, Samson Tu wrote:
>>> Hi,
>>>
>>> I am finding that Protege 4 (build 62) does not refresh
>>> classification
>>> after changes in the KB.
>>>
>>> For example, initially I get no instances that satisfy the following
>>> query
>>>
>>> is_studied_in_trial some (Study that scientific_title value
>>> "Thrombolytic Therapy versus Primary Percutaneous Intervention")
>>>
>>> I invoked the Reasoner, and saw that there is no instance satisfying
>>> the
>>> DL query expression.
>>>
>>> Next, I added an assertion that the study in question
>>> has_health_condition_studied an instance of code that correspond to,
>>> say, acute MI, where is_studied_in_trial is the inverse property of
>>> is_studied_in_trial. I expect to get back an result indicating that
>>> the
>>> acute MI code is  studied in the study.
>>>
>>> It turns out that I don't get the correct results without restarting
>>> Protege 4.
>>>
>>> Samson
>>>
>>> --
>>> ---------
>>> Samson Tu                                   email: [hidden email]
>>> Senior Research Scientist                   web: www.stanford.edu/
>>> ~swt/
>>> Center for Biomedical Informatics Research  phone: 1-650-725-3391
>>> Stanford University                         fax: 1-650-725-7944
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> p4-feedback mailing list
>>> [hidden email]
>>> https://mailman.stanford.edu/mailman/listinfo/p4-feedback
>>
>> -----------------------------------------------
>> Drs. Rinke Hoekstra
>>
>> Email: [hidden email]    Skype:  rinkehoekstra
>> Phone: +31-20-5253499     Fax:   +31-20-5253495
>> Web:   http://www.leibnizcenter.org/users/rinke
>>
>> Leibniz Center for Law,          Faculty of Law
>> University of Amsterdam,            PO Box 1030
>> 1000 BA  Amsterdam,             The Netherlands
>> -----------------------------------------------
>>
>>
>>
>> _______________________________________________
>> p4-feedback mailing list
>> [hidden email]
>> https://mailman.stanford.edu/mailman/listinfo/p4-feedback
>
>
>
> ------------------------------
>
> _______________________________________________
> p4-feedback mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/p4-feedback
>
>
> End of p4-feedback Digest, Vol 20, Issue 9
> ******************************************
>
> _______________________________________________
> p4-feedback mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/p4-feedback

_______________________________________________
p4-feedback mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/p4-feedback