I'm working on an ontology and I need to tell protege that one class x can only have the values y and z.
I want something like:
Vegetable rdf:type owl:Class;
owl:oneOf (carrot corn).
Must I edit the file directly or is there a way to do it via Protege?