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] XML Tab / class missing

Tania Tudorache tudorache at
Mon Nov 30 16:54:03 PST 2009

Hi Sean,

I think Jonathan asked very good questions. One thing that might have 
happened is that the class lost its superclass, in this case it would 
still be in the ontology, but it would not show up in the class tree. To 
"recover" it, you need to give it a superclass again.

One way of doing this:

1. Find the class: go to the InstancesTab, select the class: 
:SYSTEM-CLASS -> :META-CLASS -> :STANDARD-CLASS. Look (and search) in 
the instances list. Can you find your class there? If yes, then 
continue, if then your class is not a class anymore.. If you can't find 
it there, I'll give you other instructions. If you found it, please 
continue the steps.

2. Go to the Forms Tab, select :STANDARD-CLASS. Double click on a empty 
spot in the right hand side panel, and assign to :DIRECT-SUPERCLASSES 
slot the widget "Superclass Widget". Click on OK.

3. Go back to the Instances Tab, select :STANDARD-CLASS, select your 
missing class from the instances list, and in the superclass widget add 
it the right superclass. You can also just add :THING as the superclass, 
and it will show up as a subclass of :THING.

If this is successful, you should revert the change you made to the form 
of :STANDARD-CLASS. Go to the Forms Tab, select the superclass widget, 
and as the "Widget type" select "none".


Jonathan Carter wrote:
> Hi Sean,
> I've been trying to replicate this using Protege 3.4.1 but when I drag 
> a class from the class browser (on the right) to the 'instances' field 
> (on the left) the classes - both concrete and abstract - remains in 
> the class browser. The name of the class is copied into the 
> 'instances' field but nothing else happens. I got an XML 
> representation of the ontology (I tried both the radio button options: 
> no ontology and XML tree) saved to the Protege root directory using 
> the name of the Class that I'd dragged across when I pushed the 
> '<<export button'.
> Sadly, I don't seem to be able to replicate this problem. Maybe I'm 
> missing a step?
> Are you using a file-based or a database backend for Protege? If it's 
> the PINS/PONT and you can see the class (as you suggest) it should be 
> possible to 'wire it' back into place by editing the PONT file 
> accordingly. This is a bit more 'tricky' if you have a database backend!
> A search for the missing class in the Classes Tab didn't show your 
> class (e.g. been accidentally refactored to a new parent class)?
> Hope this helps. 
> Jonathan
> _______________________________________
> Jonathan Carter - Head of Technical Architecture
> Enterprise Architecture Solutions Ltd
> _______________________________________
> Proud sponsors of The Essential Project.
> The free open-source Enterprise Architecture Management Platform
> <>
> _______________________________________
> On 23 Nov 2009, at 16:36, Sean Hickling wrote:
>> Hello,
>> In the XML tab, I dragged a class from the class browser window to 
>> the 'instances' field of the tab.  At that point the class 
>> disappeared from the class hierarchy.  Preliminary look at the 
>> underlying database shows the class is still in Protege, but no 
>> longer visible in the class browser.  This may not have been proper 
>> use of the tab, but nevertheless we hope to recover the class.  Any 
>> thoughts?
>> Also, it appears this question was posed in the archives but never 
>> answered.
>> Thanks
>> _______________________________________________
>> protege-discussion mailing list
>> protege-discussion at 
>> <mailto:protege-discussion at>
>> Instructions for unsubscribing: 
> ------------------------------------------------------------------------
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at
> Instructions for unsubscribing:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the protege-discussion mailing list