Search Mailing List Archives
[protege-discussion] pprj not saving meta-class
Len Yabloko
protege at ontospace.net
Wed Jun 11 10:39:15 PDT 2008
Hi Tania,
Thank you for helping me. I did not realize that meta-classes were abstract be default. Now if I set it to concrete - it works without problems.
However, for some reason when I do the opposite (i.e set it to abstract with API) they remain concrete. Do you know why?
Thanks
>
>Hi Len,
>
>Thank you for sending the file. As I predicted, the metaclasses are
>defined as abstract in the xml file. If you look with a text editor in
>the xml file, you will see the definition for ONTO-BASE:
>
>
> <class>
> <name>ONTO-BASE</name>
> <type>:STANDARD-CLASS</type>
> <own_slot_value>
> <slot_reference>:ROLE</slot_reference>
> <value value_type="string">Abstract</value>
> </own_slot_value>
> <own_slot_value>
> <slot_reference>:DOCUMENTATION</slot_reference>
> <value value_type="string">@ontobase stereotype =
>Meta-Type</value>
> </own_slot_value>
> <superclass>:STANDARD-CLASS</superclass>
> <template_slot>:SIGN</template_slot>
> <template_slot>:INIT</template_slot>
> <template_slot>:ARGS</template_slot>
> </class>
>
>
>You can see from this definition that the :ROLE is set to Abstract.
>That is why you get those messages from Protege.
>
>If you fix the xml file, and change the "Abstract" to "Concrete", then
>you will not get the messages anymore.
>
>Cheers,
>Tania
More information about the protege-discussion
mailing list