Search Mailing List Archives
[protege-discussion] global Slots with class-specific values?
jonathan.carter at e-asolutions.com
Tue Nov 18 11:31:09 PST 2008
You can override the slot constraints at the class level (as opposed
to top-level). I've not used this with Symbols, so I'm not quite sure
how that works - but is worth a look. You define the 'brand' slot to
be of type Symbol, then at each class (in the class browser) you
double click on the slot and choose view at class (not top-level) when
the dialog pops up. You can then (hopefully) set the allowed symbol
values for the slot at this class.
This is the way I've used Instance slots and overridden the allowed
classes for the Instance when the slot is used in different classes.
Hope this helps
Jonathan Carter - Head of Technical Architecture
Enterprise Architecture Solutions Ltd
Assess your EA maturity at:
On 18 Nov 2008, at 18:29, Nick Berry wrote:
> Hi, I'm using Slots for the "brand" attribute of my ontology. The
> slot is global and applies to most classes (e.g., "Skis" as well as
> "Jackets"), but I need it to have a different list of values
> ("symbols") at every class. But the rest of the Slot properties
> (definition, constraints) should be global. How have others solved
> this problem? I don't want to have to create a "brand" Slot for
> every single class, like brand_Skis, brand_Snowboards,
> brand_Jackets, etc.
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the protege-discussion