CategoryStatistic#

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

Definition#

Statistics related to a specific category of an instance variable within a data set.

Examples#

The percentage of females from a demographic data set.

Explanatory notes#

Statistics at the data set are used as indicators during assessment of the appropriateness of using a some data for a particular purpose.

Diagram#

Diagram

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

identifier

- own class -

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

Identifier

0..1

statistic

- own class -

The value of the identified type of statistic for the category. May be repeated to provide unweighted or weighted values and different computation bases.

Statistic

0..*

typeOfCategoryStatistic

- own class -

Indicates the type of information about the appearance of categories within the instance variable.

ControlledVocabularyEntry

0..1

Associations#

Associations
Associations#

Direction

Association

Description

Multiplicity of CategoryStatistic

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

from

CategoryStatistic appliesTo InstanceVariable

0..*

Conceptual

InstanceVariable

1..*

none

own class

from

CategoryStatistic for Category

0..*

Conceptual

Category

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 CategoryStatistic (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-Representations-CategoryStatistic"
  5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic"
  6                  xmi:type="uml:Class">
  7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-ownedComment"
  8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-ownedComment"
  9                  xmi:type="uml:Comment">
 10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic"/>
 11      <body>Definition 
 12============ 
 13Statistics related to a specific category of an instance variable within a data set.  
 14
 15Examples 
 16========== 
 17The percentage of females from a demographic data set.   
 18
 19Explanatory notes 
 20=================== 
 21Statistics at the data set are used as indicators during assessment of the appropriateness of using a some data for a particular purpose.</body>
 22   </ownedComment>
 23   <name>CategoryStatistic</name>
 24   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-identifier"
 25                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-identifier"
 26                    xmi:type="uml:Property">
 27      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-identifier-ownedComment"
 28                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-identifier-ownedComment"
 29                     xmi:type="uml:Comment">
 30         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-identifier"/>
 31         <body>Identifier for objects requiring short- or long-lasting referencing and management.</body>
 32      </ownedComment>
 33      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-identifier-lowerValue"
 34                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-identifier-lowerValue"
 35                   xmi:type="uml:LiteralInteger"/>
 36      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-identifier-upperValue"
 37                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-identifier-upperValue"
 38                   xmi:type="uml:LiteralUnlimitedNatural">
 39         <value>1</value>
 40      </upperValue>
 41      <name>identifier</name>
 42      <isID>true</isID>
 43      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Identifier"/>
 44   </ownedAttribute>
 45   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-ownedAttribute_1"
 46                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-ownedAttribute_1"
 47                    xmi:type="uml:Property">
 48      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-ownedAttribute_1-lowerValue"
 49                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-ownedAttribute_1-lowerValue"
 50                   xmi:type="uml:LiteralInteger">
 51         <value>1</value>
 52      </lowerValue>
 53      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-ownedAttribute_1-upperValue"
 54                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-ownedAttribute_1-upperValue"
 55                   xmi:type="uml:LiteralUnlimitedNatural">
 56         <value>*</value>
 57      </upperValue>
 58      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryStatistic_appliesTo_InstanceVariable"/>
 59      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-InstanceVariable"/>
 60   </ownedAttribute>
 61   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-ownedAttribute_2"
 62                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-ownedAttribute_2"
 63                    xmi:type="uml:Property">
 64      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-ownedAttribute_2-lowerValue"
 65                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-ownedAttribute_2-lowerValue"
 66                   xmi:type="uml:LiteralInteger"/>
 67      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-ownedAttribute_2-upperValue"
 68                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-ownedAttribute_2-upperValue"
 69                   xmi:type="uml:LiteralUnlimitedNatural">
 70         <value>1</value>
 71      </upperValue>
 72      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-CategoryStatistic_for_Category"/>
 73      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-Category"/>
 74   </ownedAttribute>
 75   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-statistic"
 76                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-statistic"
 77                    xmi:type="uml:Property">
 78      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-statistic-ownedComment"
 79                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-statistic-ownedComment"
 80                     xmi:type="uml:Comment">
 81         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-statistic"/>
 82         <body>The value of the identified type of statistic for the category. May be repeated to provide unweighted or weighted values and different computation bases.</body>
 83      </ownedComment>
 84      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-statistic-lowerValue"
 85                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-statistic-lowerValue"
 86                   xmi:type="uml:LiteralInteger"/>
 87      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-statistic-upperValue"
 88                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-statistic-upperValue"
 89                   xmi:type="uml:LiteralUnlimitedNatural">
 90         <value>*</value>
 91      </upperValue>
 92      <name>statistic</name>
 93      <isOrdered>true</isOrdered>
 94      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic"/>
 95   </ownedAttribute>
 96   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-typeOfCategoryStatistic"
 97                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-typeOfCategoryStatistic"
 98                    xmi:type="uml:Property">
 99      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-typeOfCategoryStatistic-ownedComment"
100                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-typeOfCategoryStatistic-ownedComment"
101                     xmi:type="uml:Comment">
102         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-typeOfCategoryStatistic"/>
103         <body>Indicates the type of information about the appearance of categories within the instance variable.</body>
104      </ownedComment>
105      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-typeOfCategoryStatistic-lowerValue"
106                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-typeOfCategoryStatistic-lowerValue"
107                   xmi:type="uml:LiteralInteger"/>
108      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CategoryStatistic-typeOfCategoryStatistic-upperValue"
109                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CategoryStatistic-typeOfCategoryStatistic-upperValue"
110                   xmi:type="uml:LiteralUnlimitedNatural">
111         <value>1</value>
112      </upperValue>
113      <name>typeOfCategoryStatistic</name>
114      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
115   </ownedAttribute>
116</packagedElement>

Fragment for the class CategoryStatistic (entire XML Schema)

  1<xs:element name="CategoryStatistic"
  2            type="CategoryStatisticXsdType"
  3            xml:id="CategoryStatistic">
  4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::Representations::CategoryStatistic -->
  5  <xs:annotation>
  6    <xs:documentation>Definition 
  7          ============ 
  8          Statistics related to a specific category of an instance variable within a data set.  
  9          
 10          Examples 
 11          ========== 
 12          The percentage of females from a demographic data set.   
 13          
 14          Explanatory notes 
 15          =================== 
 16          Statistics at the data set are used as indicators during assessment of the appropriateness of using a some data for a particular purpose.</xs:documentation>
 17  </xs:annotation>
 18</xs:element>
 19<xs:complexType name="CategoryStatisticXsdType"
 20                xml:id="CategoryStatisticXsdType">
 21  <xs:annotation>
 22    <xs:documentation>Definition 
 23          ============ 
 24          Statistics related to a specific category of an instance variable within a data set.  
 25          
 26          Examples 
 27          ========== 
 28          The percentage of females from a demographic data set.   
 29          
 30          Explanatory notes 
 31          =================== 
 32          Statistics at the data set are used as indicators during assessment of the appropriateness of using a some data for a particular purpose.</xs:documentation>
 33  </xs:annotation>
 34  <xs:sequence>
 35    <xs:element name="identifier"
 36                type="IdentifierXsdType"
 37                minOccurs="0"
 38                maxOccurs="1"
 39                xml:id="CategoryStatistic-identifier">
 40      <xs:annotation>
 41        <xs:documentation>Identifier for objects requiring short- or long-lasting referencing and management.</xs:documentation>
 42      </xs:annotation>
 43    </xs:element>
 44    <xs:element name="statistic"
 45                type="StatisticXsdType"
 46                minOccurs="0"
 47                maxOccurs="unbounded"
 48                xml:id="CategoryStatistic-statistic">
 49      <xs:annotation>
 50        <xs:documentation>The value of the identified type of statistic for the category. May be repeated to provide unweighted or weighted values and different computation bases.</xs:documentation>
 51      </xs:annotation>
 52    </xs:element>
 53    <xs:element name="typeOfCategoryStatistic"
 54                type="ControlledVocabularyEntryXsdType"
 55                minOccurs="0"
 56                maxOccurs="1"
 57                xml:id="CategoryStatistic-typeOfCategoryStatistic">
 58      <xs:annotation>
 59        <xs:documentation>Indicates the type of information about the appearance of categories within the instance variable.</xs:documentation>
 60      </xs:annotation>
 61    </xs:element>
 62    <xs:element name="CategoryStatistic_appliesTo_InstanceVariable"
 63                minOccurs="1"
 64                maxOccurs="unbounded"
 65                xml:id="CategoryStatistic_appliesTo_InstanceVariable">
 66      <xs:annotation>
 67        <xs:documentation></xs:documentation>
 68      </xs:annotation>
 69      <xs:complexType>
 70        <xs:complexContent>
 71          <xs:restriction base="AssociationReferenceXsdType">
 72            <xs:sequence>
 73              <xs:element name="ddiReference"
 74                          type="InternationalRegistrationDataIdentifierXsdType"
 75                          minOccurs="0"
 76                          maxOccurs="1"
 77                          xml:id="CategoryStatistic_appliesTo_InstanceVariable-ddiReference"/>
 78              <xs:element name="validType"
 79                          minOccurs="0"
 80                          maxOccurs="unbounded"
 81                          xml:id="CategoryStatistic_appliesTo_InstanceVariable-validType">
 82                <xs:simpleType>
 83                  <xs:restriction base="xs:NMTOKEN">
 84                    <xs:enumeration value="DescriptorVariable"/>
 85                    <xs:enumeration value="InstanceVariable"/>
 86                    <xs:enumeration value="ReferenceVariable"/>
 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="CategoryStatistic_for_Category"
 96                minOccurs="0"
 97                maxOccurs="1"
 98                xml:id="CategoryStatistic_for_Category">
 99      <xs:annotation>
100        <xs:documentation></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="CategoryStatistic_for_Category-ddiReference"/>
111              <xs:element name="validType"
112                          minOccurs="0"
113                          maxOccurs="unbounded"
114                          xml:id="CategoryStatistic_for_Category-validType">
115                <xs:simpleType>
116                  <xs:restriction base="xs:NMTOKEN">
117                    <xs:enumeration value="Category"/>
118                  </xs:restriction>
119                </xs:simpleType>
120              </xs:element>
121            </xs:sequence>
122          </xs:restriction>
123        </xs:complexContent>
124      </xs:complexType>
125    </xs:element>
126  </xs:sequence>
127</xs:complexType>

Fragment for the class CategoryStatistic (entire JSON Schema)

 1"cls-CategoryStatistic": {
 2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/CategoryStatistic",
 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": "CategoryStatistic"
14    },
15    "identifier": {
16      "$comment": "cardinality 0..1 – from cdi:CategoryStatistic",
17      "$ref": "#/defs/dt-Identifier"
18    },
19    "statistic": {
20      "$comment": "cardinality 0..-1 – from cdi:CategoryStatistic",
21      "if": { "type": "array" },
22      "then": { "items": { "$ref": "#/defs/dt-Statistic" } },
23      "else": { "$ref": "#/defs/dt-Statistic" }
24    },
25    "typeOfCategoryStatistic": {
26      "$comment": "cardinality 0..1 – from cdi:CategoryStatistic",
27      "$ref": "#/defs/dt-ControlledVocabularyEntry"
28    },
29    "appliesTo": {
30      "description": "CategoryStatistic_appliesTo_InstanceVariable",
31      "$comment": "cardinality 1..-1",
32      "anyOf": [
33        {
34          "$ref": "#/defs/target-InstanceVariable"
35        },
36        {
37          "type": "array",
38          "items": {
39            "$ref": "#/defs/target-InstanceVariable"
40          }
41        }
42      ]
43    },
44    "for": {
45      "description": "CategoryStatistic_for_Category",
46      "$comment": "cardinality 0..1",
47       "$ref": "#/defs/target-Category"
48    },
49    
50    "sameAs": {
51      "$ref": "#/defs/owl:sameAs"
52    }
53  },
54  "required": ["appliesTo","@type"],
55  "additionalProperties": false
56},
57"target-CategoryStatistic": {
58  "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/CategoryStatistic",
59  "anyOf": [
60    { "$ref": "#/defs/cls-CategoryStatistic" },
61    { "type": "string", "format": "iri-reference" }
62  ]
63},

Fragment for the class CategoryStatistic (main ontology)

 1# class CategoryStatistic
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Representations::CategoryStatistic
 3cdi:CategoryStatistic
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "CategoryStatistic";
 6  rdfs:comment "Definition \n============ \nStatistics related to a specific category of an instance variable within a data set.  \n\nExamples \n========== \nThe percentage of females from a demographic data set.   \n\nExplanatory notes \n=================== \nStatistics at the data set are used as indicators during assessment of the appropriateness of using a some data for a particular purpose."@en;
 7  
 8.
 9
10cdi:CategoryStatistic-identifier
11  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
12  rdfs:label "identifier";
13  rdfs:comment "Identifier for objects requiring short- or long-lasting referencing and management."@en;
14  rdfs:domain cdi:CategoryStatistic;
15  rdfs:range cdi:Identifier;
16.
17
18cdi:CategoryStatistic-statistic
19  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
20  rdfs:label "statistic";
21  rdfs:comment "The value of the identified type of statistic for the category. May be repeated to provide unweighted or weighted values and different computation bases."@en;
22  rdfs:domain cdi:CategoryStatistic;
23  rdfs:range cdi:Statistic;
24.
25
26cdi:CategoryStatistic-typeOfCategoryStatistic
27  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
28  rdfs:label "typeOfCategoryStatistic";
29  rdfs:comment "Indicates the type of information about the appearance of categories within the instance variable."@en;
30  rdfs:domain cdi:CategoryStatistic;
31  rdfs:range cdi:ControlledVocabularyEntry;
32.
33
34
35cdi:CategoryStatistic_appliesTo_InstanceVariable
36  a rdf:Property, owl:ObjectProperty, ucmis:Association;
37  # ASSOCIATION
38  rdfs:label "appliesTo";
39  skos:altLabel "CategoryStatistic_appliesTo_InstanceVariable";
40  
41  rdfs:domain cdi:CategoryStatistic;
42  rdfs:range cdi:InstanceVariable;
43.
44
45cdi:CategoryStatistic_for_Category
46  a rdf:Property, owl:ObjectProperty, ucmis:Association;
47  # ASSOCIATION
48  rdfs:label "for";
49  skos:altLabel "CategoryStatistic_for_Category";
50  
51  rdfs:domain cdi:CategoryStatistic;
52  rdfs:range cdi:Category;
53.

Fragment for the class CategoryStatistic (entire JSON-LD)

 1{
 2  "@context": [
 3    {
 4      "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      "identifier": {
 8        "@id": "cdi:CategoryStatistic-identifier",
 9        "@type": "@id",
10        "@context": "Identifier.jsonld"
11      },
12      "statistic": {
13        "@id": "cdi:CategoryStatistic-statistic",
14        "@type": "@id",
15        "@context": "Statistic.jsonld"
16      },
17      "typeOfCategoryStatistic": {
18        "@id": "cdi:CategoryStatistic-typeOfCategoryStatistic",
19        "@type": "@id",
20        "@context": "ControlledVocabularyEntry.jsonld"
21      },
22      
23      "appliesTo": {
24        "@id": "cdi:CategoryStatistic_appliesTo_InstanceVariable",
25        "@type": "@id",
26        "@context": "InstanceVariable.jsonld"
27      },
28      "for": {
29        "@id": "cdi:CategoryStatistic_for_Category",
30        "@type": "@id",
31        "@context": "Category.jsonld"
32      },
33      " comment ": "tag:json-should-support-trailing-commas"
34    }
35  ],
36  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:54.",
37  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::Representations::CategoryStatistic"
38}

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

 1# class CategoryStatistic
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Representations::CategoryStatistic
 3<#CategoryStatistic> a sh:NodeShape;
 4    sh:targetClass cdi:CategoryStatistic;
 5	sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/CategoryStatistic";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   cdi:CategoryStatistic
11			 ) ;
12    ];
13    # attributes
14    sh:property <#CategoryStatistic-identifier>;
15    sh:property <#CategoryStatistic-statistic>;
16    sh:property <#CategoryStatistic-typeOfCategoryStatistic>;
17    # associations from CategoryStatistic
18    sh:property <#CategoryStatistic_appliesTo_InstanceVariable>;
19    sh:property <#CategoryStatistic_for_Category>;
20    # associations to CategoryStatistic
21
22
23
24.
25
26<#CategoryStatistic-identifier> a sh:PropertyShape ;
27    sh:path cdi:CategoryStatistic-identifier;
28    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
29        cdi:Identifier
30      
31    ) ]];
32    sh:maxCount 1;
33.
34<#CategoryStatistic-statistic> a sh:PropertyShape ;
35    sh:path cdi:CategoryStatistic-statistic;
36    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
37        cdi:Statistic
38      
39    ) ]];
40.
41<#CategoryStatistic-typeOfCategoryStatistic> a sh:PropertyShape ;
42    sh:path cdi:CategoryStatistic-typeOfCategoryStatistic;
43    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
44        cdi:ControlledVocabularyEntry
45      
46    ) ]];
47    sh:maxCount 1;
48.
49
50<#CategoryStatistic_appliesTo_InstanceVariable> a sh:PropertyShape ;
51    sh:path cdi:CategoryStatistic_appliesTo_InstanceVariable;
52	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
53        cdi:InstanceVariable
54        cdi:DescriptorVariable
55        cdi:ReferenceVariable
56      
57    ) ]];
58    sh:minCount 1;
59.
60<#rev_CategoryStatistic_appliesTo_InstanceVariable> a sh:PropertyShape ;
61    sh:path [ sh:inversePath cdi:CategoryStatistic_appliesTo_InstanceVariable ];
62.
63<#CategoryStatistic_for_Category> a sh:PropertyShape ;
64    sh:path cdi:CategoryStatistic_for_Category;
65	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
66        cdi:Category
67      
68    ) ]];
69    sh:maxCount 1;
70.
71<#rev_CategoryStatistic_for_Category> a sh:PropertyShape ;
72    sh:path [ sh:inversePath cdi:CategoryStatistic_for_Category ];
73.

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

 1# class CategoryStatistic
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Representations::CategoryStatistic
 3cdi:CategoryStatisticShape CLOSED {
 4	a [cdi:CategoryStatistic];
 5	cdi:CategoryStatistic-identifier	@cdi:IdentifierShape?;
 6	cdi:CategoryStatistic-statistic	@cdi:StatisticShape*;
 7	cdi:CategoryStatistic-typeOfCategoryStatistic	@cdi:ControlledVocabularyEntryShape?;
 8	cdi:CategoryStatistic_appliesTo_InstanceVariable	@cdi:InstanceVariableShape OR @cdi:DescriptorVariableShape OR @cdi:ReferenceVariableShape+;
 9	
10	cdi:CategoryStatistic_for_Category	@cdi:CategoryShape ?;
11	
12	}