CategoryRelationStructure#

Fully qualified class name of the UML model DDI-CDI 1.0: DDICDIModels::DDICDILibrary::Classes::Conceptual::CategoryRelationStructure

Definition#

Description of the relationships between and among categories within a collection.

Examples#

The category of “student” might be described as having sub-types of “primary school student” and “high school student”.

Explanatory notes#

The category relation structure employs a set of category relations to describe the relationship among concepts. Each category relation is a one to many description of connections between categories. Together they might commonly describe relationships as complex as a hierarchy or graph. This is a kind of a concept structure restricted to categories (which are concepts). Allows for the specification of complex relationships among categories.

Diagram#

Diagram

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

identifier

- own class -

Identifier for objects requiring short- or long-lasting referencing and management.

Identifier

0..1

name

- own class -

Human understandable name (liguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage.

ObjectName

0..*

purpose

- own class -

Intent or reason for the object/the description of the object.

InternationalString

0..1

semantics

- own class -

Specifies the semantics of the object in reference to a vocabulary, ontology, etc.

ControlledVocabularyEntry

0..1

specification

- own class -

Provides information on reflexivity, transitivity, and symmetry of relationship using a descriptive term from an enumerated list. Use if all relations within this relation structure are of the same specification.

StructureSpecification

0..1

topology

- own class -

Indicates the form of the associations among members of the collection. Specifies the way in which constituent parts are interrelated or arranged.

ControlledVocabularyEntry

0..1

totality

- own class -

Indicates whether the related collections are comprehensive in terms of their coverage.

StructureExtent

0..1

Associations#

Associations
Associations#

Direction

Association

Description

Multiplicity of CategoryRelationStructure

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

from

CategoryRelationStructure has CategoryRelationship

1..1

- own package -

CategoryRelationship

0..*

composite

own class

from

CategoryRelationStructure structures CategorySet

0..*

- own package -

CategorySet

0..1

none

own class

Encodings#

Syntax representations / encodings

All syntax representations except the Canonical XMI are provided as reference points for specific implementations, or for use as defaults if sufficient in the form presented.

Fragment for the class CategoryRelationStructure (entire model as XMI)

  1<packagedElement xmlns:StandardProfile="http://www.omg.org/spec/UML/20131001/StandardProfile"
  2                  xmlns:uml="http://www.omg.org/spec/UML/20131001"
  3                  xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
  4                  xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure"
  5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure"
  6                  xmi:type="uml:Class">
  7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-ownedComment"
  8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-ownedComment"
  9                  xmi:type="uml:Comment">
 10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure"/>
 11      <body>Definition 
 12============ 
 13Description of the relationships between and among categories within a collection.  
 14
 15Examples 
 16========== 
 17The category of "student" might be described as having sub-types of "primary school student" and "high school student".  
 18
 19
 20Explanatory notes 
 21=================== 
 22The category relation structure employs a set of category relations to describe the relationship among concepts. Each category relation is a one to many description of connections between categories. Together they might commonly describe relationships as complex as a hierarchy or graph. This is a kind of a concept structure restricted to categories (which are concepts). Allows for the specification of complex relationships among categories.</body>
 23   </ownedComment>
 24   <name>CategoryRelationStructure</name>
 25   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-identifier"
 26                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-identifier"
 27                    xmi:type="uml:Property">
 28      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-identifier-ownedComment"
 29                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-identifier-ownedComment"
 30                     xmi:type="uml:Comment">
 31         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-identifier"/>
 32         <body>Identifier for objects requiring short- or long-lasting referencing and management.</body>
 33      </ownedComment>
 34      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-identifier-lowerValue"
 35                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-identifier-lowerValue"
 36                   xmi:type="uml:LiteralInteger"/>
 37      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-identifier-upperValue"
 38                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-identifier-upperValue"
 39                   xmi:type="uml:LiteralUnlimitedNatural">
 40         <value>1</value>
 41      </upperValue>
 42      <name>identifier</name>
 43      <isID>true</isID>
 44      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Identifier"/>
 45   </ownedAttribute>
 46   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-name"
 47                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-name"
 48                    xmi:type="uml:Property">
 49      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-name-ownedComment"
 50                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-name-ownedComment"
 51                     xmi:type="uml:Comment">
 52         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-name"/>
 53         <body>Human understandable name (liguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage.</body>
 54      </ownedComment>
 55      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-name-lowerValue"
 56                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-name-lowerValue"
 57                   xmi:type="uml:LiteralInteger"/>
 58      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-name-upperValue"
 59                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-name-upperValue"
 60                   xmi:type="uml:LiteralUnlimitedNatural">
 61         <value>*</value>
 62      </upperValue>
 63      <name>name</name>
 64      <isOrdered>true</isOrdered>
 65      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectName"/>
 66   </ownedAttribute>
 67   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-ownedAttribute_1"
 68                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-ownedAttribute_1"
 69                    xmi:type="uml:Property">
 70      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-ownedAttribute_1-lowerValue"
 71                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-ownedAttribute_1-lowerValue"
 72                   xmi:type="uml:LiteralInteger"/>
 73      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-ownedAttribute_1-upperValue"
 74                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-ownedAttribute_1-upperValue"
 75                   xmi:type="uml:LiteralUnlimitedNatural">
 76         <value>1</value>
 77      </upperValue>
 78      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure_structures_CategorySet"/>
 79      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategorySet"/>
 80   </ownedAttribute>
 81   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-ownedAttribute_2"
 82                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-ownedAttribute_2"
 83                    xmi:type="uml:Property">
 84      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-ownedAttribute_2-lowerValue"
 85                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-ownedAttribute_2-lowerValue"
 86                   xmi:type="uml:LiteralInteger"/>
 87      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-ownedAttribute_2-upperValue"
 88                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-ownedAttribute_2-upperValue"
 89                   xmi:type="uml:LiteralUnlimitedNatural">
 90         <value>*</value>
 91      </upperValue>
 92      <aggregation>composite</aggregation>
 93      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure_has_CategoryRelationship"/>
 94      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationship"/>
 95   </ownedAttribute>
 96   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-purpose"
 97                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-purpose"
 98                    xmi:type="uml:Property">
 99      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-purpose-ownedComment"
100                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-purpose-ownedComment"
101                     xmi:type="uml:Comment">
102         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-purpose"/>
103         <body>Intent or reason for the object/the description of the object.</body>
104      </ownedComment>
105      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-purpose-lowerValue"
106                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-purpose-lowerValue"
107                   xmi:type="uml:LiteralInteger"/>
108      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-purpose-upperValue"
109                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-purpose-upperValue"
110                   xmi:type="uml:LiteralUnlimitedNatural">
111         <value>1</value>
112      </upperValue>
113      <name>purpose</name>
114      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-InternationalString"/>
115   </ownedAttribute>
116   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-semantics"
117                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-semantics"
118                    xmi:type="uml:Property">
119      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-semantics-ownedComment"
120                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-semantics-ownedComment"
121                     xmi:type="uml:Comment">
122         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-semantics"/>
123         <body>Specifies the semantics of the object in reference to a vocabulary, ontology, etc.</body>
124      </ownedComment>
125      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-semantics-lowerValue"
126                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-semantics-lowerValue"
127                   xmi:type="uml:LiteralInteger"/>
128      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-semantics-upperValue"
129                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-semantics-upperValue"
130                   xmi:type="uml:LiteralUnlimitedNatural">
131         <value>1</value>
132      </upperValue>
133      <name>semantics</name>
134      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
135   </ownedAttribute>
136   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-specification"
137                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-specification"
138                    xmi:type="uml:Property">
139      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-specification-ownedComment"
140                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-specification-ownedComment"
141                     xmi:type="uml:Comment">
142         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-specification"/>
143         <body>Provides information on reflexivity, transitivity, and symmetry of relationship using a descriptive term from an enumerated list. Use if all relations within this relation structure are of the same specification.</body>
144      </ownedComment>
145      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-specification-lowerValue"
146                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-specification-lowerValue"
147                   xmi:type="uml:LiteralInteger"/>
148      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-specification-upperValue"
149                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-specification-upperValue"
150                   xmi:type="uml:LiteralUnlimitedNatural">
151         <value>1</value>
152      </upperValue>
153      <name>specification</name>
154      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification"/>
155   </ownedAttribute>
156   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-topology"
157                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-topology"
158                    xmi:type="uml:Property">
159      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-topology-ownedComment"
160                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-topology-ownedComment"
161                     xmi:type="uml:Comment">
162         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-topology"/>
163         <body>Indicates the form of the associations among members of the collection. Specifies the way in which constituent parts are interrelated or arranged.</body>
164      </ownedComment>
165      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-topology-lowerValue"
166                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-topology-lowerValue"
167                   xmi:type="uml:LiteralInteger"/>
168      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-topology-upperValue"
169                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-topology-upperValue"
170                   xmi:type="uml:LiteralUnlimitedNatural">
171         <value>1</value>
172      </upperValue>
173      <name>topology</name>
174      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
175   </ownedAttribute>
176   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-totality"
177                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-totality"
178                    xmi:type="uml:Property">
179      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-totality-ownedComment"
180                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-totality-ownedComment"
181                     xmi:type="uml:Comment">
182         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-totality"/>
183         <body>Indicates whether the related collections are comprehensive in terms of their coverage.</body>
184      </ownedComment>
185      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-totality-lowerValue"
186                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-totality-lowerValue"
187                   xmi:type="uml:LiteralInteger"/>
188      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryRelationStructure-totality-upperValue"
189                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryRelationStructure-totality-upperValue"
190                   xmi:type="uml:LiteralUnlimitedNatural">
191         <value>1</value>
192      </upperValue>
193      <name>totality</name>
194      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-StructureExtent"/>
195   </ownedAttribute>
196</packagedElement>

Fragment for the class CategoryRelationStructure (entire XML Schema)

  1<xs:element name="CategoryRelationStructure"
  2            type="CategoryRelationStructureXsdType"
  3            xml:id="CategoryRelationStructure">
  4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::Conceptual::CategoryRelationStructure -->
  5  <xs:annotation>
  6    <xs:documentation>Definition 
  7          ============ 
  8          Description of the relationships between and among categories within a collection.  
  9          
 10          Examples 
 11          ========== 
 12          The category of "student" might be described as having sub-types of "primary school student" and "high school student".  
 13          
 14          
 15          Explanatory notes 
 16          =================== 
 17          The category relation structure employs a set of category relations to describe the relationship among concepts. Each category relation is a one to many description of connections between categories. Together they might commonly describe relationships as complex as a hierarchy or graph. This is a kind of a concept structure restricted to categories (which are concepts). Allows for the specification of complex relationships among categories.</xs:documentation>
 18  </xs:annotation>
 19</xs:element>
 20<xs:complexType name="CategoryRelationStructureXsdType"
 21                xml:id="CategoryRelationStructureXsdType">
 22  <xs:annotation>
 23    <xs:documentation>Definition 
 24          ============ 
 25          Description of the relationships between and among categories within a collection.  
 26          
 27          Examples 
 28          ========== 
 29          The category of "student" might be described as having sub-types of "primary school student" and "high school student".  
 30          
 31          
 32          Explanatory notes 
 33          =================== 
 34          The category relation structure employs a set of category relations to describe the relationship among concepts. Each category relation is a one to many description of connections between categories. Together they might commonly describe relationships as complex as a hierarchy or graph. This is a kind of a concept structure restricted to categories (which are concepts). Allows for the specification of complex relationships among categories.</xs:documentation>
 35  </xs:annotation>
 36  <xs:sequence>
 37    <xs:element name="identifier"
 38                type="IdentifierXsdType"
 39                minOccurs="0"
 40                maxOccurs="1"
 41                xml:id="CategoryRelationStructure-identifier">
 42      <xs:annotation>
 43        <xs:documentation>Identifier for objects requiring short- or long-lasting referencing and management.</xs:documentation>
 44      </xs:annotation>
 45    </xs:element>
 46    <xs:element name="name"
 47                type="ObjectNameXsdType"
 48                minOccurs="0"
 49                maxOccurs="unbounded"
 50                xml:id="CategoryRelationStructure-name">
 51      <xs:annotation>
 52        <xs:documentation>Human understandable name (liguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage.</xs:documentation>
 53      </xs:annotation>
 54    </xs:element>
 55    <xs:element name="purpose"
 56                type="InternationalStringXsdType"
 57                minOccurs="0"
 58                maxOccurs="1"
 59                xml:id="CategoryRelationStructure-purpose">
 60      <xs:annotation>
 61        <xs:documentation>Intent or reason for the object/the description of the object.</xs:documentation>
 62      </xs:annotation>
 63    </xs:element>
 64    <xs:element name="semantics"
 65                type="ControlledVocabularyEntryXsdType"
 66                minOccurs="0"
 67                maxOccurs="1"
 68                xml:id="CategoryRelationStructure-semantics">
 69      <xs:annotation>
 70        <xs:documentation>Specifies the semantics of the object in reference to a vocabulary, ontology, etc.</xs:documentation>
 71      </xs:annotation>
 72    </xs:element>
 73    <xs:element name="specification"
 74                type="StructureSpecificationXsdType"
 75                minOccurs="0"
 76                maxOccurs="1"
 77                xml:id="CategoryRelationStructure-specification">
 78      <xs:annotation>
 79        <xs:documentation>Provides information on reflexivity, transitivity, and symmetry of relationship using a descriptive term from an enumerated list. Use if all relations within this relation structure are of the same specification.</xs:documentation>
 80      </xs:annotation>
 81    </xs:element>
 82    <xs:element name="topology"
 83                type="ControlledVocabularyEntryXsdType"
 84                minOccurs="0"
 85                maxOccurs="1"
 86                xml:id="CategoryRelationStructure-topology">
 87      <xs:annotation>
 88        <xs:documentation>Indicates the form of the associations among members of the collection. Specifies the way in which constituent parts are interrelated or arranged.</xs:documentation>
 89      </xs:annotation>
 90    </xs:element>
 91    <xs:element name="totality"
 92                type="StructureExtentXsdType"
 93                minOccurs="0"
 94                maxOccurs="1"
 95                xml:id="CategoryRelationStructure-totality">
 96      <xs:annotation>
 97        <xs:documentation>Indicates whether the related collections are comprehensive in terms of their coverage.</xs:documentation>
 98      </xs:annotation>
 99    </xs:element>
100    <xs:element name="CategoryRelationStructure_structures_CategorySet"
101                minOccurs="0"
102                maxOccurs="1"
103                xml:id="CategoryRelationStructure_structures_CategorySet">
104      <xs:annotation>
105        <xs:documentation></xs:documentation>
106      </xs:annotation>
107      <xs:complexType>
108        <xs:complexContent>
109          <xs:restriction base="AssociationReferenceXsdType">
110            <xs:sequence>
111              <xs:element name="ddiReference"
112                          type="InternationalRegistrationDataIdentifierXsdType"
113                          minOccurs="0"
114                          maxOccurs="1"
115                          xml:id="CategoryRelationStructure_structures_CategorySet-ddiReference"/>
116              <xs:element name="validType"
117                          minOccurs="0"
118                          maxOccurs="unbounded"
119                          xml:id="CategoryRelationStructure_structures_CategorySet-validType">
120                <xs:simpleType>
121                  <xs:restriction base="xs:NMTOKEN">
122                    <xs:enumeration value="CategorySet"/>
123                  </xs:restriction>
124                </xs:simpleType>
125              </xs:element>
126            </xs:sequence>
127          </xs:restriction>
128        </xs:complexContent>
129      </xs:complexType>
130    </xs:element>
131    <xs:element name="CategoryRelationStructure_has_CategoryRelationship"
132                minOccurs="0"
133                maxOccurs="unbounded"
134                xml:id="CategoryRelationStructure_has_CategoryRelationship">
135      <xs:annotation>
136        <xs:documentation></xs:documentation>
137      </xs:annotation>
138      <xs:complexType>
139        <xs:complexContent>
140          <xs:restriction base="AssociationReferenceXsdType">
141            <xs:sequence>
142              <xs:element name="ddiReference"
143                          type="InternationalRegistrationDataIdentifierXsdType"
144                          minOccurs="0"
145                          maxOccurs="1"
146                          xml:id="CategoryRelationStructure_has_CategoryRelationship-ddiReference"/>
147              <xs:element name="validType"
148                          minOccurs="1"
149                          maxOccurs="1"
150                          xml:id="CategoryRelationStructure_has_CategoryRelationship-validType">
151                <xs:simpleType>
152                  <xs:restriction base="xs:NMTOKEN">
153                    <xs:enumeration value="CategoryRelationship"/>
154                  </xs:restriction>
155                </xs:simpleType>
156              </xs:element>
157            </xs:sequence>
158          </xs:restriction>
159        </xs:complexContent>
160      </xs:complexType>
161    </xs:element>
162  </xs:sequence>
163</xs:complexType>

Fragment for the class CategoryRelationStructure (entire JSON Schema)

 1"cls-CategoryRelationStructure": {
 2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/CategoryRelationStructure",
 3  "type": "object",
 4  "properties": {
 5    "@context": {
 6      "$ref": "#/defs/at-context"
 7    },
 8    "@id": {
 9      "type": "string",
10      "format": "iri-reference"
11    },
12    "@type": {
13      "const": "CategoryRelationStructure"
14    },
15    "identifier": {
16      "$comment": "cardinality 0..1 – from cdi:CategoryRelationStructure",
17      "$ref": "#/defs/dt-Identifier"
18    },
19    "name": {
20      "$comment": "cardinality 0..-1 – from cdi:CategoryRelationStructure",
21      "if": { "type": "array" },
22      "then": { "items": { "$ref": "#/defs/dt-ObjectName" } },
23      "else": { "$ref": "#/defs/dt-ObjectName" }
24    },
25    "purpose": {
26      "$comment": "cardinality 0..1 – from cdi:CategoryRelationStructure",
27      "$ref": "#/defs/dt-InternationalString"
28    },
29    "semantics": {
30      "$comment": "cardinality 0..1 – from cdi:CategoryRelationStructure",
31      "$ref": "#/defs/dt-ControlledVocabularyEntry"
32    },
33    "specification": {
34      "$comment": "cardinality 0..1 – from cdi:CategoryRelationStructure",
35      "$ref": "#/defs/dt-StructureSpecification"
36    },
37    "topology": {
38      "$comment": "cardinality 0..1 – from cdi:CategoryRelationStructure",
39      "$ref": "#/defs/dt-ControlledVocabularyEntry"
40    },
41    "totality": {
42      "$comment": "cardinality 0..1 – from cdi:CategoryRelationStructure",
43      "$ref": "#/defs/enum-StructureExtent"
44    },
45    "has_CategoryRelationship": {
46      "description": "CategoryRelationStructure_has_CategoryRelationship",
47      "$comment": "cardinality 0..-1",
48      "anyOf": [
49        {
50          "$ref": "#/defs/target-CategoryRelationship"
51        },
52        {
53          "type": "array",
54          "items": {
55            "$ref": "#/defs/target-CategoryRelationship"
56          }
57        }
58      ]
59    },
60    "structures": {
61      "description": "CategoryRelationStructure_structures_CategorySet",
62      "$comment": "cardinality 0..1",
63       "$ref": "#/defs/target-CategorySet"
64    },
65    
66    "sameAs": {
67      "$ref": "#/defs/owl:sameAs"
68    }
69  },
70  "required": ["@type"],
71  "additionalProperties": false
72},
73"target-CategoryRelationStructure": {
74  "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/CategoryRelationStructure",
75  "anyOf": [
76    { "$ref": "#/defs/cls-CategoryRelationStructure" },
77    { "type": "string", "format": "iri-reference" }
78  ]
79},

Fragment for the class CategoryRelationStructure (main ontology)

 1# class CategoryRelationStructure
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Conceptual::CategoryRelationStructure
 3cdi:CategoryRelationStructure
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "CategoryRelationStructure";
 6  rdfs:comment "Definition \n============ \nDescription of the relationships between and among categories within a collection.  \n\nExamples \n========== \nThe category of \"student\" might be described as having sub-types of \"primary school student\" and \"high school student\".  \n\n\nExplanatory notes \n=================== \nThe category relation structure employs a set of category relations to describe the relationship among concepts. Each category relation is a one to many description of connections between categories. Together they might commonly describe relationships as complex as a hierarchy or graph. This is a kind of a concept structure restricted to categories (which are concepts). Allows for the specification of complex relationships among categories."@en;
 7  
 8.
 9
10cdi:CategoryRelationStructure-identifier
11  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
12  rdfs:label "identifier";
13  rdfs:comment "Identifier for objects requiring short- or long-lasting referencing and management."@en;
14  rdfs:domain cdi:CategoryRelationStructure;
15  rdfs:range cdi:Identifier;
16.
17
18cdi:CategoryRelationStructure-name
19  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
20  rdfs:label "name";
21  rdfs:comment "Human understandable name (liguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage."@en;
22  rdfs:domain cdi:CategoryRelationStructure;
23  rdfs:range cdi:ObjectName;
24.
25
26cdi:CategoryRelationStructure-purpose
27  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
28  rdfs:label "purpose";
29  rdfs:comment "Intent or reason for the object/the description of the object."@en;
30  rdfs:domain cdi:CategoryRelationStructure;
31  rdfs:range cdi:InternationalString;
32.
33
34cdi:CategoryRelationStructure-semantics
35  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
36  rdfs:label "semantics";
37  rdfs:comment "Specifies the semantics of the object in reference to a vocabulary, ontology, etc."@en;
38  rdfs:domain cdi:CategoryRelationStructure;
39  rdfs:range cdi:ControlledVocabularyEntry;
40.
41
42cdi:CategoryRelationStructure-specification
43  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
44  rdfs:label "specification";
45  rdfs:comment "Provides information on reflexivity, transitivity, and symmetry of relationship using a descriptive term from an enumerated list. Use if all relations within this relation structure are of the same specification."@en;
46  rdfs:domain cdi:CategoryRelationStructure;
47  rdfs:range cdi:StructureSpecification;
48.
49
50cdi:CategoryRelationStructure-topology
51  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
52  rdfs:label "topology";
53  rdfs:comment "Indicates the form of the associations among members of the collection. Specifies the way in which constituent parts are interrelated or arranged."@en;
54  rdfs:domain cdi:CategoryRelationStructure;
55  rdfs:range cdi:ControlledVocabularyEntry;
56.
57
58cdi:CategoryRelationStructure-totality
59  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
60  rdfs:label "totality";
61  rdfs:comment "Indicates whether the related collections are comprehensive in terms of their coverage."@en;
62  rdfs:domain cdi:CategoryRelationStructure;
63  rdfs:range cdi:StructureExtent;
64.
65
66
67cdi:CategoryRelationStructure_has_CategoryRelationship
68  a rdf:Property, owl:ObjectProperty, ucmis:Association;
69  # ASSOCIATION
70  rdfs:label "has_CategoryRelationship";
71  skos:altLabel "CategoryRelationStructure_has_CategoryRelationship";
72  
73  rdfs:domain cdi:CategoryRelationStructure;
74  rdfs:range cdi:CategoryRelationship;
75.
76
77cdi:CategoryRelationStructure_structures_CategorySet
78  a rdf:Property, owl:ObjectProperty, ucmis:Association;
79  # ASSOCIATION
80  rdfs:label "structures";
81  skos:altLabel "CategoryRelationStructure_structures_CategorySet";
82  
83  rdfs:domain cdi:CategoryRelationStructure;
84  rdfs:range cdi:CategorySet;
85.

Fragment for the class CategoryRelationStructure (entire JSON-LD)

 1{
 2  "@context": [
 3    {
 4      "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      "identifier": {
 8        "@id": "cdi:CategoryRelationStructure-identifier",
 9        "@type": "@id",
10        "@context": "Identifier.jsonld"
11      },
12      "name": {
13        "@id": "cdi:CategoryRelationStructure-name",
14        "@type": "@id",
15        "@context": "ObjectName.jsonld"
16      },
17      "purpose": {
18        "@id": "cdi:CategoryRelationStructure-purpose",
19        "@type": "@id",
20        "@context": "InternationalString.jsonld"
21      },
22      "semantics": {
23        "@id": "cdi:CategoryRelationStructure-semantics",
24        "@type": "@id",
25        "@context": "ControlledVocabularyEntry.jsonld"
26      },
27      "specification": {
28        "@id": "cdi:CategoryRelationStructure-specification",
29        "@type": "@id",
30        "@context": "StructureSpecification.jsonld"
31      },
32      "topology": {
33        "@id": "cdi:CategoryRelationStructure-topology",
34        "@type": "@id",
35        "@context": "ControlledVocabularyEntry.jsonld"
36      },
37      "totality": {
38        "@id": "cdi:CategoryRelationStructure-totality",
39        "@type": "@vocab",
40        "@context": {
41          "Partial": "cdi:Partial"
42      ,    "Total": "cdi:Total"
43        }
44      },
45      
46      "has_CategoryRelationship": {
47        "@id": "cdi:CategoryRelationStructure_has_CategoryRelationship",
48        "@type": "@id",
49        "@context": "CategoryRelationship.jsonld"
50      },
51      "structures": {
52        "@id": "cdi:CategoryRelationStructure_structures_CategorySet",
53        "@type": "@id",
54        "@context": "CategorySet.jsonld"
55      },
56      " comment ": "tag:json-should-support-trailing-commas"
57    }
58  ],
59  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:48.",
60  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::Conceptual::CategoryRelationStructure"
61}

Fragment for the class CategoryRelationStructure (entire SHACL - Shapes Constraint Language)

  1# class CategoryRelationStructure
  2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Conceptual::CategoryRelationStructure
  3<#CategoryRelationStructure> a sh:NodeShape;
  4    sh:targetClass cdi:CategoryRelationStructure;
  5	sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/CategoryRelationStructure";
  6	sh:closed true;
  7	sh:ignoredProperties ( owl:sameAs );
  8    sh:property [
  9			sh:path rdf:type;
 10			sh:in (   cdi:CategoryRelationStructure
 11			 ) ;
 12    ];
 13    # attributes
 14    sh:property <#CategoryRelationStructure-identifier>;
 15    sh:property <#CategoryRelationStructure-name>;
 16    sh:property <#CategoryRelationStructure-purpose>;
 17    sh:property <#CategoryRelationStructure-semantics>;
 18    sh:property <#CategoryRelationStructure-specification>;
 19    sh:property <#CategoryRelationStructure-topology>;
 20    sh:property <#CategoryRelationStructure-totality>;
 21    # associations from CategoryRelationStructure
 22    sh:property <#CategoryRelationStructure_has_CategoryRelationship>;
 23    sh:property <#CategoryRelationStructure_structures_CategorySet>;
 24    # associations to CategoryRelationStructure
 25
 26
 27
 28.
 29
 30<#CategoryRelationStructure-identifier> a sh:PropertyShape ;
 31    sh:path cdi:CategoryRelationStructure-identifier;
 32    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 33        cdi:Identifier
 34      
 35    ) ]];
 36    sh:maxCount 1;
 37.
 38<#CategoryRelationStructure-name> a sh:PropertyShape ;
 39    sh:path cdi:CategoryRelationStructure-name;
 40    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 41        cdi:ObjectName
 42        cdi:OrganizationName
 43      
 44    ) ]];
 45.
 46<#CategoryRelationStructure-purpose> a sh:PropertyShape ;
 47    sh:path cdi:CategoryRelationStructure-purpose;
 48    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 49        cdi:InternationalString
 50        cdi:BibliographicName
 51        cdi:LabelForDisplay
 52      
 53    ) ]];
 54    sh:maxCount 1;
 55.
 56<#CategoryRelationStructure-semantics> a sh:PropertyShape ;
 57    sh:path cdi:CategoryRelationStructure-semantics;
 58    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 59        cdi:ControlledVocabularyEntry
 60      
 61    ) ]];
 62    sh:maxCount 1;
 63.
 64<#CategoryRelationStructure-specification> a sh:PropertyShape ;
 65    sh:path cdi:CategoryRelationStructure-specification;
 66    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 67        cdi:StructureSpecification
 68      
 69    ) ]];
 70    sh:maxCount 1;
 71.
 72<#CategoryRelationStructure-topology> a sh:PropertyShape ;
 73    sh:path cdi:CategoryRelationStructure-topology;
 74    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 75        cdi:ControlledVocabularyEntry
 76      
 77    ) ]];
 78    sh:maxCount 1;
 79.
 80<#CategoryRelationStructure-totality> a sh:PropertyShape ;
 81    sh:path cdi:CategoryRelationStructure-totality;
 82    sh:node <#StructureExtent>
 83    ;
 84    sh:maxCount 1;
 85.
 86
 87<#CategoryRelationStructure_has_CategoryRelationship> a sh:PropertyShape ;
 88    sh:path cdi:CategoryRelationStructure_has_CategoryRelationship;
 89	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 90        cdi:CategoryRelationship
 91      
 92    ) ]];
 93.
 94<#rev_CategoryRelationStructure_has_CategoryRelationship> a sh:PropertyShape ;
 95    sh:path [ sh:inversePath cdi:CategoryRelationStructure_has_CategoryRelationship ];
 96    sh:minCount 1;
 97    sh:maxCount 1;
 98.
 99<#CategoryRelationStructure_structures_CategorySet> a sh:PropertyShape ;
100    sh:path cdi:CategoryRelationStructure_structures_CategorySet;
101	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
102        cdi:CategorySet
103      
104    ) ]];
105    sh:maxCount 1;
106.
107<#rev_CategoryRelationStructure_structures_CategorySet> a sh:PropertyShape ;
108    sh:path [ sh:inversePath cdi:CategoryRelationStructure_structures_CategorySet ];
109.

Fragment for the class CategoryRelationStructure (entire ShEx - Shape Expressions)

 1# class CategoryRelationStructure
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Conceptual::CategoryRelationStructure
 3cdi:CategoryRelationStructureShape CLOSED {
 4	a [cdi:CategoryRelationStructure];
 5	cdi:CategoryRelationStructure-identifier	@cdi:IdentifierShape?;
 6	cdi:CategoryRelationStructure-name	@cdi:ObjectNameShape*;
 7	cdi:CategoryRelationStructure-purpose	@cdi:InternationalStringShape?;
 8	cdi:CategoryRelationStructure-semantics	@cdi:ControlledVocabularyEntryShape?;
 9	cdi:CategoryRelationStructure-specification	@cdi:StructureSpecificationShape?;
10	cdi:CategoryRelationStructure-topology	@cdi:ControlledVocabularyEntryShape?;
11	cdi:CategoryRelationStructure-totality	@cdi:StructureExtentShape?;
12	cdi:CategoryRelationStructure_has_CategoryRelationship	@cdi:CategoryRelationshipShape *;
13	
14	cdi:CategoryRelationStructure_structures_CategorySet	@cdi:CategorySetShape ?;
15	
16	}