StatisticsCollection#
Fully qualified class name of the UML model DDI-CDI 1.1beta: DDICDIModels::DDICDILibrary::Classes::FormatDescription::StatisticsCollection
Definition#
Collection of summary and category statistics for an instance variable
Examples#
Total number of responses, the weights in calculating the statistics, variable level summary statistics, and category statistics
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
Name |
Inherited from |
Description |
Data Type |
Multiplicity |
Default value |
|---|---|---|---|---|---|
identifier |
- own class - |
Identifier for objects requiring short- or long-lasting referencing and management. |
0..1 |
Associations#
Associations
Direction |
Association |
Description |
Multiplicity of StatisticsCollection |
Package of Other Class |
Other Class |
Multiplicity of other class |
Aggregation Kind |
Inherited from |
|---|---|---|---|---|---|---|---|---|
to |
InstanceVariable isDescribedBy StatisticsCollection |
0..1 |
0..1 |
none |
own class |
|||
from |
StatisticsCollection hasWeight InstanceVariable |
0..* |
0..1 |
none |
own class |
|||
to |
Statistics has StatisticsCollection |
0..1 |
0..* |
shared |
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 StatisticsCollection (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-FormatDescription-StatisticsCollection"
5 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StatisticsCollection"
6 xmi:type="uml:Class">
7 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-StatisticsCollection-ownedComment"
8 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StatisticsCollection-ownedComment"
9 xmi:type="uml:Comment">
10 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-FormatDescription-StatisticsCollection"/>
11 <body>Definition
12============
13Collection of summary and category statistics for an instance variable
14
15Examples
16==========
17Total number of responses, the weights in calculating the statistics, variable level summary statistics, and category statistics
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.
22
23
24</body>
25 </ownedComment>
26 <name>StatisticsCollection</name>
27 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-StatisticsCollection-identifier"
28 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StatisticsCollection-identifier"
29 xmi:type="uml:Property">
30 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-StatisticsCollection-identifier-ownedComment"
31 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StatisticsCollection-identifier-ownedComment"
32 xmi:type="uml:Comment">
33 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-FormatDescription-StatisticsCollection-identifier"/>
34 <body>Identifier for objects requiring short- or long-lasting referencing and management.
35</body>
36 </ownedComment>
37 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-StatisticsCollection-identifier-lowerValue"
38 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StatisticsCollection-identifier-lowerValue"
39 xmi:type="uml:LiteralInteger"/>
40 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-StatisticsCollection-identifier-upperValue"
41 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StatisticsCollection-identifier-upperValue"
42 xmi:type="uml:LiteralUnlimitedNatural">
43 <value>1</value>
44 </upperValue>
45 <name>identifier</name>
46 <isID>true</isID>
47 <isID>true</isID>
48 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Identifier"/>
49 </ownedAttribute>
50 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-StatisticsCollection-ownedAttribute"
51 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StatisticsCollection-ownedAttribute"
52 xmi:type="uml:Property">
53 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-StatisticsCollection-ownedAttribute-lowerValue"
54 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StatisticsCollection-ownedAttribute-lowerValue"
55 xmi:type="uml:LiteralInteger"/>
56 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-StatisticsCollection-ownedAttribute-upperValue"
57 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StatisticsCollection-ownedAttribute-upperValue"
58 xmi:type="uml:LiteralUnlimitedNatural">
59 <value>1</value>
60 </upperValue>
61 <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-StatisticsCollection_hasWeight_InstanceVariable"/>
62 <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-InstanceVariable"/>
63 </ownedAttribute>
64</packagedElement>
Fragment for the class StatisticsCollection (entire XML Schema)
1<xs:element name="StatisticsCollection"
2 type="StatisticsCollectionXsdType"
3 xml:id="StatisticsCollection">
4 <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::FormatDescription::StatisticsCollection -->
5 <xs:annotation>
6 <xs:documentation>Definition
7 ============
8 Collection of summary and category statistics for an instance variable
9
10 Examples
11 ==========
12 Total number of responses, the weights in calculating the statistics, variable level summary statistics, and category statistics
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="StatisticsCollectionXsdType"
20 xml:id="StatisticsCollectionXsdType">
21 <xs:annotation>
22 <xs:documentation>Definition
23 ============
24 Collection of summary and category statistics for an instance variable
25
26 Examples
27 ==========
28 Total number of responses, the weights in calculating the statistics, variable level summary statistics, and category statistics
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="StatisticsCollection-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="StatisticsCollection_hasWeight_InstanceVariable"
45 minOccurs="0"
46 maxOccurs="1"
47 xml:id="StatisticsCollection_hasWeight_InstanceVariable">
48 <xs:annotation>
49 <xs:documentation></xs:documentation>
50 </xs:annotation>
51 <xs:complexType>
52 <xs:complexContent>
53 <xs:restriction base="AssociationReferenceXsdType">
54 <xs:sequence>
55 <xs:element name="ddiReference"
56 type="InternationalRegistrationDataIdentifierXsdType"
57 minOccurs="0"
58 maxOccurs="1"
59 xml:id="StatisticsCollection_hasWeight_InstanceVariable-ddiReference"/>
60 <xs:element name="validType"
61 minOccurs="0"
62 maxOccurs="unbounded"
63 xml:id="StatisticsCollection_hasWeight_InstanceVariable-validType">
64 <xs:simpleType>
65 <xs:restriction base="xs:NMTOKEN">
66 <xs:enumeration value="DescriptorVariable"/>
67 <xs:enumeration value="InstanceVariable"/>
68 <xs:enumeration value="ReferenceVariable"/>
69 </xs:restriction>
70 </xs:simpleType>
71 </xs:element>
72 </xs:sequence>
73 </xs:restriction>
74 </xs:complexContent>
75 </xs:complexType>
76 </xs:element>
77 </xs:sequence>
78</xs:complexType>
Fragment for the class StatisticsCollection (entire JSON Schema)
1"cls-StatisticsCollection": {
2 "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/StatisticsCollection",
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": "StatisticsCollection"
14 },
15 "identifier": {
16 "$comment": "cardinality 0..1 – from cdi:StatisticsCollection",
17 "$ref": "#/defs/dt-Identifier"
18 },
19 "hasWeight": {
20 "description": "StatisticsCollection_hasWeight_InstanceVariable",
21 "$comment": "cardinality 0..1",
22 "$ref": "#/defs/target-InstanceVariable"
23 },
24 "isDescribedBy_OF_InstanceVariable": {
25 "description": "InstanceVariable_isDescribedBy_StatisticsCollection",
26 "$comment": "cardinality 0..1",
27 "$ref": "#/defs/target-InstanceVariable"
28 },
29 "has_StatisticsCollection_OF_Statistics": {
30 "description": "Statistics_has_StatisticsCollection",
31 "$comment": "cardinality 0..-1",
32 "anyOf": [
33 {
34 "$ref": "#/defs/target-Statistics"
35 },
36 {
37 "type": "array",
38 "items": {
39 "$ref": "#/defs/target-Statistics"
40 }
41 }
42 ]
43 },
44 "sameAs": {
45 "$ref": "#/defs/owl:sameAs"
46 }
47 },
48 "required": ["@type"],
49 "additionalProperties": false
50},
51"target-StatisticsCollection": {
52 "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/StatisticsCollection",
53 "anyOf": [
54 { "$ref": "#/defs/cls-StatisticsCollection" },
55 { "type": "string", "format": "iri-reference" }
56 ]
57},
Fragment for the class StatisticsCollection (main ontology)
1# class StatisticsCollection
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::FormatDescription::StatisticsCollection
3cdi:StatisticsCollection
4 a rdfs:Class, owl:Class, ucmis:Class;
5 rdfs:label "StatisticsCollection";
6 rdfs:comment "Definition \n============ \nCollection of summary and category statistics for an instance variable\n\nExamples \n========== \nTotal number of responses, the weights in calculating the statistics, variable level summary statistics, and category statistics\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:StatisticsCollection-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:StatisticsCollection;
15 rdfs:range cdi:Identifier;
16.
17
18
19cdi:StatisticsCollection_hasWeight_InstanceVariable
20 a rdf:Property, owl:ObjectProperty, ucmis:Association;
21 # ASSOCIATION
22 rdfs:label "hasWeight";
23 skos:altLabel "StatisticsCollection_hasWeight_InstanceVariable";
24
25 rdfs:domain cdi:StatisticsCollection;
26 rdfs:range cdi:InstanceVariable;
27.
Fragment for the class StatisticsCollection (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:StatisticsCollection-identifier",
9 "@type": "@id",
10 "@context": "Identifier.jsonld"
11 },
12
13 "hasWeight": {
14 "@id": "cdi:StatisticsCollection_hasWeight_InstanceVariable",
15 "@type": "@id",
16 "@context": "InstanceVariable.jsonld"
17 },
18 "isDescribedBy_OF_InstanceVariable": {
19 "@reverse": "cdi:InstanceVariable_isDescribedBy_StatisticsCollection",
20 "@type": "@id",
21 "@context": "InstanceVariable.jsonld"
22 },
23 "has_StatisticsCollection_OF_Statistics": {
24 "@reverse": "cdi:Statistics_has_StatisticsCollection",
25 "@type": "@id",
26 "@context": "Statistics.jsonld"
27 },
28 " comment ": "tag:json-should-support-trailing-commas"
29 }
30 ],
31 "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2026-04-15 14:38:41.",
32 "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::FormatDescription::StatisticsCollection"
33}
Fragment for the class StatisticsCollection (entire SHACL - Shapes Constraint Language)
1# class StatisticsCollection
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::FormatDescription::StatisticsCollection
3<#StatisticsCollection> a sh:NodeShape;
4 sh:targetClass cdi:StatisticsCollection;
5 sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/StatisticsCollection";
6 sh:closed true;
7 sh:ignoredProperties ( owl:sameAs );
8 sh:property [
9 sh:path rdf:type;
10 sh:in ( cdi:StatisticsCollection
11 ) ;
12 ];
13 # attributes
14 sh:property <#StatisticsCollection-identifier>;
15 # associations from StatisticsCollection
16 sh:property <#StatisticsCollection_hasWeight_InstanceVariable>;
17 # associations to StatisticsCollection
18 sh:property <#rev_InstanceVariable_isDescribedBy_StatisticsCollection>;
19 sh:property <#rev_Statistics_has_StatisticsCollection>;
20
21
22
23.
24
25<#StatisticsCollection-identifier> a sh:PropertyShape ;
26 sh:path cdi:StatisticsCollection-identifier;
27 sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
28 cdi:Identifier
29
30 ) ]];
31 sh:maxCount 1;
32.
33
34<#StatisticsCollection_hasWeight_InstanceVariable> a sh:PropertyShape ;
35 sh:path cdi:StatisticsCollection_hasWeight_InstanceVariable;
36 sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
37 cdi:InstanceVariable
38 cdi:DescriptorVariable
39 cdi:ReferenceVariable
40
41 ) ]];
42 sh:maxCount 1;
43.
44<#rev_StatisticsCollection_hasWeight_InstanceVariable> a sh:PropertyShape ;
45 sh:path [ sh:inversePath cdi:StatisticsCollection_hasWeight_InstanceVariable ];
46.
Fragment for the class StatisticsCollection (entire ShEx - Shape Expressions)
1# class StatisticsCollection
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::FormatDescription::StatisticsCollection
3cdi:StatisticsCollectionShape CLOSED {
4 a [cdi:StatisticsCollection];
5 cdi:StatisticsCollection-identifier @cdi:IdentifierShape?;
6 ^cdi:InstanceVariable_isDescribedBy_StatisticsCollection @cdi:InstanceVariableShape OR @cdi:DescriptorVariableShape OR @cdi:ReferenceVariableShape?;
7 cdi:StatisticsCollection_hasWeight_InstanceVariable @cdi:InstanceVariableShape OR @cdi:DescriptorVariableShape OR @cdi:ReferenceVariableShape?;
8
9 ^cdi:Statistics_has_StatisticsCollection @cdi:StatisticsShape OR @cdi:CategoryStatisticsShape*;
10 }