LanguageString¶
Fully qualified datatype name: DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::LanguageString
Definition¶
A data type which describes a string specific to a language/scope combination. It contains the following attributes: language to designate the language, isTranslated with a default value of false to designate if an object is a translation of another language, isTranslatable with a default value of true to designate if the content can be translated, translationSourceLanguage to indicate the source languages used in creating this translation, translationDate, and scope which can be used to define intended audience or use such as internal, external, etc.
Diagram
Attributes
Name |
Inherited from |
Description |
Data Type |
Multiplicity |
Default value |
---|---|---|---|---|---|
content |
- own datatype - |
The content of the string. |
String |
1..1 |
|
isTranslatable |
- own datatype - |
Indicates whether content is translatable (True) or not (False). An example of something that is not translatable would be a MNEMONIC of an object or a number. |
Boolean |
0..1 |
true |
isTranslated |
- own datatype - |
Indicates whether content is a translation (True) or an original (False). |
Boolean |
0..1 |
false |
language |
- own datatype - |
Indicates the natural language of content. |
0..1 |
||
scope |
- own datatype - |
Supports specification of scope for the contained content. Use with the language specification to filter application of content. |
String |
0..1 |
|
structureUsed |
- own datatype - |
The structure type used. Examples are HTML or restructured text. |
0..1 |
||
translationDate |
- own datatype - |
The date the content was translated. Provision of translation date allows user to verify if translation was available during data collection or other time linked activity. |
0..1 |
||
translationSourceLanguage |
- own datatype - |
Lists the natural language(s) of the source. Repeat if source is in multiple languages. |
0..* |
Usage
Type |
Package |
Classifier |
Attribute |
---|---|---|---|
DataType |
StructuredDataTypes |
languageSpecificString |
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 data type LanguageString (entire XMI model)
1<packagedElement xmlns:StandardProfile="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard"
2 xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"
3 xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
4 xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString"
5 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString"
6 xmi:type="uml:DataType">
7 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-ownedComment"
8 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-ownedComment"
9 xmi:type="uml:Comment">
10 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString"/>
11 <body>Definition
12============
13A data type which describes a string specific to a language/scope combination. It contains the following attributes: language to designate the language, isTranslated with a default value of false to designate if an object is a translation of another language, isTranslatable with a default value of true to designate if the content can be translated, translationSourceLanguage to indicate the source languages used in creating this translation, translationDate, and scope which can be used to define intended audience or use such as internal, external, etc.</body>
14 </ownedComment>
15 <name>LanguageString</name>
16 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-content"
17 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-content"
18 xmi:type="uml:Property">
19 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-content-ownedComment"
20 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-content-ownedComment"
21 xmi:type="uml:Comment">
22 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-content"/>
23 <body>The content of the string.</body>
24 </ownedComment>
25 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-content-lowerValue"
26 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-content-lowerValue"
27 xmi:type="uml:LiteralInteger">
28 <value>1</value>
29 </lowerValue>
30 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-content-upperValue"
31 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-content-upperValue"
32 xmi:type="uml:LiteralUnlimitedNatural">
33 <value>1</value>
34 </upperValue>
35 <name>content</name>
36 <type href="http://www.eclipse.org/uml2/5.0.0/UML/PrimitiveTypes.xmi#String"
37 xmi:type="uml:PrimitiveType"/>
38 </ownedAttribute>
39 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-isTranslatable"
40 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-isTranslatable"
41 xmi:type="uml:Property">
42 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-isTranslatable-ownedComment"
43 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-isTranslatable-ownedComment"
44 xmi:type="uml:Comment">
45 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-isTranslatable"/>
46 <body>Indicates whether content is translatable (True) or not (False). An example of something that is not translatable would be a MNEMONIC of an object or a number.</body>
47 </ownedComment>
48 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-isTranslatable-lowerValue"
49 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-isTranslatable-lowerValue"
50 xmi:type="uml:LiteralInteger"/>
51 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-isTranslatable-upperValue"
52 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-isTranslatable-upperValue"
53 xmi:type="uml:LiteralUnlimitedNatural">
54 <value>1</value>
55 </upperValue>
56 <name>isTranslatable</name>
57 <defaultValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-isTranslatable-defaultValue"
58 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-isTranslatable-defaultValue"
59 xmi:type="uml:LiteralBoolean">
60 <value>True</value>
61 </defaultValue>
62 <type href="http://www.eclipse.org/uml2/5.0.0/UML/PrimitiveTypes.xmi#Boolean"
63 xmi:type="uml:PrimitiveType"/>
64 </ownedAttribute>
65 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-isTranslated"
66 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-isTranslated"
67 xmi:type="uml:Property">
68 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-isTranslated-ownedComment"
69 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-isTranslated-ownedComment"
70 xmi:type="uml:Comment">
71 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-isTranslated"/>
72 <body>Indicates whether content is a translation (True) or an original (False).</body>
73 </ownedComment>
74 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-isTranslated-lowerValue"
75 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-isTranslated-lowerValue"
76 xmi:type="uml:LiteralInteger"/>
77 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-isTranslated-upperValue"
78 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-isTranslated-upperValue"
79 xmi:type="uml:LiteralUnlimitedNatural">
80 <value>1</value>
81 </upperValue>
82 <name>isTranslated</name>
83 <defaultValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-isTranslated-defaultValue"
84 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-isTranslated-defaultValue"
85 xmi:type="uml:LiteralBoolean">
86 <value>False</value>
87 </defaultValue>
88 <type href="http://www.eclipse.org/uml2/5.0.0/UML/PrimitiveTypes.xmi#Boolean"
89 xmi:type="uml:PrimitiveType"/>
90 </ownedAttribute>
91 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-language"
92 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-language"
93 xmi:type="uml:Property">
94 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-language-ownedComment"
95 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-language-ownedComment"
96 xmi:type="uml:Comment">
97 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-language"/>
98 <body>Indicates the natural language of content.</body>
99 </ownedComment>
100 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-language-lowerValue"
101 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-language-lowerValue"
102 xmi:type="uml:LiteralInteger"/>
103 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-language-upperValue"
104 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-language-upperValue"
105 xmi:type="uml:LiteralUnlimitedNatural">
106 <value>1</value>
107 </upperValue>
108 <name>language</name>
109 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-XMLSchemaDataTypes-XsdLanguage"/>
110 </ownedAttribute>
111 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-scope"
112 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-scope"
113 xmi:type="uml:Property">
114 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-scope-ownedComment"
115 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-scope-ownedComment"
116 xmi:type="uml:Comment">
117 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-scope"/>
118 <body>Supports specification of scope for the contained content. Use with the language specification to filter application of content.</body>
119 </ownedComment>
120 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-scope-lowerValue"
121 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-scope-lowerValue"
122 xmi:type="uml:LiteralInteger"/>
123 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-scope-upperValue"
124 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-scope-upperValue"
125 xmi:type="uml:LiteralUnlimitedNatural">
126 <value>1</value>
127 </upperValue>
128 <name>scope</name>
129 <type href="http://www.eclipse.org/uml2/5.0.0/UML/PrimitiveTypes.xmi#String"
130 xmi:type="uml:PrimitiveType"/>
131 </ownedAttribute>
132 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-structureUsed"
133 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-structureUsed"
134 xmi:type="uml:Property">
135 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-structureUsed-ownedComment"
136 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-structureUsed-ownedComment"
137 xmi:type="uml:Comment">
138 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-structureUsed"/>
139 <body>The structure type used. Examples are HTML or restructured text.</body>
140 </ownedComment>
141 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-structureUsed-lowerValue"
142 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-structureUsed-lowerValue"
143 xmi:type="uml:LiteralInteger"/>
144 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-structureUsed-upperValue"
145 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-structureUsed-upperValue"
146 xmi:type="uml:LiteralUnlimitedNatural">
147 <value>1</value>
148 </upperValue>
149 <name>structureUsed</name>
150 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
151 </ownedAttribute>
152 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-translationDate"
153 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-translationDate"
154 xmi:type="uml:Property">
155 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-translationDate-ownedComment"
156 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-translationDate-ownedComment"
157 xmi:type="uml:Comment">
158 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-translationDate"/>
159 <body>The date the content was translated. Provision of translation date allows user to verify if translation was available during data collection or other time linked activity.</body>
160 </ownedComment>
161 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-translationDate-lowerValue"
162 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-translationDate-lowerValue"
163 xmi:type="uml:LiteralInteger"/>
164 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-translationDate-upperValue"
165 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-translationDate-upperValue"
166 xmi:type="uml:LiteralUnlimitedNatural">
167 <value>1</value>
168 </upperValue>
169 <name>translationDate</name>
170 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-XMLSchemaDataTypes-XsdDate"/>
171 </ownedAttribute>
172 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-translationSourceLanguage"
173 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-translationSourceLanguage"
174 xmi:type="uml:Property">
175 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-translationSourceLanguage-ownedComment"
176 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-translationSourceLanguage-ownedComment"
177 xmi:type="uml:Comment">
178 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-translationSourceLanguage"/>
179 <body>Lists the natural language(s) of the source. Repeat if source is in multiple languages.</body>
180 </ownedComment>
181 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-translationSourceLanguage-lowerValue"
182 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-translationSourceLanguage-lowerValue"
183 xmi:type="uml:LiteralInteger"/>
184 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LanguageString-translationSourceLanguage-upperValue"
185 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LanguageString-translationSourceLanguage-upperValue"
186 xmi:type="uml:LiteralUnlimitedNatural">
187 <value>*</value>
188 </upperValue>
189 <name>translationSourceLanguage</name>
190 <isOrdered>true</isOrdered>
191 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-XMLSchemaDataTypes-XsdLanguage"/>
192 </ownedAttribute>
193</packagedElement>
Fragment for the data type LanguageString (entire XML Schema)
1<xs:element name="LanguageString"
2 type="LanguageStringXsdType"
3 xml:id="LanguageString">
4 <!-- based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::LanguageString -->
5 <xs:annotation>
6 <xs:documentation>Definition
7 ============
8 A data type which describes a string specific to a language/scope combination. It contains the following attributes: language to designate the language, isTranslated with a default value of false to designate if an object is a translation of another language, isTranslatable with a default value of true to designate if the content can be translated, translationSourceLanguage to indicate the source languages used in creating this translation, translationDate, and scope which can be used to define intended audience or use such as internal, external, etc.</xs:documentation>
9 </xs:annotation>
10</xs:element>
11<xs:complexType name="LanguageStringXsdType"
12 xml:id="LanguageStringXsdType">
13 <xs:annotation>
14 <xs:documentation>Definition
15 ============
16 A data type which describes a string specific to a language/scope combination. It contains the following attributes: language to designate the language, isTranslated with a default value of false to designate if an object is a translation of another language, isTranslatable with a default value of true to designate if the content can be translated, translationSourceLanguage to indicate the source languages used in creating this translation, translationDate, and scope which can be used to define intended audience or use such as internal, external, etc.</xs:documentation>
17 </xs:annotation>
18 <xs:sequence>
19 <xs:element name="content"
20 type="xs:string"
21 minOccurs="1"
22 maxOccurs="1"
23 xml:id="LanguageString-content">
24 <xs:annotation>
25 <xs:documentation>The content of the string.</xs:documentation>
26 </xs:annotation>
27 </xs:element>
28 <xs:element name="isTranslatable"
29 type="xs:boolean"
30 minOccurs="0"
31 maxOccurs="1"
32 xml:id="LanguageString-isTranslatable">
33 <xs:annotation>
34 <xs:documentation>Indicates whether content is translatable (True) or not (False). An example of something that is not translatable would be a MNEMONIC of an object or a number.</xs:documentation>
35 </xs:annotation>
36 </xs:element>
37 <xs:element name="isTranslated"
38 type="xs:boolean"
39 minOccurs="0"
40 maxOccurs="1"
41 xml:id="LanguageString-isTranslated">
42 <xs:annotation>
43 <xs:documentation>Indicates whether content is a translation (True) or an original (False).</xs:documentation>
44 </xs:annotation>
45 </xs:element>
46 <xs:element name="language"
47 type="xs:language"
48 minOccurs="0"
49 maxOccurs="1"
50 xml:id="LanguageString-language">
51 <xs:annotation>
52 <xs:documentation>Indicates the natural language of content.</xs:documentation>
53 </xs:annotation>
54 </xs:element>
55 <xs:element name="scope"
56 type="xs:string"
57 minOccurs="0"
58 maxOccurs="1"
59 xml:id="LanguageString-scope">
60 <xs:annotation>
61 <xs:documentation>Supports specification of scope for the contained content. Use with the language specification to filter application of content.</xs:documentation>
62 </xs:annotation>
63 </xs:element>
64 <xs:element name="structureUsed"
65 type="ControlledVocabularyEntryXsdType"
66 minOccurs="0"
67 maxOccurs="1"
68 xml:id="LanguageString-structureUsed">
69 <xs:annotation>
70 <xs:documentation>The structure type used. Examples are HTML or restructured text.</xs:documentation>
71 </xs:annotation>
72 </xs:element>
73 <xs:element name="translationDate"
74 type="xs:date"
75 minOccurs="0"
76 maxOccurs="1"
77 xml:id="LanguageString-translationDate">
78 <xs:annotation>
79 <xs:documentation>The date the content was translated. Provision of translation date allows user to verify if translation was available during data collection or other time linked activity.</xs:documentation>
80 </xs:annotation>
81 </xs:element>
82 <xs:element name="translationSourceLanguage"
83 type="xs:language"
84 minOccurs="0"
85 maxOccurs="unbounded"
86 xml:id="LanguageString-translationSourceLanguage">
87 <xs:annotation>
88 <xs:documentation>Lists the natural language(s) of the source. Repeat if source is in multiple languages.</xs:documentation>
89 </xs:annotation>
90 </xs:element>
91 </xs:sequence>
92</xs:complexType>
Fragment for the data type LanguageString (main ontology, entire ontology as zip)
1# datatype LanguageString
2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::LanguageString
3rdf:langString
4 a rdfs:Class, owl:Class, ucmis:StructuredDataType;
5 rdfs:label "LanguageString";
6 rdfs:comment "Definition\n============\nA data type which describes a string specific to a language/scope combination. It contains the following attributes: language to designate the language, isTranslated with a default value of false to designate if an object is a translation of another language, isTranslatable with a default value of true to designate if the content can be translated, translationSourceLanguage to indicate the source languages used in creating this translation, translationDate, and scope which can be used to define intended audience or use such as internal, external, etc."@en;
7
8 owl:hasKey (cdi:LanguageString-content cdi:LanguageString-isTranslatable cdi:LanguageString-isTranslated cdi:LanguageString-language cdi:LanguageString-scope cdi:LanguageString-structureUsed cdi:LanguageString-translationDate cdi:LanguageString-translationSourceLanguage);
9.
10
11cdi:LanguageString-content
12 a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
13 rdfs:label "content";
14 rdfs:comment "The content of the string."@en;
15 rdfs:domain rdf:langString;
16 rdfs:range xsd:string;
17.
18
19cdi:LanguageString-isTranslatable
20 a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
21 rdfs:label "isTranslatable";
22 rdfs:comment "Indicates whether content is translatable (True) or not (False). An example of something that is not translatable would be a MNEMONIC of an object or a number."@en;
23 rdfs:domain rdf:langString;
24 rdfs:range xsd:boolean;
25.
26
27cdi:LanguageString-isTranslated
28 a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
29 rdfs:label "isTranslated";
30 rdfs:comment "Indicates whether content is a translation (True) or an original (False)."@en;
31 rdfs:domain rdf:langString;
32 rdfs:range xsd:boolean;
33.
34
35cdi:LanguageString-language
36 a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
37 rdfs:label "language";
38 rdfs:comment "Indicates the natural language of content."@en;
39 rdfs:domain rdf:langString;
40 rdfs:range xsd:language;
41.
42
43cdi:LanguageString-scope
44 a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
45 rdfs:label "scope";
46 rdfs:comment "Supports specification of scope for the contained content. Use with the language specification to filter application of content."@en;
47 rdfs:domain rdf:langString;
48 rdfs:range xsd:string;
49.
50
51cdi:LanguageString-structureUsed
52 a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
53 rdfs:label "structureUsed";
54 rdfs:comment "The structure type used. Examples are HTML or restructured text."@en;
55 rdfs:domain rdf:langString;
56 rdfs:range cdi:ControlledVocabularyEntry;
57.
58
59cdi:LanguageString-translationDate
60 a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
61 rdfs:label "translationDate";
62 rdfs:comment "The date the content was translated. Provision of translation date allows user to verify if translation was available during data collection or other time linked activity."@en;
63 rdfs:domain rdf:langString;
64 rdfs:range xsd:date;
65.
66
67cdi:LanguageString-translationSourceLanguage
68 a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
69 rdfs:label "translationSourceLanguage";
70 rdfs:comment "Lists the natural language(s) of the source. Repeat if source is in multiple languages."@en;
71 rdfs:domain rdf:langString;
72 rdfs:range xsd:language;
73.
Fragment for the data type LanguageString (main JSON-LD entire JSON-LD as zip)
1{
2 "@context": [
3 {
4 "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
5 "xsd": "http://www.w3.org/2001/XMLSchema#",
6 "LanguageString": "rdf:langString",
7 "content": {
8 "@id": "cdi:LanguageString-content",
9 "@type": "xsd:string"
10 },
11 "isTranslatable": {
12 "@id": "cdi:LanguageString-isTranslatable",
13 "@type": "xsd:boolean"
14 },
15 "isTranslated": {
16 "@id": "cdi:LanguageString-isTranslated",
17 "@type": "xsd:boolean"
18 },
19 "language": {
20 "@id": "cdi:LanguageString-language",
21 "@type": "xsd:language"
22 },
23 "scope": {
24 "@id": "cdi:LanguageString-scope",
25 "@type": "xsd:string"
26 },
27 "structureUsed": {
28 "@id": "cdi:LanguageString-structureUsed",
29 "@type": "@id",
30 "@context": "ControlledVocabularyEntry.jsonld"
31 },
32 "translationDate": {
33 "@id": "cdi:LanguageString-translationDate",
34 "@type": "xsd:date"
35 },
36 "translationSourceLanguage": {
37 "@id": "cdi:LanguageString-translationSourceLanguage",
38 "@type": "xsd:language"
39 },
40
41 " comment ": "tag:json-should-support-trailing-commas"
42 }
43 ],
44 "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-03-16 23:40:14.",
45 "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::LanguageString"
46}