RepresentedVariable#

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

Definition#

Conceptual variable with a substantive value domain specified.

Examples#

The pair (Number of Employees, Integer), where “Number of Employees” is the characteristic of the population (variable) and “Integer” is how that measure will be represented (value domain).

Explanatory notes#

Extends from conceptual variable and can contain all descriptive fields without creating a conceptual variable. By referencing a conceptual variable it can indicate a common relationship with represented variables expressing the same characteristic of a universe measured in another way, such as Age of Persons in hours rather than years. Represented variable constrains the coverage of the unit type to a specific universe. In the above case the universe with the measurement of Age in hours may be constrained to Persons under 5 days (120 hours old). Represented variable can define sentinel values for multiple storage systems which have the same conceptual domain but specialized value domains.

Diagram#

Diagram

Inheritance#

Inheritance
    ᐊ── Conceptual::RepresentedVariable
      ᐊ── Conceptual::InstanceVariable
        ᐊ── Long::DescriptorVariable
        ᐊ── Long::ReferenceVariable

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

describedUnitOfMeasure

- own class -

The unit in which the data values are measured (kg, pound, euro), expressed as a value from a controlled system of entries (i.e., QDT). Supports the provision of an identifier for the entry in the authoritative source (a URI, etc.), and the specific vocabulary.

ControlledVocabularyEntry

0..1

hasIntendedDataType

- own class -

The data type intended to be used by this variable. Supports the optional use of an external controlled vocabulary.

ControlledVocabularyEntry

0..1

simpleUnitOfMeasure

- own class -

The unit in which the data values are measured (kg, pound, euro), expressed as a simple string, in cases where no additional information is available (in the legacy system) or needed (as in the case of broad agreement within the community of use [i.e., ISO country codes, currencies, etc. in SDMX])

String

0..1

descriptiveText

Conceptual::ConceptualVariable

A short natural language account of the characteristics of the object.

InternationalString

0..1

unitOfMeasureKind

Conceptual::ConceptualVariable

Kind of unit of measure, so that it may be prone to translation to equivalent UOMs. Example values include “acceleration,” “temperature,” “salinity”, etc. This description exists at the conceptual level, indicating a limitation on the type of representations which may be used for the variable as it is made more concrete.

ControlledVocabularyEntry

0..1

catalogDetails

Conceptual::Concept

Bundles the information useful for a data catalog entry. Examples would be creator, contributor, title, copyright, embargo, and license information. A set of information useful for attribution, data discovery, and access. This is information that is tied to the identity of the object. If this information changes the version of the associated object changes.

CatalogDetails

0..1

definition

Conceptual::Concept

Natural language statement conveying the meaning of a concept, differentiating it from other concepts. Supports the use of multiple languages and structured text. ‘externalDefinition’ can’t be used if ‘definition’ is used.

InternationalString

0..1

displayLabel

Conceptual::Concept

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..*

externalDefinition

Conceptual::Concept

A reference to an external definition of a concept (that is, a concept which is described outside the content of the DDI-CDI metadata description). An example is a SKOS concept. The definition property is assumed to duplicate the external one referenced if externalDefinition is used. Other corresponding properties are assumed to be included unchanged if used.

Reference

0..1

identifier

Conceptual::Concept

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

Identifier

0..1

name

Conceptual::Concept

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

ObjectName

0..*

Associations#

Associations
Associations#

Direction

Association

Description

Multiplicity of RepresentedVariable

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

from

ConceptualVariable measures UnitType

The measures association is intended to describe specific relationships between the ConceptualVariable and UnitType classes, and similar relationships between their sub-classes. This is documented in section VII.D.5 of the “DDI-Cross Domain Integration: Detailed Model” document.

0..*

- own package -

UnitType

0..1

none

Conceptual::ConceptualVariable

from

ConceptualVariable takesSentinelConceptsFrom SentinelConceptualDomain

Identifies the conceptual domain containing the set of sentinel concepts used to describe the conceptual variable.

0..*

- own package -

SentinelConceptualDomain

0..1

none

Conceptual::ConceptualVariable

from

ConceptualVariable takesSubstantiveConceptsFrom SubstantiveConceptualDomain

Identifies the substantive conceptual domain containing the set of substantive concepts used to describe the conceptual variable.

0..*

- own package -

SubstantiveConceptualDomain

0..1

none

Conceptual::ConceptualVariable

to

VariableCollection has ConceptualVariable

Variable collection has zero to many conceptual variables.

0..*

- own package -

VariableCollection

0..*

none

Conceptual::ConceptualVariable

to

VariablePosition indexes ConceptualVariable

Variable position indexes a conceptual variable.

1..1

- own package -

VariablePosition

0..*

none

Conceptual::ConceptualVariable

to

VariableRelationship hasSource ConceptualVariable

0..*

- own package -

VariableRelationship

0..*

none

Conceptual::ConceptualVariable

to

VariableRelationship hasTarget ConceptualVariable

Note that this can be realized as a collection to support tuples.

0..*

- own package -

VariableRelationship

0..*

none

Conceptual::ConceptualVariable

to

AgentListing isDefinedBy Concept

The conceptual basis for the collection of members.

0..*

Agents

AgentListing

0..*

none

Conceptual::Concept

to

ClassificationFamily isDefinedBy Concept

The conceptual basis for the collection of members.

0..*

Representations

ClassificationFamily

0..*

none

Conceptual::Concept

to

ClassificationIndex isDefinedBy Concept

The conceptual basis for the collection of members.

0..*

Representations

ClassificationIndex

0..*

none

Conceptual::Concept

to

ClassificationSeries isDefinedBy Concept

The conceptual basis for the collection of members.

0..*

Representations

ClassificationSeries

0..*

none

Conceptual::Concept

to

Concept uses Concept

The uses association is intended to describe specific relationships between Concepts and several of its sub-classes. This is documented in section VII.D.5 of the “DDI-Cross Domain Integration: Detailed Model” document.

0..*

- own package -

Concept

0..*

none

Conceptual::Concept

to

ConceptMap hasSource Concept

Concept map has one to many source concepts.

1..*

- own package -

ConceptMap

0..*

none

Conceptual::Concept

to

ConceptMap hasTarget Concept

Concept map has one to many target concepts.

1..*

- own package -

ConceptMap

0..*

none

Conceptual::Concept

to

ConceptRelationship hasSource Concept

Restricts source object to concept for the relationship.

1..1

- own package -

ConceptRelationship

0..*

none

Conceptual::Concept

to

ConceptRelationship hasTarget Concept

Restricts target object to concept for the relationship.

1..1

- own package -

ConceptRelationship

0..*

none

Conceptual::Concept

to

ConceptSystem has Concept

Concept system has zero to many concepts.

0..*

- own package -

ConceptSystem

0..*

none

Conceptual::Concept

to

ConceptSystem isDefinedBy Concept

Concept system is defined by zero to many concepts. The conceptual basis for the collection of members.

0..*

- own package -

ConceptSystem

0..*

none

Conceptual::Concept

to

DataStore isDefinedBy Concept

The conceptual basis for the collection of members.

0..*

FormatDescription

DataStore

0..*

none

Conceptual::Concept

to

EnumerationDomain isDefinedBy Concept

The conceptual basis for the collection of members.

0..*

Representations

EnumerationDomain

0..*

none

Conceptual::Concept

to

Level isDefinedBy Concept

A concept or concept sub-type which describes the level.

0..1

Representations

Level

0..*

none

Conceptual::Concept

to

LogicalRecord isDefinedBy Concept

The conceptual basis for the collection of members.

0..*

FormatDescription

LogicalRecord

0..*

none

Conceptual::Concept

to

PhysicalDataSet isDefinedBy Concept

The conceptual basis for the collection of members.

0..*

FormatDescription

PhysicalDataSet

0..*

none

Conceptual::Concept

to

PhysicalRecordSegment isDefinedBy Concept

The conceptual basis for the collection of members.

0..*

FormatDescription

PhysicalRecordSegment

0..*

none

Conceptual::Concept

to

PhysicalSegmentLayout isDefinedBy Concept

The conceptual basis for the collection of members.

0..*

FormatDescription

PhysicalSegmentLayout

0..*

none

Conceptual::Concept

to

VariableCollection isDefinedBy Concept

The conceptual basis for the collection of members.

0..*

- own package -

VariableCollection

0..*

none

Conceptual::Concept

to

DataStructureComponent isDefinedBy RepresentedVariable

Data structure component is defined by zero to one represented variable.

0..1

Components

DataStructureComponent

0..*

none

own class

from

RepresentedVariable takesSentinelValuesFrom SentinelValueDomain

A represented variable may have more than one sets of sentinel value domains, one for each type of software platform on which related instance variables might be instantiated. All of the sentinel value domains must have sentinel conceptual domains that correspond exactly. This allows codes for missing values to be explicitly matched across platforms.

0..*

Representations

SentinelValueDomain

0..*

none

own class

from

RepresentedVariable takesSubstantiveValuesFrom SubstantiveValueDomain

The substantive representation (substantive value domain) of the variable. This is equivalent to the relationship “Measures” in the Generic Statistical Information Model (GSIM) although GSIM makes no distinction between substantive and sentinel values.

0..*

Representations

SubstantiveValueDomain

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 RepresentedVariable (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-RepresentedVariable"
  5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable"
  6                  xmi:type="uml:Class">
  7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-ownedComment"
  8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-ownedComment"
  9                  xmi:type="uml:Comment">
 10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable"/>
 11      <body>Definition 
 12========== 
 13Conceptual variable with a substantive value domain specified.   
 14
 15Examples 
 16========== 
 17The pair (Number of Employees, Integer), where "Number of Employees" is the characteristic of the population (variable) and "Integer" is how that measure will be represented (value domain).  
 18
 19Explanatory notes 
 20=================== 
 21Extends from conceptual variable and can contain all descriptive fields without creating a conceptual variable. By referencing a conceptual variable it can indicate a common relationship with represented variables expressing the same characteristic of a universe measured in another way, such as Age of Persons in hours rather than years. Represented variable constrains the coverage of the unit type to a specific universe. In the above case the universe with the measurement of Age in hours may be constrained to Persons under 5 days (120 hours old). Represented variable can define sentinel values for multiple storage systems which have the same conceptual domain but specialized value domains.</body>
 22   </ownedComment>
 23   <name>RepresentedVariable</name>
 24   <generalization xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-generalization"
 25                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-generalization"
 26                    xmi:type="uml:Generalization">
 27      <general xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-ConceptualVariable"/>
 28   </generalization>
 29   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-describedUnitOfMeasure"
 30                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-describedUnitOfMeasure"
 31                    xmi:type="uml:Property">
 32      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-describedUnitOfMeasure-ownedComment"
 33                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-describedUnitOfMeasure-ownedComment"
 34                     xmi:type="uml:Comment">
 35         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-describedUnitOfMeasure"/>
 36         <body>The unit in which the data values are measured (kg, pound, euro), expressed as a value from a controlled system of entries (i.e., QDT). Supports the provision of an identifier for the entry in the authoritative source (a URI, etc.), and the specific vocabulary.</body>
 37      </ownedComment>
 38      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-describedUnitOfMeasure-lowerValue"
 39                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-describedUnitOfMeasure-lowerValue"
 40                   xmi:type="uml:LiteralInteger"/>
 41      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-describedUnitOfMeasure-upperValue"
 42                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-describedUnitOfMeasure-upperValue"
 43                   xmi:type="uml:LiteralUnlimitedNatural">
 44         <value>1</value>
 45      </upperValue>
 46      <name>describedUnitOfMeasure</name>
 47      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
 48   </ownedAttribute>
 49   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-hasIntendedDataType"
 50                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-hasIntendedDataType"
 51                    xmi:type="uml:Property">
 52      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-hasIntendedDataType-ownedComment"
 53                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-hasIntendedDataType-ownedComment"
 54                     xmi:type="uml:Comment">
 55         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-hasIntendedDataType"/>
 56         <body>The data type intended to be used by this variable. Supports the optional use of an external controlled vocabulary.</body>
 57      </ownedComment>
 58      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-hasIntendedDataType-lowerValue"
 59                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-hasIntendedDataType-lowerValue"
 60                   xmi:type="uml:LiteralInteger"/>
 61      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-hasIntendedDataType-upperValue"
 62                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-hasIntendedDataType-upperValue"
 63                   xmi:type="uml:LiteralUnlimitedNatural">
 64         <value>1</value>
 65      </upperValue>
 66      <name>hasIntendedDataType</name>
 67      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
 68   </ownedAttribute>
 69   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-ownedAttribute_1"
 70                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-ownedAttribute_1"
 71                    xmi:type="uml:Property">
 72      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-ownedAttribute_1-lowerValue"
 73                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-ownedAttribute_1-lowerValue"
 74                   xmi:type="uml:LiteralInteger"/>
 75      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-ownedAttribute_1-upperValue"
 76                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-ownedAttribute_1-upperValue"
 77                   xmi:type="uml:LiteralUnlimitedNatural">
 78         <value>*</value>
 79      </upperValue>
 80      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable_takesSentinelValuesFrom_SentinelValueDomain"/>
 81      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-SentinelValueDomain"/>
 82   </ownedAttribute>
 83   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-ownedAttribute_2"
 84                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-ownedAttribute_2"
 85                    xmi:type="uml:Property">
 86      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-ownedAttribute_2-lowerValue"
 87                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-ownedAttribute_2-lowerValue"
 88                   xmi:type="uml:LiteralInteger"/>
 89      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-ownedAttribute_2-upperValue"
 90                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-ownedAttribute_2-upperValue"
 91                   xmi:type="uml:LiteralUnlimitedNatural">
 92         <value>1</value>
 93      </upperValue>
 94      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable_takesSubstantiveValuesFrom_SubstantiveValueDomain"/>
 95      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-SubstantiveValueDomain"/>
 96   </ownedAttribute>
 97   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-simpleUnitOfMeasure"
 98                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-simpleUnitOfMeasure"
 99                    xmi:type="uml:Property">
100      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-simpleUnitOfMeasure-ownedComment"
101                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-simpleUnitOfMeasure-ownedComment"
102                     xmi:type="uml:Comment">
103         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-simpleUnitOfMeasure"/>
104         <body>The unit in which the data values are measured (kg, pound, euro), expressed as a simple string, in cases where no additional information is available (in the legacy system) or needed (as in the case of broad agreement within the community of use [i.e., ISO country codes, currencies, etc. in SDMX])</body>
105      </ownedComment>
106      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-simpleUnitOfMeasure-lowerValue"
107                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-simpleUnitOfMeasure-lowerValue"
108                   xmi:type="uml:LiteralInteger"/>
109      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable-simpleUnitOfMeasure-upperValue"
110                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RepresentedVariable-simpleUnitOfMeasure-upperValue"
111                   xmi:type="uml:LiteralUnlimitedNatural">
112         <value>1</value>
113      </upperValue>
114      <name>simpleUnitOfMeasure</name>
115      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"
116             xmi:type="uml:PrimitiveType"/>
117   </ownedAttribute>
118</packagedElement>

Fragment for the class RepresentedVariable (entire XML Schema)

  1<xs:element name="RepresentedVariable"
  2            type="RepresentedVariableXsdType"
  3            xml:id="RepresentedVariable">
  4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::Conceptual::RepresentedVariable -->
  5  <xs:annotation>
  6    <xs:documentation>Definition 
  7          ========== 
  8          Conceptual variable with a substantive value domain specified.   
  9          
 10          Examples 
 11          ========== 
 12          The pair (Number of Employees, Integer), where "Number of Employees" is the characteristic of the population (variable) and "Integer" is how that measure will be represented (value domain).  
 13          
 14          Explanatory notes 
 15          =================== 
 16          Extends from conceptual variable and can contain all descriptive fields without creating a conceptual variable. By referencing a conceptual variable it can indicate a common relationship with represented variables expressing the same characteristic of a universe measured in another way, such as Age of Persons in hours rather than years. Represented variable constrains the coverage of the unit type to a specific universe. In the above case the universe with the measurement of Age in hours may be constrained to Persons under 5 days (120 hours old). Represented variable can define sentinel values for multiple storage systems which have the same conceptual domain but specialized value domains.</xs:documentation>
 17  </xs:annotation>
 18</xs:element>
 19<xs:complexType name="RepresentedVariableXsdType"
 20                xml:id="RepresentedVariableXsdType">
 21  <xs:annotation>
 22    <xs:documentation>Definition 
 23          ========== 
 24          Conceptual variable with a substantive value domain specified.   
 25          
 26          Examples 
 27          ========== 
 28          The pair (Number of Employees, Integer), where "Number of Employees" is the characteristic of the population (variable) and "Integer" is how that measure will be represented (value domain).  
 29          
 30          Explanatory notes 
 31          =================== 
 32          Extends from conceptual variable and can contain all descriptive fields without creating a conceptual variable. By referencing a conceptual variable it can indicate a common relationship with represented variables expressing the same characteristic of a universe measured in another way, such as Age of Persons in hours rather than years. Represented variable constrains the coverage of the unit type to a specific universe. In the above case the universe with the measurement of Age in hours may be constrained to Persons under 5 days (120 hours old). Represented variable can define sentinel values for multiple storage systems which have the same conceptual domain but specialized value domains.</xs:documentation>
 33  </xs:annotation>
 34  <xs:complexContent>
 35    <xs:extension base="ConceptualVariableXsdType">
 36      <xs:sequence>
 37        <xs:element name="describedUnitOfMeasure"
 38                    type="ControlledVocabularyEntryXsdType"
 39                    minOccurs="0"
 40                    maxOccurs="1"
 41                    xml:id="RepresentedVariable-describedUnitOfMeasure">
 42          <xs:annotation>
 43            <xs:documentation>The unit in which the data values are measured (kg, pound, euro), expressed as a value from a controlled system of entries (i.e., QDT). Supports the provision of an identifier for the entry in the authoritative source (a URI, etc.), and the specific vocabulary.</xs:documentation>
 44          </xs:annotation>
 45        </xs:element>
 46        <xs:element name="hasIntendedDataType"
 47                    type="ControlledVocabularyEntryXsdType"
 48                    minOccurs="0"
 49                    maxOccurs="1"
 50                    xml:id="RepresentedVariable-hasIntendedDataType">
 51          <xs:annotation>
 52            <xs:documentation>The data type intended to be used by this variable. Supports the optional use of an external controlled vocabulary.</xs:documentation>
 53          </xs:annotation>
 54        </xs:element>
 55        <xs:element name="simpleUnitOfMeasure"
 56                    type="xs:string"
 57                    minOccurs="0"
 58                    maxOccurs="1"
 59                    xml:id="RepresentedVariable-simpleUnitOfMeasure">
 60          <xs:annotation>
 61            <xs:documentation>The unit in which the data values are measured (kg, pound, euro), expressed as a simple string, in cases where no additional information is available (in the legacy system) or needed (as in the case of broad agreement within the community of use [i.e., ISO country codes, currencies, etc. in SDMX])</xs:documentation>
 62          </xs:annotation>
 63        </xs:element>
 64        <xs:element name="RepresentedVariable_takesSentinelValuesFrom_SentinelValueDomain"
 65                    minOccurs="0"
 66                    maxOccurs="unbounded"
 67                    xml:id="RepresentedVariable_takesSentinelValuesFrom_SentinelValueDomain">
 68          <xs:annotation>
 69            <xs:documentation>A represented variable may have more than one sets of sentinel value domains, one for each type of software platform on which related instance variables might be instantiated. All of the sentinel value domains must have sentinel conceptual domains that correspond exactly. This allows codes for missing values to be explicitly matched across platforms.</xs:documentation>
 70          </xs:annotation>
 71          <xs:complexType>
 72            <xs:complexContent>
 73              <xs:restriction base="AssociationReferenceXsdType">
 74                <xs:sequence>
 75                  <xs:element name="ddiReference"
 76                              type="InternationalRegistrationDataIdentifierXsdType"
 77                              minOccurs="0"
 78                              maxOccurs="1"
 79                              xml:id="RepresentedVariable_takesSentinelValuesFrom_SentinelValueDomain-ddiReference"/>
 80                  <xs:element name="validType"
 81                              minOccurs="0"
 82                              maxOccurs="unbounded"
 83                              xml:id="RepresentedVariable_takesSentinelValuesFrom_SentinelValueDomain-validType">
 84                    <xs:simpleType>
 85                      <xs:restriction base="xs:NMTOKEN">
 86                        <xs:enumeration value="SentinelValueDomain"/>
 87                      </xs:restriction>
 88                    </xs:simpleType>
 89                  </xs:element>
 90                </xs:sequence>
 91              </xs:restriction>
 92            </xs:complexContent>
 93          </xs:complexType>
 94        </xs:element>
 95        <xs:element name="RepresentedVariable_takesSubstantiveValuesFrom_SubstantiveValueDomain"
 96                    minOccurs="0"
 97                    maxOccurs="1"
 98                    xml:id="RepresentedVariable_takesSubstantiveValuesFrom_SubstantiveValueDomain">
 99          <xs:annotation>
100            <xs:documentation>The substantive representation (substantive value domain) of the variable. This is equivalent to the relationship "Measures" in the Generic Statistical Information Model (GSIM) although GSIM makes no distinction between substantive and sentinel values.</xs:documentation>
101          </xs:annotation>
102          <xs:complexType>
103            <xs:complexContent>
104              <xs:restriction base="AssociationReferenceXsdType">
105                <xs:sequence>
106                  <xs:element name="ddiReference"
107                              type="InternationalRegistrationDataIdentifierXsdType"
108                              minOccurs="0"
109                              maxOccurs="1"
110                              xml:id="RepresentedVariable_takesSubstantiveValuesFrom_SubstantiveValueDomain-ddiReference"/>
111                  <xs:element name="validType"
112                              minOccurs="0"
113                              maxOccurs="unbounded"
114                              xml:id="RepresentedVariable_takesSubstantiveValuesFrom_SubstantiveValueDomain-validType">
115                    <xs:simpleType>
116                      <xs:restriction base="xs:NMTOKEN">
117                        <xs:enumeration value="DescriptorValueDomain"/>
118                        <xs:enumeration value="SubstantiveValueDomain"/>
119                      </xs:restriction>
120                    </xs:simpleType>
121                  </xs:element>
122                </xs:sequence>
123              </xs:restriction>
124            </xs:complexContent>
125          </xs:complexType>
126        </xs:element>
127      </xs:sequence>
128    </xs:extension>
129  </xs:complexContent>
130</xs:complexType>

Fragment for the class RepresentedVariable (entire JSON Schema)

  1"cls-RepresentedVariable": {
  2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/RepresentedVariable",
  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": "RepresentedVariable"
 14    },
 15    "describedUnitOfMeasure": {
 16      "$comment": "cardinality 0..1 – from cdi:RepresentedVariable",
 17      "$ref": "#/defs/dt-ControlledVocabularyEntry"
 18    },
 19    "hasIntendedDataType": {
 20      "$comment": "cardinality 0..1 – from cdi:RepresentedVariable",
 21      "$ref": "#/defs/dt-ControlledVocabularyEntry"
 22    },
 23    "simpleUnitOfMeasure": {
 24      "$comment": "cardinality 0..1 – from cdi:RepresentedVariable",
 25      "$ref": "#/defs/xsd:string"
 26    },
 27    "descriptiveText": {
 28      "$comment": "cardinality 0..1 – from cdi:ConceptualVariable",
 29      "$ref": "#/defs/dt-InternationalString"
 30    },
 31    "unitOfMeasureKind": {
 32      "$comment": "cardinality 0..1 – from cdi:ConceptualVariable",
 33      "$ref": "#/defs/dt-ControlledVocabularyEntry"
 34    },
 35    "catalogDetails": {
 36      "$comment": "cardinality 0..1 – from cdi:Concept",
 37      "$ref": "#/defs/dt-CatalogDetails"
 38    },
 39    "definition": {
 40      "$comment": "cardinality 0..1 – from cdi:Concept",
 41      "$ref": "#/defs/dt-InternationalString"
 42    },
 43    "displayLabel": {
 44      "$comment": "cardinality 0..-1 – from cdi:Concept",
 45      "if": { "type": "array" },
 46      "then": { "items": { "$ref": "#/defs/dt-LabelForDisplay" } },
 47      "else": { "$ref": "#/defs/dt-LabelForDisplay" }
 48    },
 49    "externalDefinition": {
 50      "$comment": "cardinality 0..1 – from cdi:Concept",
 51      "$ref": "#/defs/dt-Reference"
 52    },
 53    "identifier": {
 54      "$comment": "cardinality 0..1 – from cdi:Concept",
 55      "$ref": "#/defs/dt-Identifier"
 56    },
 57    "name": {
 58      "$comment": "cardinality 0..-1 – from cdi:Concept",
 59      "if": { "type": "array" },
 60      "then": { "items": { "$ref": "#/defs/dt-ObjectName" } },
 61      "else": { "$ref": "#/defs/dt-ObjectName" }
 62    },
 63    "takesSentinelValuesFrom": {
 64      "description": "RepresentedVariable_takesSentinelValuesFrom_SentinelValueDomain",
 65      "$comment": "cardinality 0..-1",
 66      "anyOf": [
 67        {
 68          "$ref": "#/defs/target-SentinelValueDomain"
 69        },
 70        {
 71          "type": "array",
 72          "items": {
 73            "$ref": "#/defs/target-SentinelValueDomain"
 74          }
 75        }
 76      ]
 77    },
 78    "takesSubstantiveValuesFrom_SubstantiveValueDomain": {
 79      "description": "RepresentedVariable_takesSubstantiveValuesFrom_SubstantiveValueDomain",
 80      "$comment": "cardinality 0..1",
 81       "$ref": "#/defs/target-SubstantiveValueDomain"
 82    },
 83    "measures": {
 84      "description": "ConceptualVariable_measures_UnitType",
 85      "$comment": "cardinality 0..1",
 86       "$ref": "#/defs/target-UnitType"
 87    },
 88    "takesSentinelConceptsFrom": {
 89      "description": "ConceptualVariable_takesSentinelConceptsFrom_SentinelConceptualDomain",
 90      "$comment": "cardinality 0..1",
 91       "$ref": "#/defs/target-SentinelConceptualDomain"
 92    },
 93    "takesSubstantiveConceptsFrom": {
 94      "description": "ConceptualVariable_takesSubstantiveConceptsFrom_SubstantiveConceptualDomain",
 95      "$comment": "cardinality 0..1",
 96       "$ref": "#/defs/target-SubstantiveConceptualDomain"
 97    },
 98    "uses_Concept": {
 99      "description": "Concept_uses_Concept",
100      "$comment": "cardinality 0..-1",
101      "anyOf": [
102        {
103          "$ref": "#/defs/target-Concept"
104        },
105        {
106          "type": "array",
107          "items": {
108            "$ref": "#/defs/target-Concept"
109          }
110        }
111      ]
112    },
113    "isDefinedBy_RepresentedVariable_OF_DataStructureComponent": {
114      "description": "DataStructureComponent_isDefinedBy_RepresentedVariable",
115      "$comment": "cardinality 0..-1",
116      "anyOf": [
117        {
118          "$ref": "#/defs/target-DataStructureComponent"
119        },
120        {
121          "type": "array",
122          "items": {
123            "$ref": "#/defs/target-DataStructureComponent"
124          }
125        }
126      ]
127    },
128    "has_ConceptualVariable_OF_VariableCollection": {
129      "description": "VariableCollection_has_ConceptualVariable",
130      "$comment": "cardinality 0..-1",
131      "anyOf": [
132        {
133          "$ref": "#/defs/target-VariableCollection"
134        },
135        {
136          "type": "array",
137          "items": {
138            "$ref": "#/defs/target-VariableCollection"
139          }
140        }
141      ]
142    },
143    "indexes_OF_VariablePosition": {
144      "description": "VariablePosition_indexes_ConceptualVariable",
145      "$comment": "cardinality 0..-1",
146      "anyOf": [
147        {
148          "$ref": "#/defs/target-VariablePosition"
149        },
150        {
151          "type": "array",
152          "items": {
153            "$ref": "#/defs/target-VariablePosition"
154          }
155        }
156      ]
157    },
158    "hasSource_OF_VariableRelationship": {
159      "description": "VariableRelationship_hasSource_ConceptualVariable",
160      "$comment": "cardinality 0..-1",
161      "anyOf": [
162        {
163          "$ref": "#/defs/target-VariableRelationship"
164        },
165        {
166          "type": "array",
167          "items": {
168            "$ref": "#/defs/target-VariableRelationship"
169          }
170        }
171      ]
172    },
173    "hasTarget_OF_VariableRelationship": {
174      "description": "VariableRelationship_hasTarget_ConceptualVariable",
175      "$comment": "cardinality 0..-1",
176      "anyOf": [
177        {
178          "$ref": "#/defs/target-VariableRelationship"
179        },
180        {
181          "type": "array",
182          "items": {
183            "$ref": "#/defs/target-VariableRelationship"
184          }
185        }
186      ]
187    },
188    "isDefinedBy_Concept_OF_AgentListing": {
189      "description": "AgentListing_isDefinedBy_Concept",
190      "$comment": "cardinality 0..-1",
191      "anyOf": [
192        {
193          "$ref": "#/defs/target-AgentListing"
194        },
195        {
196          "type": "array",
197          "items": {
198            "$ref": "#/defs/target-AgentListing"
199          }
200        }
201      ]
202    },
203    "isDefinedBy_Concept_OF_ClassificationFamily": {
204      "description": "ClassificationFamily_isDefinedBy_Concept",
205      "$comment": "cardinality 0..-1",
206      "anyOf": [
207        {
208          "$ref": "#/defs/target-ClassificationFamily"
209        },
210        {
211          "type": "array",
212          "items": {
213            "$ref": "#/defs/target-ClassificationFamily"
214          }
215        }
216      ]
217    },
218    "isDefinedBy_Concept_OF_ClassificationIndex": {
219      "description": "ClassificationIndex_isDefinedBy_Concept",
220      "$comment": "cardinality 0..-1",
221      "anyOf": [
222        {
223          "$ref": "#/defs/target-ClassificationIndex"
224        },
225        {
226          "type": "array",
227          "items": {
228            "$ref": "#/defs/target-ClassificationIndex"
229          }
230        }
231      ]
232    },
233    "isDefinedBy_Concept_OF_ClassificationSeries": {
234      "description": "ClassificationSeries_isDefinedBy_Concept",
235      "$comment": "cardinality 0..-1",
236      "anyOf": [
237        {
238          "$ref": "#/defs/target-ClassificationSeries"
239        },
240        {
241          "type": "array",
242          "items": {
243            "$ref": "#/defs/target-ClassificationSeries"
244          }
245        }
246      ]
247    },
248    "uses_Concept_OF_Concept": {
249      "description": "Concept_uses_Concept",
250      "$comment": "cardinality 0..-1",
251      "anyOf": [
252        {
253          "$ref": "#/defs/target-Concept"
254        },
255        {
256          "type": "array",
257          "items": {
258            "$ref": "#/defs/target-Concept"
259          }
260        }
261      ]
262    },
263    "hasSource_OF_ConceptMap": {
264      "description": "ConceptMap_hasSource_Concept",
265      "$comment": "cardinality 0..-1",
266      "anyOf": [
267        {
268          "$ref": "#/defs/target-ConceptMap"
269        },
270        {
271          "type": "array",
272          "items": {
273            "$ref": "#/defs/target-ConceptMap"
274          }
275        }
276      ]
277    },
278    "hasTarget_OF_ConceptMap": {
279      "description": "ConceptMap_hasTarget_Concept",
280      "$comment": "cardinality 0..-1",
281      "anyOf": [
282        {
283          "$ref": "#/defs/target-ConceptMap"
284        },
285        {
286          "type": "array",
287          "items": {
288            "$ref": "#/defs/target-ConceptMap"
289          }
290        }
291      ]
292    },
293    "hasSource_OF_ConceptRelationship": {
294      "description": "ConceptRelationship_hasSource_Concept",
295      "$comment": "cardinality 0..-1",
296      "anyOf": [
297        {
298          "$ref": "#/defs/target-ConceptRelationship"
299        },
300        {
301          "type": "array",
302          "items": {
303            "$ref": "#/defs/target-ConceptRelationship"
304          }
305        }
306      ]
307    },
308    "hasTarget_OF_ConceptRelationship": {
309      "description": "ConceptRelationship_hasTarget_Concept",
310      "$comment": "cardinality 0..-1",
311      "anyOf": [
312        {
313          "$ref": "#/defs/target-ConceptRelationship"
314        },
315        {
316          "type": "array",
317          "items": {
318            "$ref": "#/defs/target-ConceptRelationship"
319          }
320        }
321      ]
322    },
323    "has_Concept_OF_ConceptSystem": {
324      "description": "ConceptSystem_has_Concept",
325      "$comment": "cardinality 0..-1",
326      "anyOf": [
327        {
328          "$ref": "#/defs/target-ConceptSystem"
329        },
330        {
331          "type": "array",
332          "items": {
333            "$ref": "#/defs/target-ConceptSystem"
334          }
335        }
336      ]
337    },
338    "isDefinedBy_Concept_OF_ConceptSystem": {
339      "description": "ConceptSystem_isDefinedBy_Concept",
340      "$comment": "cardinality 0..-1",
341      "anyOf": [
342        {
343          "$ref": "#/defs/target-ConceptSystem"
344        },
345        {
346          "type": "array",
347          "items": {
348            "$ref": "#/defs/target-ConceptSystem"
349          }
350        }
351      ]
352    },
353    "isDefinedBy_Concept_OF_DataStore": {
354      "description": "DataStore_isDefinedBy_Concept",
355      "$comment": "cardinality 0..-1",
356      "anyOf": [
357        {
358          "$ref": "#/defs/target-DataStore"
359        },
360        {
361          "type": "array",
362          "items": {
363            "$ref": "#/defs/target-DataStore"
364          }
365        }
366      ]
367    },
368    "isDefinedBy_Concept_OF_EnumerationDomain": {
369      "description": "EnumerationDomain_isDefinedBy_Concept",
370      "$comment": "cardinality 0..-1",
371      "anyOf": [
372        {
373          "$ref": "#/defs/target-EnumerationDomain"
374        },
375        {
376          "type": "array",
377          "items": {
378            "$ref": "#/defs/target-EnumerationDomain"
379          }
380        }
381      ]
382    },
383    "isDefinedBy_Concept_OF_Level": {
384      "description": "Level_isDefinedBy_Concept",
385      "$comment": "cardinality 0..-1",
386      "anyOf": [
387        {
388          "$ref": "#/defs/target-Level"
389        },
390        {
391          "type": "array",
392          "items": {
393            "$ref": "#/defs/target-Level"
394          }
395        }
396      ]
397    },
398    "isDefinedBy_Concept_OF_LogicalRecord": {
399      "description": "LogicalRecord_isDefinedBy_Concept",
400      "$comment": "cardinality 0..-1",
401      "anyOf": [
402        {
403          "$ref": "#/defs/target-LogicalRecord"
404        },
405        {
406          "type": "array",
407          "items": {
408            "$ref": "#/defs/target-LogicalRecord"
409          }
410        }
411      ]
412    },
413    "isDefinedBy_Concept_OF_PhysicalDataSet": {
414      "description": "PhysicalDataSet_isDefinedBy_Concept",
415      "$comment": "cardinality 0..-1",
416      "anyOf": [
417        {
418          "$ref": "#/defs/target-PhysicalDataSet"
419        },
420        {
421          "type": "array",
422          "items": {
423            "$ref": "#/defs/target-PhysicalDataSet"
424          }
425        }
426      ]
427    },
428    "isDefinedBy_Concept_OF_PhysicalRecordSegment": {
429      "description": "PhysicalRecordSegment_isDefinedBy_Concept",
430      "$comment": "cardinality 0..-1",
431      "anyOf": [
432        {
433          "$ref": "#/defs/target-PhysicalRecordSegment"
434        },
435        {
436          "type": "array",
437          "items": {
438            "$ref": "#/defs/target-PhysicalRecordSegment"
439          }
440        }
441      ]
442    },
443    "isDefinedBy_Concept_OF_PhysicalSegmentLayout": {
444      "description": "PhysicalSegmentLayout_isDefinedBy_Concept",
445      "$comment": "cardinality 0..-1",
446      "anyOf": [
447        {
448          "$ref": "#/defs/target-PhysicalSegmentLayout"
449        },
450        {
451          "type": "array",
452          "items": {
453            "$ref": "#/defs/target-PhysicalSegmentLayout"
454          }
455        }
456      ]
457    },
458    "isDefinedBy_Concept_OF_VariableCollection": {
459      "description": "VariableCollection_isDefinedBy_Concept",
460      "$comment": "cardinality 0..-1",
461      "anyOf": [
462        {
463          "$ref": "#/defs/target-VariableCollection"
464        },
465        {
466          "type": "array",
467          "items": {
468            "$ref": "#/defs/target-VariableCollection"
469          }
470        }
471      ]
472    },
473    "sameAs": {
474      "$ref": "#/defs/owl:sameAs"
475    }
476  },
477  "required": ["@type"],
478  "additionalProperties": false
479},
480"target-RepresentedVariable": {
481  "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/RepresentedVariable",
482  "anyOf": [
483    { "$ref": "#/defs/cls-RepresentedVariable" },
484    { "$ref": "#/defs/cls-InstanceVariable" },
485    { "type": "string", "format": "iri-reference" }
486  ]
487},

Fragment for the class RepresentedVariable (main ontology)

 1# class RepresentedVariable
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Conceptual::RepresentedVariable
 3cdi:RepresentedVariable
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "RepresentedVariable";
 6  rdfs:comment "Definition \n========== \nConceptual variable with a substantive value domain specified.   \n\nExamples \n========== \nThe pair (Number of Employees, Integer), where \"Number of Employees\" is the characteristic of the population (variable) and \"Integer\" is how that measure will be represented (value domain).  \n\nExplanatory notes \n=================== \nExtends from conceptual variable and can contain all descriptive fields without creating a conceptual variable. By referencing a conceptual variable it can indicate a common relationship with represented variables expressing the same characteristic of a universe measured in another way, such as Age of Persons in hours rather than years. Represented variable constrains the coverage of the unit type to a specific universe. In the above case the universe with the measurement of Age in hours may be constrained to Persons under 5 days (120 hours old). Represented variable can define sentinel values for multiple storage systems which have the same conceptual domain but specialized value domains."@en;
 7  rdfs:subClassOf cdi:ConceptualVariable;
 8.
 9
10cdi:RepresentedVariable-describedUnitOfMeasure
11  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
12  rdfs:label "describedUnitOfMeasure";
13  rdfs:comment "The unit in which the data values are measured (kg, pound, euro), expressed as a value from a controlled system of entries (i.e., QDT). Supports the provision of an identifier for the entry in the authoritative source (a URI, etc.), and the specific vocabulary."@en;
14  rdfs:domain cdi:RepresentedVariable;
15  rdfs:range cdi:ControlledVocabularyEntry;
16.
17
18cdi:RepresentedVariable-hasIntendedDataType
19  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
20  rdfs:label "hasIntendedDataType";
21  rdfs:comment "The data type intended to be used by this variable. Supports the optional use of an external controlled vocabulary."@en;
22  rdfs:domain cdi:RepresentedVariable;
23  rdfs:range cdi:ControlledVocabularyEntry;
24.
25
26cdi:RepresentedVariable-simpleUnitOfMeasure
27  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
28  rdfs:label "simpleUnitOfMeasure";
29  rdfs:comment "The unit in which the data values are measured (kg, pound, euro), expressed as a simple string, in cases where no additional information is available (in the legacy system) or needed (as in the case of broad agreement within the community of use [i.e., ISO country codes, currencies, etc. in SDMX])"@en;
30  rdfs:domain cdi:RepresentedVariable;
31  rdfs:range xsd:string;
32.
33
34
35cdi:RepresentedVariable_takesSentinelValuesFrom_SentinelValueDomain
36  a rdf:Property, owl:ObjectProperty, ucmis:Association;
37  # ASSOCIATION
38  rdfs:label "takesSentinelValuesFrom";
39  skos:altLabel "RepresentedVariable_takesSentinelValuesFrom_SentinelValueDomain";
40  rdfs:comment "A represented variable may have more than one sets of sentinel value domains, one for each type of software platform on which related instance variables might be instantiated. All of the sentinel value domains must have sentinel conceptual domains that correspond exactly. This allows codes for missing values to be explicitly matched across platforms."@en;
41  rdfs:domain cdi:RepresentedVariable;
42  rdfs:range cdi:SentinelValueDomain;
43.
44
45cdi:RepresentedVariable_takesSubstantiveValuesFrom_SubstantiveValueDomain
46  a rdf:Property, owl:ObjectProperty, ucmis:Association;
47  # ASSOCIATION
48  rdfs:label "takesSubstantiveValuesFrom_SubstantiveValueDomain";
49  skos:altLabel "RepresentedVariable_takesSubstantiveValuesFrom_SubstantiveValueDomain";
50  rdfs:comment "The substantive representation (substantive value domain) of the variable. This is equivalent to the relationship \"Measures\" in the Generic Statistical Information Model (GSIM) although GSIM makes no distinction between substantive and sentinel values."@en;
51  rdfs:domain cdi:RepresentedVariable;
52  rdfs:range cdi:SubstantiveValueDomain;
53.

Fragment for the class RepresentedVariable (entire JSON-LD)

 1{
 2  "@context": [
 3    "ConceptualVariable.jsonld",
 4    {
 5      "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
 6      "xsd": "http://www.w3.org/2001/XMLSchema#",
 7
 8      "describedUnitOfMeasure": {
 9        "@id": "cdi:RepresentedVariable-describedUnitOfMeasure",
10        "@type": "@id",
11        "@context": "ControlledVocabularyEntry.jsonld"
12      },
13      "hasIntendedDataType": {
14        "@id": "cdi:RepresentedVariable-hasIntendedDataType",
15        "@type": "@id",
16        "@context": "ControlledVocabularyEntry.jsonld"
17      },
18      "simpleUnitOfMeasure": {
19        "@id": "cdi:RepresentedVariable-simpleUnitOfMeasure",
20        "@type": "xsd:string"
21      },
22      
23      "takesSentinelValuesFrom": {
24        "@id": "cdi:RepresentedVariable_takesSentinelValuesFrom_SentinelValueDomain",
25        "@type": "@id",
26        "@context": "SentinelValueDomain.jsonld"
27      },
28      "takesSubstantiveValuesFrom_SubstantiveValueDomain": {
29        "@id": "cdi:RepresentedVariable_takesSubstantiveValuesFrom_SubstantiveValueDomain",
30        "@type": "@id",
31        "@context": "SubstantiveValueDomain.jsonld"
32      },
33      "isDefinedBy_RepresentedVariable_OF_DataStructureComponent": {
34        "@reverse": "cdi:DataStructureComponent_isDefinedBy_RepresentedVariable",
35        "@type": "@id",
36        "@context": "DataStructureComponent.jsonld"
37      },
38      " comment ": "tag:json-should-support-trailing-commas"
39    }
40  ],
41  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:49.",
42  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::Conceptual::RepresentedVariable"
43}

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

  1# class RepresentedVariable
  2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Conceptual::RepresentedVariable
  3<#RepresentedVariable> a sh:NodeShape;
  4    sh:targetClass cdi:RepresentedVariable;
  5	sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/RepresentedVariable";
  6	sh:closed true;
  7	sh:ignoredProperties ( owl:sameAs );
  8    sh:property [
  9			sh:path rdf:type;
 10			sh:in (   cdi:RepresentedVariable
 11			  cdi:InstanceVariable
 12			  cdi:DescriptorVariable
 13			  cdi:ReferenceVariable
 14			 ) ;
 15    ];
 16    # attributes
 17    sh:property <#RepresentedVariable-describedUnitOfMeasure>;
 18    sh:property <#RepresentedVariable-hasIntendedDataType>;
 19    sh:property <#RepresentedVariable-simpleUnitOfMeasure>;
 20    # associations from RepresentedVariable
 21    sh:property <#RepresentedVariable_takesSentinelValuesFrom_SentinelValueDomain>;
 22    sh:property <#RepresentedVariable_takesSubstantiveValuesFrom_SubstantiveValueDomain>;
 23    # associations to RepresentedVariable
 24    sh:property <#rev_DataStructureComponent_isDefinedBy_RepresentedVariable>;
 25
 26    # ---- superclass: ConceptualVariable
 27    # attributes
 28    sh:property <#ConceptualVariable-descriptiveText>;
 29    sh:property <#ConceptualVariable-unitOfMeasureKind>;
 30    # associations from ConceptualVariable
 31    sh:property <#ConceptualVariable_measures_UnitType>;
 32    sh:property <#ConceptualVariable_takesSentinelConceptsFrom_SentinelConceptualDomain>;
 33    sh:property <#ConceptualVariable_takesSubstantiveConceptsFrom_SubstantiveConceptualDomain>;
 34    # associations to ConceptualVariable
 35    sh:property <#rev_VariableCollection_has_ConceptualVariable>;
 36    sh:property <#rev_VariablePosition_indexes_ConceptualVariable>;
 37    sh:property <#rev_VariableRelationship_hasSource_ConceptualVariable>;
 38    sh:property <#rev_VariableRelationship_hasTarget_ConceptualVariable>;
 39
 40    # ---- superclass: Concept
 41    # attributes
 42    sh:property <#Concept-catalogDetails>;
 43    sh:property <#Concept-definition>;
 44    sh:property <#Concept-displayLabel>;
 45    sh:property <#Concept-externalDefinition>;
 46    sh:property <#Concept-identifier>;
 47    sh:property <#Concept-name>;
 48    # associations from Concept
 49    sh:property <#Concept_uses_Concept>;
 50    # associations to Concept
 51    sh:property <#rev_AgentListing_isDefinedBy_Concept>;
 52    sh:property <#rev_ClassificationFamily_isDefinedBy_Concept>;
 53    sh:property <#rev_ClassificationIndex_isDefinedBy_Concept>;
 54    sh:property <#rev_ClassificationSeries_isDefinedBy_Concept>;
 55    sh:property <#rev_Concept_uses_Concept>;
 56    sh:property <#rev_ConceptMap_hasSource_Concept>;
 57    sh:property <#rev_ConceptMap_hasTarget_Concept>;
 58    sh:property <#rev_ConceptRelationship_hasSource_Concept>;
 59    sh:property <#rev_ConceptRelationship_hasTarget_Concept>;
 60    sh:property <#rev_ConceptSystem_has_Concept>;
 61    sh:property <#rev_ConceptSystem_isDefinedBy_Concept>;
 62    sh:property <#rev_DataStore_isDefinedBy_Concept>;
 63    sh:property <#rev_EnumerationDomain_isDefinedBy_Concept>;
 64    sh:property <#rev_Level_isDefinedBy_Concept>;
 65    sh:property <#rev_LogicalRecord_isDefinedBy_Concept>;
 66    sh:property <#rev_PhysicalDataSet_isDefinedBy_Concept>;
 67    sh:property <#rev_PhysicalRecordSegment_isDefinedBy_Concept>;
 68    sh:property <#rev_PhysicalSegmentLayout_isDefinedBy_Concept>;
 69    sh:property <#rev_VariableCollection_isDefinedBy_Concept>;
 70
 71
 72
 73
 74
 75
 76
 77.
 78
 79<#RepresentedVariable-describedUnitOfMeasure> a sh:PropertyShape ;
 80    sh:path cdi:RepresentedVariable-describedUnitOfMeasure;
 81    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 82        cdi:ControlledVocabularyEntry
 83      
 84    ) ]];
 85    sh:maxCount 1;
 86.
 87<#RepresentedVariable-hasIntendedDataType> a sh:PropertyShape ;
 88    sh:path cdi:RepresentedVariable-hasIntendedDataType;
 89    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 90        cdi:ControlledVocabularyEntry
 91      
 92    ) ]];
 93    sh:maxCount 1;
 94.
 95<#RepresentedVariable-simpleUnitOfMeasure> a sh:PropertyShape ;
 96    sh:path cdi:RepresentedVariable-simpleUnitOfMeasure;
 97    sh:datatype xsd:string;
 98    sh:maxCount 1;
 99.
100
101<#RepresentedVariable_takesSentinelValuesFrom_SentinelValueDomain> a sh:PropertyShape ;
102    sh:path cdi:RepresentedVariable_takesSentinelValuesFrom_SentinelValueDomain;
103	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
104        cdi:SentinelValueDomain
105      
106    ) ]];
107.
108<#rev_RepresentedVariable_takesSentinelValuesFrom_SentinelValueDomain> a sh:PropertyShape ;
109    sh:path [ sh:inversePath cdi:RepresentedVariable_takesSentinelValuesFrom_SentinelValueDomain ];
110.
111<#RepresentedVariable_takesSubstantiveValuesFrom_SubstantiveValueDomain> a sh:PropertyShape ;
112    sh:path cdi:RepresentedVariable_takesSubstantiveValuesFrom_SubstantiveValueDomain;
113	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
114        cdi:SubstantiveValueDomain
115        cdi:DescriptorValueDomain
116      
117    ) ]];
118    sh:maxCount 1;
119.
120<#rev_RepresentedVariable_takesSubstantiveValuesFrom_SubstantiveValueDomain> a sh:PropertyShape ;
121    sh:path [ sh:inversePath cdi:RepresentedVariable_takesSubstantiveValuesFrom_SubstantiveValueDomain ];
122.

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

 1# class RepresentedVariable
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Conceptual::RepresentedVariable
 3cdi:RepresentedVariableShape CLOSED {
 4	a [cdi:RepresentedVariable];
 5	$cdi:RepresentedVariableProperties (
 6	cdi:RepresentedVariable-describedUnitOfMeasure	@cdi:ControlledVocabularyEntryShape?;
 7	cdi:RepresentedVariable-hasIntendedDataType	@cdi:ControlledVocabularyEntryShape?;
 8	cdi:RepresentedVariable-simpleUnitOfMeasure	xsd:string?;
 9	^cdi:DataStructureComponent_isDefinedBy_RepresentedVariable @cdi:DataStructureComponentShape OR @cdi:AttributeComponentShape OR @cdi:ContextualComponentShape OR @cdi:DataStructureShape OR @cdi:DimensionComponentShape OR @cdi:IdentifierComponentShape OR @cdi:MeasureComponentShape OR @cdi:SyntheticIdComponentShape OR @cdi:VariableDescriptorComponentShape OR @cdi:VariableValueComponentShape*;
10	cdi:RepresentedVariable_takesSentinelValuesFrom_SentinelValueDomain	@cdi:SentinelValueDomainShape *;
11	
12	cdi:RepresentedVariable_takesSubstantiveValuesFrom_SubstantiveValueDomain	@cdi:SubstantiveValueDomainShape OR @cdi:DescriptorValueDomainShape?;
13	
14		&cdi:ConceptualVariableProperties;
15		);
16}