Michel, I think in both cases, the datatype requires an rdf:type rdfs:Datatype triple. How did you enter these? The procedure is:
1) Make sure that rdfs:Datatype is visible in the classes tree 2) Create an instance of rdfs:Datatype 3) Make owl:equivalentClass visible 4) Enter the OWL Manchester Syntax class expression as equi class Regards, Holger PS: There is a long Thanksgiving week end starting now, so please be patient with responses :) On Nov 26, 2009, at 3:30 AM, Bohms, H.M. (Michel) wrote: > More info: > > If I do it exactly acc. to the primer that is: > > <rdf:Description > rdf:about="http://www.bimtoolset.org/ontologies/vabi/datatypes.owl#EnvironmentType"> > <rdfs:equivalentClass> > <rdfs:Datatype> > <owl:onDatatype > rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> > <owl:oneOf rdf:parseType="Resource"> > <rdf:rest rdf:parseType="Resource"> > <rdf:rest rdf:parseType="Resource"> > <rdf:rest > rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> > <rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#string" >> city</rdf:first> > </rdf:rest> > <rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#string" >> rough</rdf:first> > </rdf:rest> > <rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#string" >> open</rdf:first> > </owl:oneOf> > </rdfs:Datatype> > </rdfs:equivalentClass> > </rdf:Description> > > It completely seems to disappear from the GUI (also in preferences there is > no way to show rdf:Description's) > > Michel > > > > > -----Original Message----- > From: Bohms, H.M. (Michel) [mailto:[email protected]] > Sent: donderdag 26 november 2009 9:43 > To: [email protected] > Subject: RE: [tbc-users] Re: ANN: TopBraid Suite 3.2.1 > > > Hi Holger, > > I think I have not been clear enough... :) > > I follow exactly the primer now for datatypes (and as it is now supported by > your latest update). So I DO NOT use subClasOf anymore (so there is nothing > to delete like this...). > > An example clarifies maybe: > > 1. I have defined > > <owl:DatatypeProperty > rdf:about="http://www.bimtoolset.org/ontologies/vabi/environment.owl#environmentType"> > <rdfs:domain > rdf:resource="http://www.bimtoolset.org/ontologies/vabi/environment.owl#Environment"/> > <rdfs:range > rdf:resource="http://www.bimtoolset.org/ontologies/vabi/datatypes.owl#EnvironmentType"/> > </owl:DatatypeProperty> > > 2. Contrl-click on the range (being EnvironmentType, capital first letter) > gives: > > <rdfs:DataType > rdf:about="http://www.bimtoolset.org/ontologies/vabi/datatypes.owl#EnvironmentType"> > <rdfs:equivalentClass> > <rdfs:Datatype> > <owl:onDatatype > rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> > <owl:oneOf rdf:parseType="Resource"> > <rdf:rest rdf:parseType="Resource"> > <rdf:rest rdf:parseType="Resource"> > <rdf:rest > rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> > <rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#string" >> city</rdf:first> > </rdf:rest> > <rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#string" >> rough</rdf:first> > </rdf:rest> > <rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#string" >> open</rdf:first> > </owl:oneOf> > </rdfs:Datatype> > </rdfs:equivalentClass> > </rdfs:DataType> > > As you can see I use equivalentClass now iso subClassOf. > > 3. Now the question is: where to see this EnvironmentType userdefined > datatype in the class tree in the GUI? > > (I DO see the INNER rdfs:datatpe as instance of rdfs:datatype; but I'd like > to see the outer EnvironmentType datatype somewhere....). > > Apologies upfront because it must be something small and stupid from my > side...the strange thing however is that I also do not see the outer datatype > as instance of rdfs:datatype. Nor do I see it appear as equivalentClass at > the inner class.....hmmmmm.... > > Thx again, Michel > > > > > TNO.NL > > > > Michel Böhms > > Consultant Building Innovation > > > TNO Built Environment and Geosciences > > Van Mourik Broekmanweg 6 | PO Box 49 > > 2600 AA | Delft | The Netherlands > > > > > > Tel +31 15 2763107 > > E-mail [email protected] > > Web http://www.linkedin.com/in/michelbohms > > Skype name michelbohms > > > > > > Disclaimer > > > > > > > > > > > -----Original Message----- > From: Holger Knublauch [mailto:[email protected]] > Sent: woensdag 25 november 2009 18:06 > To: [email protected] > Subject: Re: [tbc-users] Re: ANN: TopBraid Suite 3.2.1 > >> Otherwise they should show up on top level, under rdfs:Resource. >> >>> this is what I want! But how can I make them show up? (they do not >>> now...) > > Just remove the rdfs:subClassOf triple then. Or explicitly add my:Datatype > rdfs:subClassOf rdfs:Resource. They are just classes after all, and behave > like other classes in the tree... > > Holger > > -- > > You received this message because you are subscribed to the Google Groups > "TopBraid Composer Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/topbraid-composer-users?hl=en. > > > This e-mail and its contents are subject to the DISCLAIMER at > http://www.tno.nl/disclaimer/email.html > > -- > > You received this message because you are subscribed to the Google Groups > "TopBraid Composer Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/topbraid-composer-users?hl=en. > > > This e-mail and its contents are subject to the DISCLAIMER at > http://www.tno.nl/disclaimer/email.html > > -- > > You received this message because you are subscribed to the Google Groups > "TopBraid Composer Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/topbraid-composer-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/topbraid-composer-users?hl=en.
