VariableCollection

Fully qualified class name: DDICDIModels::DDICDILibrary::Classes::Conceptual::VariableCollection

Definition

Group of any type of variable within the variable cascade (conceptual, represented, instance).

Examples

  1. Variables within a specific section of a study

  2. Variables related to a specific subject or keyword

  3. Variables at a specified level of development or review

Explanatory notes

A simple ordered or unordered list of variables can be described via a set of variable position parameters. An optional variable structure can describe a more complex structure for the collection. We might, for example, use the variable structure to group variables by content within a single collection of data or a wave of on-going data collection. For the purposes of management, conceptualization or anything other than organizing a logical record or physical layout.

Diagram

Attributes

Name

Inherited from

Description

Data Type

Multiplicity

Default value

allowsDuplicates

- own class -

If value is False, the members are unique within the collection - if True, there may be duplicates. (Note that a mathematical “bag” permits duplicates and is unordered - a “set” does not have duplicates and may be ordered.)

Boolean

1..1

false

displayLabel

- own class -

A human-readable display label for the object. Supports the use of multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.

LabelForDisplay

0..*

groupingSemantic

- own class -

A semantic term defining the factor used for defining this group.

ControlledVocabularyEntry

0..1

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

usage

- own class -

Explanation of the ways in which the object is employed.

InternationalString

0..1

Associations

Direction

Association

Description

Multiplicity of VariableCollection

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

from

VariableCollection has ConceptualVariable

Variable collection has zero to many conceptual variables.

0..*

- own package -

ConceptualVariable

0..*

shared

- own class -

from

VariableCollection has VariablePosition

Variable collection has zero to many variable positions.

1..1

- own package -

VariablePosition

0..*

composite

- own class -

from

VariableCollection isDefinedBy Concept

The conceptual basis for the collection of members.

0..*

- own package -

Concept

0..*

none

- own class -

to

VariableStructure structures VariableCollection

Variable structure structures zero to one variable collection.

0..1

- own package -

VariableStructure

0..*

none

- own class -

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 VariableCollection (entire model as XMI)

  1<packagedElement xmlns:StandardProfile="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard"
  2                 xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"
  3                 xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
  4                 xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection"
  5                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection"
  6                 xmi:type="uml:Class">
  7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedComment"
  8                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedComment"
  9                 xmi:type="uml:Comment">
 10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection"/>
 11      <body>Definition
 12==========
 13Group of any type of variable within the variable cascade (conceptual, represented, instance).
 14
 15Examples
 16========
 171. Variables within a specific section of a study
 182. Variables related to a specific subject or keyword
 193. Variables at a specified level of development or review
 20
 21Explanatory notes
 22================= 
 23A simple ordered or unordered list of variables can be described via a set of variable position parameters. An optional variable structure can describe a more complex structure for the collection. We might, for example, use the variable structure to group variables by content within a single collection of data or a wave of on-going data collection. For the purposes of management, conceptualization or anything other than organizing a logical record or physical layout.</body>
 24   </ownedComment>
 25   <name>VariableCollection</name>
 26   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-allowsDuplicates"
 27                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-allowsDuplicates"
 28                   xmi:type="uml:Property">
 29      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-allowsDuplicates-ownedComment"
 30                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-allowsDuplicates-ownedComment"
 31                    xmi:type="uml:Comment">
 32         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-allowsDuplicates"/>
 33         <body>If value is False, the members are unique within the collection - if True, there may be duplicates. (Note that a mathematical “bag” permits duplicates and is unordered - a “set” does not have duplicates and may be ordered.)</body>
 34      </ownedComment>
 35      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-allowsDuplicates-lowerValue"
 36                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-allowsDuplicates-lowerValue"
 37                  xmi:type="uml:LiteralInteger">
 38         <value>1</value>
 39      </lowerValue>
 40      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-allowsDuplicates-upperValue"
 41                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-allowsDuplicates-upperValue"
 42                  xmi:type="uml:LiteralUnlimitedNatural">
 43         <value>1</value>
 44      </upperValue>
 45      <name>allowsDuplicates</name>
 46      <defaultValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-allowsDuplicates-defaultValue"
 47                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-allowsDuplicates-defaultValue"
 48                    xmi:type="uml:LiteralBoolean">
 49         <value>False</value>
 50      </defaultValue>
 51      <type href="http://www.eclipse.org/uml2/5.0.0/UML/PrimitiveTypes.xmi#Boolean"
 52            xmi:type="uml:PrimitiveType"/>
 53   </ownedAttribute>
 54   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-displayLabel"
 55                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-displayLabel"
 56                   xmi:type="uml:Property">
 57      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-displayLabel-ownedComment"
 58                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-displayLabel-ownedComment"
 59                    xmi:type="uml:Comment">
 60         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-displayLabel"/>
 61         <body>A human-readable display label for the object. Supports the use of multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.</body>
 62      </ownedComment>
 63      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-displayLabel-lowerValue"
 64                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-displayLabel-lowerValue"
 65                  xmi:type="uml:LiteralInteger"/>
 66      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-displayLabel-upperValue"
 67                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-displayLabel-upperValue"
 68                  xmi:type="uml:LiteralUnlimitedNatural">
 69         <value>*</value>
 70      </upperValue>
 71      <name>displayLabel</name>
 72      <isOrdered>true</isOrdered>
 73      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LabelForDisplay"/>
 74   </ownedAttribute>
 75   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-groupingSemantic"
 76                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-groupingSemantic"
 77                   xmi:type="uml:Property">
 78      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-groupingSemantic-ownedComment"
 79                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-groupingSemantic-ownedComment"
 80                    xmi:type="uml:Comment">
 81         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-groupingSemantic"/>
 82         <body>A semantic term defining the factor used for defining this group.</body>
 83      </ownedComment>
 84      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-groupingSemantic-lowerValue"
 85                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-groupingSemantic-lowerValue"
 86                  xmi:type="uml:LiteralInteger"/>
 87      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-groupingSemantic-upperValue"
 88                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-groupingSemantic-upperValue"
 89                  xmi:type="uml:LiteralUnlimitedNatural">
 90         <value>1</value>
 91      </upperValue>
 92      <name>groupingSemantic</name>
 93      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
 94   </ownedAttribute>
 95   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-identifier"
 96                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-identifier"
 97                   xmi:type="uml:Property">
 98      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-identifier-ownedComment"
 99                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-identifier-ownedComment"
100                    xmi:type="uml:Comment">
101         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-identifier"/>
102         <body>Identifier for objects requiring short- or long-lasting referencing and management.</body>
103      </ownedComment>
104      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-identifier-lowerValue"
105                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-identifier-lowerValue"
106                  xmi:type="uml:LiteralInteger"/>
107      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-identifier-upperValue"
108                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-identifier-upperValue"
109                  xmi:type="uml:LiteralUnlimitedNatural">
110         <value>1</value>
111      </upperValue>
112      <name>identifier</name>
113      <isID>true</isID>
114      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Identifier"/>
115   </ownedAttribute>
116   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-name"
117                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-name"
118                   xmi:type="uml:Property">
119      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-name-ownedComment"
120                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-name-ownedComment"
121                    xmi:type="uml:Comment">
122         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-name"/>
123         <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>
124      </ownedComment>
125      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-name-lowerValue"
126                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-name-lowerValue"
127                  xmi:type="uml:LiteralInteger"/>
128      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-name-upperValue"
129                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-name-upperValue"
130                  xmi:type="uml:LiteralUnlimitedNatural">
131         <value>*</value>
132      </upperValue>
133      <name>name</name>
134      <isOrdered>true</isOrdered>
135      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectName"/>
136   </ownedAttribute>
137   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_1"
138                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_1"
139                   xmi:type="uml:Property">
140      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_1-lowerValue"
141                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_1-lowerValue"
142                  xmi:type="uml:LiteralInteger"/>
143      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_1-upperValue"
144                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_1-upperValue"
145                  xmi:type="uml:LiteralUnlimitedNatural">
146         <value>*</value>
147      </upperValue>
148      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection_isDefinedBy_Concept"/>
149      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-Concept"/>
150   </ownedAttribute>
151   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_2"
152                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_2"
153                   xmi:type="uml:Property">
154      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_2-lowerValue"
155                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_2-lowerValue"
156                  xmi:type="uml:LiteralInteger"/>
157      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_2-upperValue"
158                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_2-upperValue"
159                  xmi:type="uml:LiteralUnlimitedNatural">
160         <value>*</value>
161      </upperValue>
162      <aggregation>shared</aggregation>
163      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection_has_ConceptualVariable"/>
164      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-ConceptualVariable"/>
165   </ownedAttribute>
166   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_3"
167                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_3"
168                   xmi:type="uml:Property">
169      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_3-lowerValue"
170                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_3-lowerValue"
171                  xmi:type="uml:LiteralInteger"/>
172      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_3-upperValue"
173                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_3-upperValue"
174                  xmi:type="uml:LiteralUnlimitedNatural">
175         <value>*</value>
176      </upperValue>
177      <aggregation>composite</aggregation>
178      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection_has_VariablePosition"/>
179      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariablePosition"/>
180   </ownedAttribute>
181   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-purpose"
182                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-purpose"
183                   xmi:type="uml:Property">
184      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-purpose-ownedComment"
185                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-purpose-ownedComment"
186                    xmi:type="uml:Comment">
187         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-purpose"/>
188         <body>Intent or reason for the object/the description of the object.</body>
189      </ownedComment>
190      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-purpose-lowerValue"
191                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-purpose-lowerValue"
192                  xmi:type="uml:LiteralInteger"/>
193      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-purpose-upperValue"
194                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-purpose-upperValue"
195                  xmi:type="uml:LiteralUnlimitedNatural">
196         <value>1</value>
197      </upperValue>
198      <name>purpose</name>
199      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-InternationalString"/>
200   </ownedAttribute>
201   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-usage"
202                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-usage"
203                   xmi:type="uml:Property">
204      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-usage-ownedComment"
205                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-usage-ownedComment"
206                    xmi:type="uml:Comment">
207         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-usage"/>
208         <body>Explanation of the ways in which the object is employed.</body>
209      </ownedComment>
210      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-usage-lowerValue"
211                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-usage-lowerValue"
212                  xmi:type="uml:LiteralInteger"/>
213      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-usage-upperValue"
214                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-usage-upperValue"
215                  xmi:type="uml:LiteralUnlimitedNatural">
216         <value>1</value>
217      </upperValue>
218      <name>usage</name>
219      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-InternationalString"/>
220   </ownedAttribute>
221</packagedElement>

Fragment for the class VariableCollection (entire XML Schema)

  1<xs:element name="VariableCollection"
  2            type="VariableCollectionXsdType"
  3            xml:id="VariableCollection">
  4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::Conceptual::VariableCollection -->
  5  <xs:annotation>
  6    <xs:documentation>Definition
  7          ==========
  8          Group of any type of variable within the variable cascade (conceptual, represented, instance).
  9          
 10          Examples
 11          ========
 12          1. Variables within a specific section of a study
 13          2. Variables related to a specific subject or keyword
 14          3. Variables at a specified level of development or review
 15          
 16          Explanatory notes
 17          ================= 
 18          A simple ordered or unordered list of variables can be described via a set of variable position parameters. An optional variable structure can describe a more complex structure for the collection. We might, for example, use the variable structure to group variables by content within a single collection of data or a wave of on-going data collection. For the purposes of management, conceptualization or anything other than organizing a logical record or physical layout.</xs:documentation>
 19  </xs:annotation>
 20</xs:element>
 21<xs:complexType name="VariableCollectionXsdType"
 22                xml:id="VariableCollectionXsdType">
 23  <xs:annotation>
 24    <xs:documentation>Definition
 25          ==========
 26          Group of any type of variable within the variable cascade (conceptual, represented, instance).
 27          
 28          Examples
 29          ========
 30          1. Variables within a specific section of a study
 31          2. Variables related to a specific subject or keyword
 32          3. Variables at a specified level of development or review
 33          
 34          Explanatory notes
 35          ================= 
 36          A simple ordered or unordered list of variables can be described via a set of variable position parameters. An optional variable structure can describe a more complex structure for the collection. We might, for example, use the variable structure to group variables by content within a single collection of data or a wave of on-going data collection. For the purposes of management, conceptualization or anything other than organizing a logical record or physical layout.</xs:documentation>
 37  </xs:annotation>
 38  <xs:sequence>
 39    <xs:element name="allowsDuplicates"
 40                type="xs:boolean"
 41                minOccurs="1"
 42                maxOccurs="1"
 43                xml:id="VariableCollection-allowsDuplicates">
 44      <xs:annotation>
 45        <xs:documentation>If value is False, the members are unique within the collection - if True, there may be duplicates. (Note that a mathematical “bag” permits duplicates and is unordered - a “set” does not have duplicates and may be ordered.)</xs:documentation>
 46      </xs:annotation>
 47    </xs:element>
 48    <xs:element name="displayLabel"
 49                type="LabelForDisplayXsdType"
 50                minOccurs="0"
 51                maxOccurs="unbounded"
 52                xml:id="VariableCollection-displayLabel">
 53      <xs:annotation>
 54        <xs:documentation>A human-readable display label for the object. Supports the use of multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.</xs:documentation>
 55      </xs:annotation>
 56    </xs:element>
 57    <xs:element name="groupingSemantic"
 58                type="ControlledVocabularyEntryXsdType"
 59                minOccurs="0"
 60                maxOccurs="1"
 61                xml:id="VariableCollection-groupingSemantic">
 62      <xs:annotation>
 63        <xs:documentation>A semantic term defining the factor used for defining this group.</xs:documentation>
 64      </xs:annotation>
 65    </xs:element>
 66    <xs:element name="identifier"
 67                type="IdentifierXsdType"
 68                minOccurs="0"
 69                maxOccurs="1"
 70                xml:id="VariableCollection-identifier">
 71      <xs:annotation>
 72        <xs:documentation>Identifier for objects requiring short- or long-lasting referencing and management.</xs:documentation>
 73      </xs:annotation>
 74    </xs:element>
 75    <xs:element name="name"
 76                type="ObjectNameXsdType"
 77                minOccurs="0"
 78                maxOccurs="unbounded"
 79                xml:id="VariableCollection-name">
 80      <xs:annotation>
 81        <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>
 82      </xs:annotation>
 83    </xs:element>
 84    <xs:element name="purpose"
 85                type="InternationalStringXsdType"
 86                minOccurs="0"
 87                maxOccurs="1"
 88                xml:id="VariableCollection-purpose">
 89      <xs:annotation>
 90        <xs:documentation>Intent or reason for the object/the description of the object.</xs:documentation>
 91      </xs:annotation>
 92    </xs:element>
 93    <xs:element name="usage"
 94                type="InternationalStringXsdType"
 95                minOccurs="0"
 96                maxOccurs="1"
 97                xml:id="VariableCollection-usage">
 98      <xs:annotation>
 99        <xs:documentation>Explanation of the ways in which the object is employed.</xs:documentation>
100      </xs:annotation>
101    </xs:element>
102    <xs:element name="VariableCollection_isDefinedBy_Concept"
103                minOccurs="0"
104                maxOccurs="unbounded"
105                xml:id="VariableCollection_isDefinedBy_Concept">
106      <xs:annotation>
107        <xs:documentation>The conceptual basis for the collection of members.</xs:documentation>
108      </xs:annotation>
109      <xs:complexType>
110        <xs:complexContent>
111          <xs:restriction base="AssociationReferenceXsdType">
112            <xs:sequence>
113              <xs:element name="ddiReference"
114                          type="InternationalRegistrationDataIdentifierXsdType"
115                          minOccurs="0"
116                          maxOccurs="1"
117                          xml:id="VariableCollection_isDefinedBy_Concept-ddiReference"/>
118              <xs:element name="validType"
119                          minOccurs="0"
120                          maxOccurs="unbounded"
121                          xml:id="VariableCollection_isDefinedBy_Concept-validType">
122                <xs:simpleType>
123                  <xs:restriction base="xs:NMTOKEN">
124                    <xs:enumeration value="Category"/>
125                    <xs:enumeration value="Concept"/>
126                    <xs:enumeration value="ConceptualValue"/>
127                    <xs:enumeration value="ConceptualVariable"/>
128                    <xs:enumeration value="DescriptorVariable"/>
129                    <xs:enumeration value="DimensionalKeyDefinitionMember"/>
130                    <xs:enumeration value="InstanceVariable"/>
131                    <xs:enumeration value="KeyDefinitionMember"/>
132                    <xs:enumeration value="Population"/>
133                    <xs:enumeration value="ReferenceVariable"/>
134                    <xs:enumeration value="RepresentedVariable"/>
135                    <xs:enumeration value="UnitType"/>
136                    <xs:enumeration value="Universe"/>
137                  </xs:restriction>
138                </xs:simpleType>
139              </xs:element>
140            </xs:sequence>
141          </xs:restriction>
142        </xs:complexContent>
143      </xs:complexType>
144    </xs:element>
145    <xs:element name="VariableCollection_has_ConceptualVariable"
146                minOccurs="0"
147                maxOccurs="unbounded"
148                xml:id="VariableCollection_has_ConceptualVariable">
149      <xs:annotation>
150        <xs:documentation>Variable collection has zero to many conceptual variables.</xs:documentation>
151      </xs:annotation>
152      <xs:complexType>
153        <xs:complexContent>
154          <xs:restriction base="AssociationReferenceXsdType">
155            <xs:sequence>
156              <xs:element name="ddiReference"
157                          type="InternationalRegistrationDataIdentifierXsdType"
158                          minOccurs="0"
159                          maxOccurs="1"
160                          xml:id="VariableCollection_has_ConceptualVariable-ddiReference"/>
161              <xs:element name="validType"
162                          minOccurs="0"
163                          maxOccurs="unbounded"
164                          xml:id="VariableCollection_has_ConceptualVariable-validType">
165                <xs:simpleType>
166                  <xs:restriction base="xs:NMTOKEN">
167                    <xs:enumeration value="ConceptualVariable"/>
168                    <xs:enumeration value="DescriptorVariable"/>
169                    <xs:enumeration value="InstanceVariable"/>
170                    <xs:enumeration value="ReferenceVariable"/>
171                    <xs:enumeration value="RepresentedVariable"/>
172                  </xs:restriction>
173                </xs:simpleType>
174              </xs:element>
175            </xs:sequence>
176          </xs:restriction>
177        </xs:complexContent>
178      </xs:complexType>
179    </xs:element>
180    <xs:element name="VariableCollection_has_VariablePosition"
181                minOccurs="0"
182                maxOccurs="unbounded"
183                xml:id="VariableCollection_has_VariablePosition">
184      <xs:annotation>
185        <xs:documentation>Variable collection has zero to many variable positions.</xs:documentation>
186      </xs:annotation>
187      <xs:complexType>
188        <xs:complexContent>
189          <xs:restriction base="AssociationReferenceXsdType">
190            <xs:sequence>
191              <xs:element name="ddiReference"
192                          type="InternationalRegistrationDataIdentifierXsdType"
193                          minOccurs="0"
194                          maxOccurs="1"
195                          xml:id="VariableCollection_has_VariablePosition-ddiReference"/>
196              <xs:element name="validType"
197                          minOccurs="1"
198                          maxOccurs="1"
199                          xml:id="VariableCollection_has_VariablePosition-validType">
200                <xs:simpleType>
201                  <xs:restriction base="xs:NMTOKEN">
202                    <xs:enumeration value="VariablePosition"/>
203                  </xs:restriction>
204                </xs:simpleType>
205              </xs:element>
206            </xs:sequence>
207          </xs:restriction>
208        </xs:complexContent>
209      </xs:complexType>
210    </xs:element>
211  </xs:sequence>
212</xs:complexType>

Fragment for the class VariableCollection (main ontology)

 1# class VariableCollection
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Conceptual::VariableCollection
 3cdi:VariableCollection
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "VariableCollection";
 6  rdfs:comment "Definition\n==========\nGroup of any type of variable within the variable cascade (conceptual, represented, instance).\n\nExamples\n========\n1. Variables within a specific section of a study\n2. Variables related to a specific subject or keyword\n3. Variables at a specified level of development or review\n\nExplanatory notes\n================= \nA simple ordered or unordered list of variables can be described via a set of variable position parameters. An optional variable structure can describe a more complex structure for the collection. We might, for example, use the variable structure to group variables by content within a single collection of data or a wave of on-going data collection. For the purposes of management, conceptualization or anything other than organizing a logical record or physical layout."@en;
 7  
 8.
 9
10cdi:VariableCollection-allowsDuplicates
11  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
12  rdfs:label "allowsDuplicates";
13  rdfs:comment "If value is False, the members are unique within the collection - if True, there may be duplicates. (Note that a mathematical “bag” permits duplicates and is unordered - a “set” does not have duplicates and may be ordered.)"@en;
14  rdfs:domain cdi:VariableCollection;
15  rdfs:range xsd:boolean;
16.
17
18cdi:VariableCollection-displayLabel
19  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
20  rdfs:label "displayLabel";
21  rdfs:comment "A human-readable display label for the object. Supports the use of multiple languages. Repeat for labels with different content, for example, labels with differing length limitations."@en;
22  rdfs:domain cdi:VariableCollection;
23  rdfs:range cdi:LabelForDisplay;
24.
25
26cdi:VariableCollection-groupingSemantic
27  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
28  rdfs:label "groupingSemantic";
29  rdfs:comment "A semantic term defining the factor used for defining this group."@en;
30  rdfs:domain cdi:VariableCollection;
31  rdfs:range cdi:ControlledVocabularyEntry;
32.
33
34cdi:VariableCollection-identifier
35  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
36  rdfs:label "identifier";
37  rdfs:comment "Identifier for objects requiring short- or long-lasting referencing and management."@en;
38  rdfs:domain cdi:VariableCollection;
39  rdfs:range cdi:Identifier;
40.
41
42cdi:VariableCollection-name
43  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
44  rdfs:label "name";
45  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;
46  rdfs:domain cdi:VariableCollection;
47  rdfs:range cdi:ObjectName;
48.
49
50cdi:VariableCollection-purpose
51  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
52  rdfs:label "purpose";
53  rdfs:comment "Intent or reason for the object/the description of the object."@en;
54  rdfs:domain cdi:VariableCollection;
55  rdfs:range cdi:InternationalString;
56.
57
58cdi:VariableCollection-usage
59  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
60  rdfs:label "usage";
61  rdfs:comment "Explanation of the ways in which the object is employed."@en;
62  rdfs:domain cdi:VariableCollection;
63  rdfs:range cdi:InternationalString;
64.
65
66
67cdi:VariableCollection_has_ConceptualVariable
68  a rdf:Property, owl:ObjectProperty, ucmis:Association;
69  # ASSOCIATION
70  rdfs:label "has_ConceptualVariable";
71  skos:altLabel "VariableCollection_has_ConceptualVariable";
72  rdfs:comment "Variable collection has zero to many conceptual variables."@en;
73  rdfs:domain cdi:VariableCollection;
74  rdfs:range cdi:ConceptualVariable;
75.
76
77cdi:VariableCollection_has_VariablePosition
78  a rdf:Property, owl:ObjectProperty, ucmis:Association;
79  # ASSOCIATION
80  rdfs:label "has_VariablePosition";
81  skos:altLabel "VariableCollection_has_VariablePosition";
82  rdfs:comment "Variable collection has zero to many variable positions."@en;
83  rdfs:domain cdi:VariableCollection;
84  rdfs:range cdi:VariablePosition;
85.
86
87cdi:VariableCollection_isDefinedBy_Concept
88  a rdf:Property, owl:ObjectProperty, ucmis:Association;
89  # ASSOCIATION
90  rdfs:label "isDefinedBy_Concept";
91  skos:altLabel "VariableCollection_isDefinedBy_Concept";
92  rdfs:comment "The conceptual basis for the collection of members."@en;
93  rdfs:domain cdi:VariableCollection;
94  rdfs:range cdi:Concept;
95.

Fragment for the class VariableCollection (main 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      "allowsDuplicates": {
 8        "@id": "cdi:VariableCollection-allowsDuplicates",
 9        "@type": "xsd:boolean"
10      },
11      "displayLabel": {
12        "@id": "cdi:VariableCollection-displayLabel",
13        "@type": "@id",
14        "@context": "LabelForDisplay.jsonld"
15      },
16      "groupingSemantic": {
17        "@id": "cdi:VariableCollection-groupingSemantic",
18        "@type": "@id",
19        "@context": "ControlledVocabularyEntry.jsonld"
20      },
21      "identifier": {
22        "@id": "cdi:VariableCollection-identifier",
23        "@type": "@id",
24        "@context": "Identifier.jsonld"
25      },
26      "name": {
27        "@id": "cdi:VariableCollection-name",
28        "@type": "@id",
29        "@context": "ObjectName.jsonld"
30      },
31      "purpose": {
32        "@id": "cdi:VariableCollection-purpose",
33        "@type": "@id",
34        "@context": "InternationalString.jsonld"
35      },
36      "usage": {
37        "@id": "cdi:VariableCollection-usage",
38        "@type": "@id",
39        "@context": "InternationalString.jsonld"
40      },
41      
42      "has_ConceptualVariable": {
43        "@id": "cdi:VariableCollection_has_ConceptualVariable",
44        "@type": "@id",
45        "@context": "ConceptualVariable.jsonld"
46      },
47      "has_VariablePosition": {
48        "@id": "cdi:VariableCollection_has_VariablePosition",
49        "@type": "@id",
50        "@context": "VariablePosition.jsonld"
51      },
52      "isDefinedBy_Concept": {
53        "@id": "cdi:VariableCollection_isDefinedBy_Concept",
54        "@type": "@id",
55        "@context": "Concept.jsonld"
56      },
57      "structures_OF_VariableStructure": {
58        "@reverse": "cdi:VariableStructure_structures_VariableCollection",
59        "@type": "@id",
60        "@context": "VariableStructure.jsonld"
61      },
62      " comment ": "tag:json-should-support-trailing-commas"
63    }
64  ],
65  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-01-25 16:58:29.",
66  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::Conceptual::VariableCollection"
67}