Defines the Same ObjectProperty at Different Levels
Hello All,
Do you have any idea how to define such a structure in owlready where the same object property (isPartOf) found at different levels of hierarchy as in the following picture?
Re: Defines the Same ObjectProperty at Different Levels
Administrator
Hello,
When you create an object property, it can be used at ANY level of the hierarchy. Then, you may restrict the level (using domain and range). To allow using it at different level, you can either do not define domain and range, or define a domain/range that corresponds to all possibility (e.g. "HEADER or IP-HEADER or TCP-HEADER or...", or simply a class that is a common parent to all of them).