DataSet#

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

Definition#

Organized collection of data based on keys.

Diagram#

Diagram

Inheritance#

Inheritance
DataDescription::DataSet

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

catalogDetails

- own class -

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

identifier

- own class -

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

Identifier

0..1

Associations#

Associations
Associations#

Direction

Association

Description

Multiplicity of DataSet

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

from

DataSet has DataPoint

1..1

- own package -

DataPoint

0..*

composite

own class

from

DataSet has Key

1..1

- own package -

Key

0..*

composite

own class

from

DataSet isStructuredBy DataStructure

0..*

- own package -

DataStructure

0..*

none

own class

to

LogicalRecord organizes DataSet

0..*

FormatDescription

LogicalRecord

0..*

none

own class

to

PhysicalDataSet correspondsTo DataSet

0..1

FormatDescription

PhysicalDataSet

0..*

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 DataSet (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-DataDescription-DataSet"
  5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet"
  6                  xmi:type="uml:Class">
  7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedComment"
  8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedComment"
  9                  xmi:type="uml:Comment">
 10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet"/>
 11      <body>Definition 
 12============ 
 13Organized collection of data based on keys.</body>
 14   </ownedComment>
 15   <name>DataSet</name>
 16   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-catalogDetails"
 17                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-catalogDetails"
 18                    xmi:type="uml:Property">
 19      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-catalogDetails-ownedComment"
 20                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-catalogDetails-ownedComment"
 21                     xmi:type="uml:Comment">
 22         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-catalogDetails"/>
 23         <body>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.</body>
 24      </ownedComment>
 25      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-catalogDetails-lowerValue"
 26                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-catalogDetails-lowerValue"
 27                   xmi:type="uml:LiteralInteger"/>
 28      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-catalogDetails-upperValue"
 29                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-catalogDetails-upperValue"
 30                   xmi:type="uml:LiteralUnlimitedNatural">
 31         <value>1</value>
 32      </upperValue>
 33      <name>catalogDetails</name>
 34      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CatalogDetails"/>
 35   </ownedAttribute>
 36   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-identifier"
 37                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-identifier"
 38                    xmi:type="uml:Property">
 39      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-identifier-ownedComment"
 40                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-identifier-ownedComment"
 41                     xmi:type="uml:Comment">
 42         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-identifier"/>
 43         <body>Identifier for objects requiring short- or long-lasting referencing and management.</body>
 44      </ownedComment>
 45      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-identifier-lowerValue"
 46                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-identifier-lowerValue"
 47                   xmi:type="uml:LiteralInteger"/>
 48      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-identifier-upperValue"
 49                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-identifier-upperValue"
 50                   xmi:type="uml:LiteralUnlimitedNatural">
 51         <value>1</value>
 52      </upperValue>
 53      <name>identifier</name>
 54      <isID>true</isID>
 55      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Identifier"/>
 56   </ownedAttribute>
 57   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_1"
 58                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_1"
 59                    xmi:type="uml:Property">
 60      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_1-lowerValue"
 61                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_1-lowerValue"
 62                   xmi:type="uml:LiteralInteger"/>
 63      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_1-upperValue"
 64                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_1-upperValue"
 65                   xmi:type="uml:LiteralUnlimitedNatural">
 66         <value>*</value>
 67      </upperValue>
 68      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet_isStructuredBy_DataStructure"/>
 69      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataStructure"/>
 70   </ownedAttribute>
 71   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_2"
 72                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_2"
 73                    xmi:type="uml:Property">
 74      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_2-lowerValue"
 75                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_2-lowerValue"
 76                   xmi:type="uml:LiteralInteger"/>
 77      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_2-upperValue"
 78                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_2-upperValue"
 79                   xmi:type="uml:LiteralUnlimitedNatural">
 80         <value>*</value>
 81      </upperValue>
 82      <aggregation>composite</aggregation>
 83      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet_has_DataPoint"/>
 84      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataPoint"/>
 85   </ownedAttribute>
 86   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_3"
 87                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_3"
 88                    xmi:type="uml:Property">
 89      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_3-lowerValue"
 90                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_3-lowerValue"
 91                   xmi:type="uml:LiteralInteger"/>
 92      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_3-upperValue"
 93                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_3-upperValue"
 94                   xmi:type="uml:LiteralUnlimitedNatural">
 95         <value>*</value>
 96      </upperValue>
 97      <aggregation>composite</aggregation>
 98      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet_has_Key"/>
 99      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Key"/>
100   </ownedAttribute>
101</packagedElement>

Fragment for the class DataSet (entire XML Schema)

  1<xs:element name="DataSet"
  2            type="DataSetXsdType"
  3            xml:id="DataSet">
  4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::DataSet -->
  5  <xs:annotation>
  6    <xs:documentation>Definition 
  7          ============ 
  8          Organized collection of data based on keys.</xs:documentation>
  9  </xs:annotation>
 10</xs:element>
 11<xs:complexType name="DataSetXsdType"
 12                xml:id="DataSetXsdType">
 13  <xs:annotation>
 14    <xs:documentation>Definition 
 15          ============ 
 16          Organized collection of data based on keys.</xs:documentation>
 17  </xs:annotation>
 18  <xs:sequence>
 19    <xs:element name="catalogDetails"
 20                type="CatalogDetailsXsdType"
 21                minOccurs="0"
 22                maxOccurs="1"
 23                xml:id="DataSet-catalogDetails">
 24      <xs:annotation>
 25        <xs:documentation>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.</xs:documentation>
 26      </xs:annotation>
 27    </xs:element>
 28    <xs:element name="identifier"
 29                type="IdentifierXsdType"
 30                minOccurs="0"
 31                maxOccurs="1"
 32                xml:id="DataSet-identifier">
 33      <xs:annotation>
 34        <xs:documentation>Identifier for objects requiring short- or long-lasting referencing and management.</xs:documentation>
 35      </xs:annotation>
 36    </xs:element>
 37    <xs:element name="DataSet_isStructuredBy_DataStructure"
 38                minOccurs="0"
 39                maxOccurs="unbounded"
 40                xml:id="DataSet_isStructuredBy_DataStructure">
 41      <xs:annotation>
 42        <xs:documentation></xs:documentation>
 43      </xs:annotation>
 44      <xs:complexType>
 45        <xs:complexContent>
 46          <xs:restriction base="AssociationReferenceXsdType">
 47            <xs:sequence>
 48              <xs:element name="ddiReference"
 49                          type="InternationalRegistrationDataIdentifierXsdType"
 50                          minOccurs="0"
 51                          maxOccurs="1"
 52                          xml:id="DataSet_isStructuredBy_DataStructure-ddiReference"/>
 53              <xs:element name="validType"
 54                          minOccurs="0"
 55                          maxOccurs="unbounded"
 56                          xml:id="DataSet_isStructuredBy_DataStructure-validType">
 57                <xs:simpleType>
 58                  <xs:restriction base="xs:NMTOKEN">
 59                    <xs:enumeration value="DataStructure"/>
 60                    <xs:enumeration value="DimensionalDataStructure"/>
 61                    <xs:enumeration value="KeyValueStructure"/>
 62                    <xs:enumeration value="LongDataStructure"/>
 63                    <xs:enumeration value="WideDataStructure"/>
 64                  </xs:restriction>
 65                </xs:simpleType>
 66              </xs:element>
 67            </xs:sequence>
 68          </xs:restriction>
 69        </xs:complexContent>
 70      </xs:complexType>
 71    </xs:element>
 72    <xs:element name="DataSet_has_DataPoint"
 73                minOccurs="0"
 74                maxOccurs="unbounded"
 75                xml:id="DataSet_has_DataPoint">
 76      <xs:annotation>
 77        <xs:documentation></xs:documentation>
 78      </xs:annotation>
 79      <xs:complexType>
 80        <xs:complexContent>
 81          <xs:restriction base="AssociationReferenceXsdType">
 82            <xs:sequence>
 83              <xs:element name="ddiReference"
 84                          type="InternationalRegistrationDataIdentifierXsdType"
 85                          minOccurs="0"
 86                          maxOccurs="1"
 87                          xml:id="DataSet_has_DataPoint-ddiReference"/>
 88              <xs:element name="validType"
 89                          minOccurs="1"
 90                          maxOccurs="1"
 91                          xml:id="DataSet_has_DataPoint-validType">
 92                <xs:simpleType>
 93                  <xs:restriction base="xs:NMTOKEN">
 94                    <xs:enumeration value="DataPoint"/>
 95                  </xs:restriction>
 96                </xs:simpleType>
 97              </xs:element>
 98            </xs:sequence>
 99          </xs:restriction>
100        </xs:complexContent>
101      </xs:complexType>
102    </xs:element>
103    <xs:element name="DataSet_has_Key"
104                minOccurs="0"
105                maxOccurs="unbounded"
106                xml:id="DataSet_has_Key">
107      <xs:annotation>
108        <xs:documentation></xs:documentation>
109      </xs:annotation>
110      <xs:complexType>
111        <xs:complexContent>
112          <xs:restriction base="AssociationReferenceXsdType">
113            <xs:sequence>
114              <xs:element name="ddiReference"
115                          type="InternationalRegistrationDataIdentifierXsdType"
116                          minOccurs="0"
117                          maxOccurs="1"
118                          xml:id="DataSet_has_Key-ddiReference"/>
119              <xs:element name="validType"
120                          minOccurs="1"
121                          maxOccurs="1"
122                          xml:id="DataSet_has_Key-validType">
123                <xs:simpleType>
124                  <xs:restriction base="xs:NMTOKEN">
125                    <xs:enumeration value="DimensionalKey"/>
126                    <xs:enumeration value="InstanceKey"/>
127                    <xs:enumeration value="Key"/>
128                    <xs:enumeration value="LongKey"/>
129                    <xs:enumeration value="WideKey"/>
130                  </xs:restriction>
131                </xs:simpleType>
132              </xs:element>
133            </xs:sequence>
134          </xs:restriction>
135        </xs:complexContent>
136      </xs:complexType>
137    </xs:element>
138  </xs:sequence>
139</xs:complexType>

Fragment for the class DataSet (entire JSON Schema)

  1"cls-DataSet": {
  2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/DataSet",
  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": "DataSet"
 14    },
 15    "catalogDetails": {
 16      "$comment": "cardinality 0..1 – from cdi:DataSet",
 17      "$ref": "#/defs/dt-CatalogDetails"
 18    },
 19    "identifier": {
 20      "$comment": "cardinality 0..1 – from cdi:DataSet",
 21      "$ref": "#/defs/dt-Identifier"
 22    },
 23    "has_DataPoint": {
 24      "description": "DataSet_has_DataPoint",
 25      "$comment": "cardinality 0..-1",
 26      "anyOf": [
 27        {
 28          "$ref": "#/defs/target-DataPoint"
 29        },
 30        {
 31          "type": "array",
 32          "items": {
 33            "$ref": "#/defs/target-DataPoint"
 34          }
 35        }
 36      ]
 37    },
 38    "has_Key": {
 39      "description": "DataSet_has_Key",
 40      "$comment": "cardinality 0..-1",
 41      "anyOf": [
 42        {
 43          "$ref": "#/defs/target-Key"
 44        },
 45        {
 46          "type": "array",
 47          "items": {
 48            "$ref": "#/defs/target-Key"
 49          }
 50        }
 51      ]
 52    },
 53    "isStructuredBy": {
 54      "description": "DataSet_isStructuredBy_DataStructure",
 55      "$comment": "cardinality 0..-1",
 56      "anyOf": [
 57        {
 58          "$ref": "#/defs/target-DataStructure"
 59        },
 60        {
 61          "type": "array",
 62          "items": {
 63            "$ref": "#/defs/target-DataStructure"
 64          }
 65        }
 66      ]
 67    },
 68    "organizes_OF_LogicalRecord": {
 69      "description": "LogicalRecord_organizes_DataSet",
 70      "$comment": "cardinality 0..-1",
 71      "anyOf": [
 72        {
 73          "$ref": "#/defs/target-LogicalRecord"
 74        },
 75        {
 76          "type": "array",
 77          "items": {
 78            "$ref": "#/defs/target-LogicalRecord"
 79          }
 80        }
 81      ]
 82    },
 83    "correspondsTo_DataSet_OF_PhysicalDataSet": {
 84      "description": "PhysicalDataSet_correspondsTo_DataSet",
 85      "$comment": "cardinality 0..-1",
 86      "anyOf": [
 87        {
 88          "$ref": "#/defs/target-PhysicalDataSet"
 89        },
 90        {
 91          "type": "array",
 92          "items": {
 93            "$ref": "#/defs/target-PhysicalDataSet"
 94          }
 95        }
 96      ]
 97    },
 98    "sameAs": {
 99      "$ref": "#/defs/owl:sameAs"
100    }
101  },
102  "required": ["@type"],
103  "additionalProperties": false
104},
105"target-DataSet": {
106  "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/DataSet",
107  "anyOf": [
108    { "$ref": "#/defs/cls-DataSet" },
109    { "$ref": "#/defs/cls-DimensionalDataSet" },
110    { "$ref": "#/defs/cls-KeyValueDataStore" },
111    { "$ref": "#/defs/cls-LongDataSet" },
112    { "$ref": "#/defs/cls-WideDataSet" },
113    { "type": "string", "format": "iri-reference" }
114  ]
115},

Fragment for the class DataSet (main ontology)

 1# class DataSet
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::DataSet
 3cdi:DataSet
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "DataSet";
 6  rdfs:comment "Definition \n============ \nOrganized collection of data based on keys."@en;
 7  
 8.
 9
10cdi:DataSet-catalogDetails
11  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
12  rdfs:label "catalogDetails";
13  rdfs:comment "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."@en;
14  rdfs:domain cdi:DataSet;
15  rdfs:range cdi:CatalogDetails;
16.
17
18cdi:DataSet-identifier
19  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
20  rdfs:label "identifier";
21  rdfs:comment "Identifier for objects requiring short- or long-lasting referencing and management."@en;
22  rdfs:domain cdi:DataSet;
23  rdfs:range cdi:Identifier;
24.
25
26
27cdi:DataSet_has_DataPoint
28  a rdf:Property, owl:ObjectProperty, ucmis:Association;
29  # ASSOCIATION
30  rdfs:label "has_DataPoint";
31  skos:altLabel "DataSet_has_DataPoint";
32  
33  rdfs:domain cdi:DataSet;
34  rdfs:range cdi:DataPoint;
35.
36
37cdi:DataSet_has_Key
38  a rdf:Property, owl:ObjectProperty, ucmis:Association;
39  # ASSOCIATION
40  rdfs:label "has_Key";
41  skos:altLabel "DataSet_has_Key";
42  
43  rdfs:domain cdi:DataSet;
44  rdfs:range cdi:Key;
45.
46
47cdi:DataSet_isStructuredBy_DataStructure
48  a rdf:Property, owl:ObjectProperty, ucmis:Association;
49  # ASSOCIATION
50  rdfs:label "isStructuredBy";
51  skos:altLabel "DataSet_isStructuredBy_DataStructure";
52  
53  rdfs:domain cdi:DataSet;
54  rdfs:range cdi:DataStructure;
55.

Fragment for the class DataSet (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      "catalogDetails": {
 8        "@id": "cdi:DataSet-catalogDetails",
 9        "@type": "@id",
10        "@context": "CatalogDetails.jsonld"
11      },
12      "identifier": {
13        "@id": "cdi:DataSet-identifier",
14        "@type": "@id",
15        "@context": "Identifier.jsonld"
16      },
17      
18      "has_DataPoint": {
19        "@id": "cdi:DataSet_has_DataPoint",
20        "@type": "@id",
21        "@context": "DataPoint.jsonld"
22      },
23      "has_Key": {
24        "@id": "cdi:DataSet_has_Key",
25        "@type": "@id",
26        "@context": "Key.jsonld"
27      },
28      "isStructuredBy": {
29        "@id": "cdi:DataSet_isStructuredBy_DataStructure",
30        "@type": "@id",
31        "@context": "DataStructure.jsonld"
32      },
33      "organizes_OF_LogicalRecord": {
34        "@reverse": "cdi:LogicalRecord_organizes_DataSet",
35        "@type": "@id",
36        "@context": "LogicalRecord.jsonld"
37      },
38      "correspondsTo_DataSet_OF_PhysicalDataSet": {
39        "@reverse": "cdi:PhysicalDataSet_correspondsTo_DataSet",
40        "@type": "@id",
41        "@context": "PhysicalDataSet.jsonld"
42      },
43      " comment ": "tag:json-should-support-trailing-commas"
44    }
45  ],
46  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:51.",
47  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::DataDescription::DataSet"
48}

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

 1# class DataSet
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::DataSet
 3<#DataSet> a sh:NodeShape;
 4    sh:targetClass cdi:DataSet;
 5	sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/DataSet";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   cdi:DataSet
11			  cdi:DimensionalDataSet
12			  cdi:KeyValueDataStore
13			  cdi:LongDataSet
14			  cdi:WideDataSet
15			 ) ;
16    ];
17    # attributes
18    sh:property <#DataSet-catalogDetails>;
19    sh:property <#DataSet-identifier>;
20    # associations from DataSet
21    sh:property <#DataSet_has_DataPoint>;
22    sh:property <#DataSet_has_Key>;
23    sh:property <#DataSet_isStructuredBy_DataStructure>;
24    # associations to DataSet
25    sh:property <#rev_LogicalRecord_organizes_DataSet>;
26    sh:property <#rev_PhysicalDataSet_correspondsTo_DataSet>;
27
28
29
30.
31
32<#DataSet-catalogDetails> a sh:PropertyShape ;
33    sh:path cdi:DataSet-catalogDetails;
34    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
35        cdi:CatalogDetails
36      
37    ) ]];
38    sh:maxCount 1;
39.
40<#DataSet-identifier> a sh:PropertyShape ;
41    sh:path cdi:DataSet-identifier;
42    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
43        cdi:Identifier
44      
45    ) ]];
46    sh:maxCount 1;
47.
48
49<#DataSet_has_DataPoint> a sh:PropertyShape ;
50    sh:path cdi:DataSet_has_DataPoint;
51	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
52        cdi:DataPoint
53      
54    ) ]];
55.
56<#rev_DataSet_has_DataPoint> a sh:PropertyShape ;
57    sh:path [ sh:inversePath cdi:DataSet_has_DataPoint ];
58    sh:minCount 1;
59    sh:maxCount 1;
60.
61<#DataSet_has_Key> a sh:PropertyShape ;
62    sh:path cdi:DataSet_has_Key;
63	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
64        cdi:Key
65        cdi:DimensionalKey
66        cdi:InstanceKey
67        cdi:LongKey
68        cdi:WideKey
69      
70    ) ]];
71.
72<#rev_DataSet_has_Key> a sh:PropertyShape ;
73    sh:path [ sh:inversePath cdi:DataSet_has_Key ];
74    sh:minCount 1;
75    sh:maxCount 1;
76.
77<#DataSet_isStructuredBy_DataStructure> a sh:PropertyShape ;
78    sh:path cdi:DataSet_isStructuredBy_DataStructure;
79	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
80        cdi:DataStructure
81        cdi:DimensionalDataStructure
82        cdi:KeyValueStructure
83        cdi:LongDataStructure
84        cdi:WideDataStructure
85      
86    ) ]];
87.
88<#rev_DataSet_isStructuredBy_DataStructure> a sh:PropertyShape ;
89    sh:path [ sh:inversePath cdi:DataSet_isStructuredBy_DataStructure ];
90.

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

 1# class DataSet
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::DataSet
 3cdi:DataSetShape CLOSED {
 4	a [cdi:DataSet];
 5	$cdi:DataSetProperties (
 6	cdi:DataSet-catalogDetails	@cdi:CatalogDetailsShape?;
 7	cdi:DataSet-identifier	@cdi:IdentifierShape?;
 8	cdi:DataSet_has_DataPoint	@cdi:DataPointShape *;
 9	
10	cdi:DataSet_has_Key	@cdi:KeyShape OR @cdi:DimensionalKeyShape OR @cdi:InstanceKeyShape OR @cdi:LongKeyShape OR @cdi:WideKeyShape*;
11	
12	cdi:DataSet_isStructuredBy_DataStructure	@cdi:DataStructureShape OR @cdi:DimensionalDataStructureShape OR @cdi:KeyValueStructureShape OR @cdi:LongDataStructureShape OR @cdi:WideDataStructureShape*;
13	
14	^cdi:LogicalRecord_organizes_DataSet @cdi:LogicalRecordShape *;
15	^cdi:PhysicalDataSet_correspondsTo_DataSet @cdi:PhysicalDataSetShape *;
16		);
17}