From: Pine L. <lx...@gm...> - 2011-06-26 21:51:38
|
Thank you very much for the information! I tried but still don't know how to create the enumeration. Could you please help me with a sample code for an enumeration such as this? <owl:Class rdf:ID="Color"> <owl:oneOf rdf:parseType="Collection"> <owl:Thing rdf:about="#White"/> <owl:Thing rdf:about="#Rose"/> <owl:Thing rdf:about="#Red"/> </owl:oneOf> </owl:Class> Thank you so much! Best wishes, Pine On Sun, Jun 26, 2011 at 3:50 PM, Ignazio Palmisano < ipa...@gm...> wrote: > 2011/6/26 Pine Liu <lx...@gm...>: > > Dear all, > > I just jump from Jena to OWLAPI and am wondering whether there is some > > classes and methods that can create the enumeration class in the ontology > > (something similar to the EnumeratedClass in Jena) so that the classes > can > > have the "oneOf" tag? If so, could you please provide a simple example? > > > OWLDataFactory has a getOWLDataOneOf() and a getOWLObjectOneOf() > method to create such enumerations. > HTH, > I. > > > Thank you so much! > > Best wishes, > > Pine > > > ------------------------------------------------------------------------------ > > All of the data generated in your IT infrastructure is seriously > valuable. > > Why? It contains a definitive record of application performance, security > > threats, fraudulent activity, and more. Splunk takes this data and makes > > sense of it. IT sense. And common sense. > > http://p.sf.net/sfu/splunk-d2d-c2 > > _______________________________________________ > > Owlapi-developer mailing list > > Owl...@li... > > https://lists.sourceforge.net/lists/listinfo/owlapi-developer > > > > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Owlapi-developer mailing list > Owl...@li... > https://lists.sourceforge.net/lists/listinfo/owlapi-developer |