[Pellet-users] Nominals in KB

Christina Tziviskou tzivisko at elet.polimi.it
Sat Oct 20 12:19:36 UTC 2007


Hi,

I create an ontology in Pellet using its own Java API.
I cannot create nominals. In particular I would like to:
    -- add the value for a class attribute (e.g. in OWL for the class 
Male I wanna indicate that the property gender hasValue 'm')
    -- create an enumeration class (e.g. class Color oneOf ('Red', 
'Blue', 'Green')

I use the KnowledgeBase Java class but I find methods for adding a 
property value only for an instance, and there is no method for creating 
an enumeration.


thank you,
christina


More information about the Pellet-users mailing list