All aspects of object orientation (encapsulation, inheritance, and polymorphism) apply equally to class members and methods. In OWL/RDF we have class inheritance but we don't have the structure of a class such as we do in programming languages. The triple of S-P-O is a very simple structure, so there isn't any structure to encapsulate nor is there structure to use differently in different contexts (polymorphism). I mention this not to negate anything you have said but because some of the things you said about OO and OWL/RDF aren't completely clear. So to be clear, when we define restrictions on a class (e.g., that some class B has a restriction of predicate p), that restriction is not inherited on a subclass B1 of B. True?
On the other hand, when we define a predicate p with a domain of A, any subclass A1 of A will apply equally as a domain of p. True? These two contexts are different. Jack On Friday, June 20, 2014 2:23:57 AM UTC-7, Bohms, H.M. (Michel) wrote: > > Hi Holger, Scot > > > > We are very eager to get some info on our earlier posted issue: > > > > “ > > When I define a class A and a subclass A1 > > And a property P with domain A > > In tbc when instantiating A1 the property is shown. Why is that? > > My assumption is that this property is not ‘inherited’ to its subclass. > > Is that right? > > “ > > Thx very much for your consideration. In NL were working on a national > modeling guide in which linking classes <> properties is an important issue > (typically difficult/different for many involved since it differs from > tradiotional modeling approaches). > > Thx Michel > > > > > > > Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u > niet de geadresseerde bent of dit bericht abusievelijk aan u is > toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht > te verwijderen. TNO aanvaardt geen aansprakelijkheid voor de inhoud van > deze e-mail, de wijze waarop u deze gebruikt en voor schade, van welke aard > ook, die verband houdt met risico's verbonden aan het elektronisch > verzenden van berichten. > > > > This message may contain information that is not intended for you. If you > are not the addressee or if this message was sent to you by mistake, you > are requested to inform the sender and delete the message. TNO accepts no > liability for the content of this e-mail, for the manner in which you use > it and for damage of any kind resulting from the risks inherent to the > electronic transmission of messages. > > -- -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN. 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-users?hl=en --- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
