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

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      <type href="http://www.eclipse.org/uml2/5.0.0/UML/PrimitiveTypes.xmi#Boolean"
 47            xmi:type="uml:PrimitiveType"/>
 48   </ownedAttribute>
 49   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-displayLabel"
 50                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-displayLabel"
 51                   xmi:type="uml:Property">
 52      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-displayLabel-ownedComment"
 53                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-displayLabel-ownedComment"
 54                    xmi:type="uml:Comment">
 55         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-displayLabel"/>
 56         <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>
 57      </ownedComment>
 58      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-displayLabel-lowerValue"
 59                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-displayLabel-lowerValue"
 60                  xmi:type="uml:LiteralInteger"/>
 61      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-displayLabel-upperValue"
 62                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-displayLabel-upperValue"
 63                  xmi:type="uml:LiteralUnlimitedNatural">
 64         <value>*</value>
 65      </upperValue>
 66      <name>displayLabel</name>
 67      <isOrdered>true</isOrdered>
 68      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LabelForDisplay"/>
 69   </ownedAttribute>
 70   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-groupingSemantic"
 71                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-groupingSemantic"
 72                   xmi:type="uml:Property">
 73      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-groupingSemantic-ownedComment"
 74                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-groupingSemantic-ownedComment"
 75                    xmi:type="uml:Comment">
 76         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-groupingSemantic"/>
 77         <body>A semantic term defining the factor used for defining this group.</body>
 78      </ownedComment>
 79      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-groupingSemantic-lowerValue"
 80                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-groupingSemantic-lowerValue"
 81                  xmi:type="uml:LiteralInteger"/>
 82      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-groupingSemantic-upperValue"
 83                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-groupingSemantic-upperValue"
 84                  xmi:type="uml:LiteralUnlimitedNatural">
 85         <value>1</value>
 86      </upperValue>
 87      <name>groupingSemantic</name>
 88      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
 89   </ownedAttribute>
 90   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-identifier"
 91                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-identifier"
 92                   xmi:type="uml:Property">
 93      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-identifier-ownedComment"
 94                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-identifier-ownedComment"
 95                    xmi:type="uml:Comment">
 96         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-identifier"/>
 97         <body>Identifier for objects requiring short- or long-lasting referencing and management.</body>
 98      </ownedComment>
 99      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-identifier-lowerValue"
100                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-identifier-lowerValue"
101                  xmi:type="uml:LiteralInteger"/>
102      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-identifier-upperValue"
103                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-identifier-upperValue"
104                  xmi:type="uml:LiteralUnlimitedNatural">
105         <value>1</value>
106      </upperValue>
107      <name>identifier</name>
108      <isID>true</isID>
109      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Identifier"/>
110   </ownedAttribute>
111   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-name"
112                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-name"
113                   xmi:type="uml:Property">
114      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-name-ownedComment"
115                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-name-ownedComment"
116                    xmi:type="uml:Comment">
117         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-name"/>
118         <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>
119      </ownedComment>
120      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-name-lowerValue"
121                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-name-lowerValue"
122                  xmi:type="uml:LiteralInteger"/>
123      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-name-upperValue"
124                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-name-upperValue"
125                  xmi:type="uml:LiteralUnlimitedNatural">
126         <value>*</value>
127      </upperValue>
128      <name>name</name>
129      <isOrdered>true</isOrdered>
130      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectName"/>
131   </ownedAttribute>
132   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_1"
133                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_1"
134                   xmi:type="uml:Property">
135      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_1-lowerValue"
136                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_1-lowerValue"
137                  xmi:type="uml:LiteralInteger"/>
138      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_1-upperValue"
139                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_1-upperValue"
140                  xmi:type="uml:LiteralUnlimitedNatural">
141         <value>*</value>
142      </upperValue>
143      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection_isDefinedBy_Concept"/>
144      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-Concept"/>
145   </ownedAttribute>
146   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_2"
147                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_2"
148                   xmi:type="uml:Property">
149      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_2-lowerValue"
150                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_2-lowerValue"
151                  xmi:type="uml:LiteralInteger"/>
152      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_2-upperValue"
153                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_2-upperValue"
154                  xmi:type="uml:LiteralUnlimitedNatural">
155         <value>*</value>
156      </upperValue>
157      <aggregation>shared</aggregation>
158      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection_has_ConceptualVariable"/>
159      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-ConceptualVariable"/>
160   </ownedAttribute>
161   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_3"
162                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_3"
163                   xmi:type="uml:Property">
164      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_3-lowerValue"
165                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_3-lowerValue"
166                  xmi:type="uml:LiteralInteger"/>
167      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_3-upperValue"
168                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_3-upperValue"
169                  xmi:type="uml:LiteralUnlimitedNatural">
170         <value>*</value>
171      </upperValue>
172      <aggregation>composite</aggregation>
173      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection_has_VariablePosition"/>
174      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariablePosition"/>
175   </ownedAttribute>
176   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-purpose"
177                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-purpose"
178                   xmi:type="uml:Property">
179      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-purpose-ownedComment"
180                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-purpose-ownedComment"
181                    xmi:type="uml:Comment">
182         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-purpose"/>
183         <body>Intent or reason for the object/the description of the object.</body>
184      </ownedComment>
185      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-purpose-lowerValue"
186                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-purpose-lowerValue"
187                  xmi:type="uml:LiteralInteger"/>
188      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-purpose-upperValue"
189                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-purpose-upperValue"
190                  xmi:type="uml:LiteralUnlimitedNatural">
191         <value>1</value>
192      </upperValue>
193      <name>purpose</name>
194      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-InternationalString"/>
195   </ownedAttribute>
196   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-usage"
197                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-usage"
198                   xmi:type="uml:Property">
199      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-usage-ownedComment"
200                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-usage-ownedComment"
201                    xmi:type="uml:Comment">
202         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-usage"/>
203         <body>Explanation of the ways in which the object is employed.</body>
204      </ownedComment>
205      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-usage-lowerValue"
206                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-usage-lowerValue"
207                  xmi:type="uml:LiteralInteger"/>
208      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-usage-upperValue"
209                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-usage-upperValue"
210                  xmi:type="uml:LiteralUnlimitedNatural">
211         <value>1</value>
212      </upperValue>
213      <name>usage</name>
214      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-InternationalString"/>
215   </ownedAttribute>
216</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";
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";
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";
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      "VariableCollection": "cdi:VariableCollection",
 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": {
43        "@id": "cdi:VariableCollection_has_ConceptualVariable",
44        "@type": "@id"      },
45      "has": {
46        "@id": "cdi:VariableCollection_has_VariablePosition",
47        "@type": "@id"      },
48      "isDefinedBy": {
49        "@id": "cdi:VariableCollection_isDefinedBy_Concept",
50        "@type": "@id"      },
51      "structures_OF_VariableStructure": {
52        "@reverse": "cdi:VariableStructure_structures_VariableCollection",
53        "@type": "@id"
54      },
55      " comment ": "tag:json-should-support-trailing-commas" 
56    }
57  ],
58  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-03-16 23:40:06.",
59  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::Conceptual::VariableCollection"
60}