rdf-vocab 3.1.9 → 3.1.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,8 +9,8 @@ module RDF::Vocab
9
9
  # # Ontology for Certificates and crypto stuff.
10
10
  # #
11
11
  # # Ontology for Certificates and crypto stuff. This is in development. Some other ontologies to look at: * http://www.w3.org/2000/10/swap/crypto + has cwm builtins: http://www.w3.org/2000/10/swap/doc/Trust - a bit old perhaps. It imports daml+oil - would help to be more completely specified - uses literals as subjects a little liberally, which makes this a bit difficult to work with frameworks that don't permit this * http://xmlns.com/wot/0.1/ - limited very much to PGP (though on can map PGP to X509) - a little coarse grained, mixes up the PGP certificate with the PGP public key * Todo: - add some classes and relations for DSA - should this all be in one file? Or should this be cut up a little? Say one file for the general CERT ontology, and then files for RSA, DSA, PGP, etc... Or perhaps it does not really matter? - expand more on the certification side of things - verify this by security experts - owl2 has some constructs for combined inverse functional properties. This may be useful to use in defining an RSA key which is identified by two numbers. - also create html version of the spec by using this as a template. - should comments such as this be in html?
12
- # # @see http://lists.foaf-project.org/mailman/listinfo/foaf-protocols
13
12
  # # @see http://www.w3.org/ns/auth/X509Uml.svg
13
+ # # @see http://lists.foaf-project.org/mailman/listinfo/foaf-protocols
14
14
  # # @see http://www.w3.org/ns/auth/rsa
15
15
  # class CERT < RDF::StrictVocabulary
16
16
  # # A certificate is a Document that is signed. As explained here http://www.pgpi.org/doc/pgpintro/#p16 'A digital certificate consists of three things: * A public key. * Certificate information. ('Identity' information about the user, such as name, user ID, and so on.) * One or more digital signatures.'
@@ -78,32 +78,7 @@ module RDF::Vocab
78
78
 
79
79
  # Ontology definition
80
80
  ontology :"http://www.w3.org/ns/auth/cert#",
81
- comment: %(
82
- Ontology for Certificates and crypto stuff.
83
- This is in development.
84
- Some other ontologies to look at:
85
- * http://www.w3.org/2000/10/swap/crypto
86
- + has cwm builtins: http://www.w3.org/2000/10/swap/doc/Trust
87
- - a bit old perhaps. It imports daml+oil
88
- - would help to be more completely specified
89
- - uses literals as subjects a little liberally, which makes this a
90
- bit difficult to work with frameworks that don't permit this
91
- * http://xmlns.com/wot/0.1/
92
- - limited very much to PGP \(though on can map PGP to X509\)
93
- - a little coarse grained, mixes up the PGP certificate with the PGP
94
- public key
95
- *
96
- Todo:
97
- - add some classes and relations for DSA
98
- - should this all be in one file? Or should this be cut up a little? Say one file for the general CERT ontology, and then files for RSA, DSA, PGP, etc... Or perhaps it does not really matter?
99
- - expand more on the certification side of things
100
- - verify this by security experts
101
- - owl2 has some constructs for combined inverse functional properties.
102
- This may be useful to use in defining an RSA key which is identified
103
- by two numbers.
104
- - also create html version of the spec by using this as a template.
105
- - should comments such as this be in html?
106
- ).freeze,
81
+ comment: "\n Ontology for Certificates and crypto stuff.\n This is in development. \n Some other ontologies to look at:\n * http://www.w3.org/2000/10/swap/crypto\n + has cwm builtins: http://www.w3.org/2000/10/swap/doc/Trust\n - a bit old perhaps. It imports daml+oil\n - would help to be more completely specified\n - uses literals as subjects a little liberally, which makes this a \n bit difficult to work with frameworks that don't permit this\n * http://xmlns.com/wot/0.1/\n - limited very much to PGP (though on can map PGP to X509)\n - a little coarse grained, mixes up the PGP certificate with the PGP\n public key\n *\n Todo: \n - add some classes and relations for DSA\n - should this all be in one file? Or should this be cut up a little? Say one file for the general CERT ontology, and then files for RSA, DSA, PGP, etc... Or perhaps it does not really matter?\n - expand more on the certification side of things\n - verify this by security experts\n - owl2 has some constructs for combined inverse functional properties. \n This may be useful to use in defining an RSA key which is identified\n by two numbers.\n - also create html version of the spec by using this as a template.\n - should comments such as this be in html?\n ".freeze,
107
82
  "dc:created": "2008-11-13".freeze,
108
83
  "foaf:maker": "http://bblfish.net/people/henry/card#me".freeze,
109
84
  label: "Ontology for Certificates and crypto stuff.".freeze,
@@ -113,26 +88,19 @@ module RDF::Vocab
113
88
 
114
89
  # Class definitions
115
90
  term :Certificate,
116
- comment: %(A certificate is a Document that is signed.
117
- As explained here http://www.pgpi.org/doc/pgpintro/#p16
118
- 'A digital certificate consists of three things:
119
- * A public key.
120
- * Certificate information. \('Identity' information about the
121
- user, such as name, user ID, and so on.\)
122
- * One or more digital signatures.'
123
- ).freeze,
91
+ comment: "A certificate is a Document that is signed.\n As explained here http://www.pgpi.org/doc/pgpintro/#p16\n 'A digital certificate consists of three things:\n * A public key.\n * Certificate information. ('Identity' information about the \n user, such as name, user ID, and so on.)\n * One or more digital signatures.'\n ".freeze,
124
92
  isDefinedBy: "cert:".freeze,
125
93
  label: "Certificate".freeze,
126
94
  subClassOf: "foaf:Document".freeze,
127
95
  type: "owl:Class".freeze,
128
96
  "vs:term_status": "unstable".freeze
129
97
  term :Key,
130
- comment: %(the class of keys).freeze,
98
+ comment: "the class of keys".freeze,
131
99
  isDefinedBy: "cert:".freeze,
132
100
  type: "owl:Class".freeze,
133
101
  "vs:term_status": "unstable".freeze
134
102
  term :PGPCertificate,
135
- comment: %(the class of PGP Certificates).freeze,
103
+ comment: "the class of PGP Certificates".freeze,
136
104
  equivalentClass: "wot:PubKey".freeze,
137
105
  isDefinedBy: "cert:".freeze,
138
106
  label: "PGPCertificate".freeze,
@@ -140,33 +108,27 @@ module RDF::Vocab
140
108
  type: "owl:Class".freeze,
141
109
  "vs:term_status": "unstable".freeze
142
110
  term :PrivateKey,
143
- comment: %(Private Key).freeze,
111
+ comment: "Private Key".freeze,
144
112
  isDefinedBy: "cert:".freeze,
145
113
  label: "PrivateKey".freeze,
146
114
  subClassOf: "cert:Key".freeze,
147
115
  type: "owl:Class".freeze
148
116
  term :PublicKey,
149
- comment: %(Public Key).freeze,
117
+ comment: "Public Key".freeze,
150
118
  isDefinedBy: "cert:".freeze,
151
119
  label: "PublicKey".freeze,
152
120
  subClassOf: "cert:Key".freeze,
153
121
  type: "owl:Class".freeze,
154
122
  "vs:term_status": "unstable".freeze
155
123
  term :RSAKey,
156
- comment: %(
157
- The union of the public and private components of an RSAKey.
158
- Usually those pieces are not kept together
159
- ).freeze,
124
+ comment: "\n The union of the public and private components of an RSAKey.\n Usually those pieces are not kept together\n ".freeze,
160
125
  isDefinedBy: "cert:".freeze,
161
126
  label: "RSA Key".freeze,
162
127
  subClassOf: "cert:Key".freeze,
163
128
  type: "owl:Class".freeze,
164
129
  "vs:term_status": "unstable".freeze
165
130
  term :RSAPublicKey,
166
- comment: %(
167
- The RSA public key. Padded message m are encrypted by applying the function
168
- modulus\(power\(m,exponent\),modulus\)
169
- ).freeze,
131
+ comment: "\n The RSA public key. Padded message m are encrypted by applying the function\n modulus(power(m,exponent),modulus)\n ".freeze,
170
132
  isDefinedBy: "cert:".freeze,
171
133
  label: "RSA Public Key".freeze,
172
134
  "rdfs:seeAlso": "http://en.wikipedia.org/wiki/RSA".freeze,
@@ -174,13 +136,13 @@ module RDF::Vocab
174
136
  type: "owl:Class".freeze,
175
137
  "vs:term_status": "unstable".freeze
176
138
  term :Signature,
177
- comment: %(the class of signtatures).freeze,
139
+ comment: "the class of signtatures".freeze,
178
140
  isDefinedBy: "cert:".freeze,
179
141
  label: "Signature".freeze,
180
142
  type: "owl:Class".freeze,
181
143
  "vs:term_status": "unstable".freeze
182
144
  term :X509Certificate,
183
- comment: %(the class of X509 Certificates).freeze,
145
+ comment: "the class of X509 Certificates".freeze,
184
146
  isDefinedBy: "cert:".freeze,
185
147
  label: "X509Certificate".freeze,
186
148
  "rdfs:seeAlso": "http://en.wikipedia.org/wiki/X509".freeze,
@@ -190,10 +152,7 @@ module RDF::Vocab
190
152
 
191
153
  # Property definitions
192
154
  property :exponent,
193
- comment: %(
194
- The exponent used to encrypt the message. Number chosen between
195
- 1 and the totient\(p*q\). Often named 'e' .
196
- ).freeze,
155
+ comment: "\n The exponent used to encrypt the message. Number chosen between\n 1 and the totient(p*q). Often named 'e' .\n ".freeze,
197
156
  domain: "cert:RSAPublicKey".freeze,
198
157
  isDefinedBy: "cert:".freeze,
199
158
  label: "exponent".freeze,
@@ -201,23 +160,16 @@ module RDF::Vocab
201
160
  type: "owl:DatatypeProperty".freeze,
202
161
  "vs:term_status": "unstable".freeze
203
162
  property :identity,
204
- comment: %(
205
- the identity of the public key. This is the entity that knows the private key and
206
- so can decrypt messages encrypted with the public key, or encrypt messages that can
207
- be decrypted with the public key.
208
- ).freeze,
163
+ comment: "\n the identity of the public key. This is the entity that knows the private key and \n so can decrypt messages encrypted with the public key, or encrypt messages that can \n be decrypted with the public key. \n ".freeze,
209
164
  domain: "cert:PublicKey".freeze,
210
- editorialNote: %(
211
- It turns out that this relation is unintuitive to write out and to name.
212
- One should instead use cert:key
213
- ).freeze,
165
+ editorialNote: "\n It turns out that this relation is unintuitive to write out and to name.\n One should instead use cert:key\n ".freeze,
214
166
  inverseOf: "cert:key".freeze,
215
167
  isDefinedBy: "cert:".freeze,
216
168
  label: "identity".freeze,
217
169
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze],
218
170
  "vs:term_status": "archaic".freeze
219
171
  property :key,
220
- comment: %(relates an agent to a key - most often the public key.).freeze,
172
+ comment: "relates an agent to a key - most often the public key.".freeze,
221
173
  domain: "foaf:Agent".freeze,
222
174
  inverseOf: "cert:identity".freeze,
223
175
  isDefinedBy: "cert:".freeze,
@@ -226,18 +178,7 @@ module RDF::Vocab
226
178
  type: ["owl:InverseFunctionalProperty".freeze, "owl:ObjectProperty".freeze, "rdf:Property".freeze],
227
179
  "vs:term_status": "unstable".freeze
228
180
  property :modulus,
229
- comment: %(
230
- <p>The modulus of an RSA public and private key.
231
- Or the modulus of a DSA Key.
232
- The modulus is encoded as a hex binary. The binary is the same as the one encoded in the
233
- <a href="http://www.w3.org/TR/xmldsig-core/#sec-CryptoBinary">XML DSIG CryptoBinary</a>
234
- </p>
235
- <blockquote>
236
- This specification defines the ds:CryptoBinary simple type for representing arbitrary-length integers \(e.g. "bignums"\) in XML as octet strings. The integer value is first converted to a "big endian" bitstring. The bitstring is then padded with leading zero bits so that the total number of bits == 0 mod 8 \(so that there are an integral number of octets\). If the bitstring contains entire leading octets that are zero, these are removed \(so the high-order octet is always non-zero\).
237
- </blockquote>
238
- <p>The only difference is that the octet string is then encoded using either xsd:base64Binary or xsd:hexBinary. Currently for all usages of this relation, the xsd:hexBinary datatype should be used until the SPARQL working group specifies specifies in its <a href="http://www.w3.org/TR/sparql11-entailment/#DEntRegime">D-Entailment</a> that those two types are equivalent.</p>
239
- <p>It would have been better had there been a hexInteger datatype that was standard and supported by all tools.</p>
240
- ).freeze,
181
+ comment: " \n <p>The modulus of an RSA public and private key. \n Or the modulus of a DSA Key.\n The modulus is encoded as a hex binary. The binary is the same as the one encoded in the \n <a href=\"http://www.w3.org/TR/xmldsig-core/#sec-CryptoBinary\">XML DSIG CryptoBinary</a>\n </p>\n <blockquote>\n This specification defines the ds:CryptoBinary simple type for representing arbitrary-length integers (e.g. \"bignums\") in XML as octet strings. The integer value is first converted to a \"big endian\" bitstring. The bitstring is then padded with leading zero bits so that the total number of bits == 0 mod 8 (so that there are an integral number of octets). If the bitstring contains entire leading octets that are zero, these are removed (so the high-order octet is always non-zero).\n </blockquote>\n <p>The only difference is that the octet string is then encoded using either xsd:base64Binary or xsd:hexBinary. Currently for all usages of this relation, the xsd:hexBinary datatype should be used until the SPARQL working group specifies specifies in its <a href=\"http://www.w3.org/TR/sparql11-entailment/#DEntRegime\">D-Entailment</a> that those two types are equivalent.</p>\n <p>It would have been better had there been a hexInteger datatype that was standard and supported by all tools.</p>\n ".freeze,
241
182
  domain: "cert:RSAKey".freeze,
242
183
  isDefinedBy: "cert:".freeze,
243
184
  label: "modulus".freeze,
@@ -245,12 +186,7 @@ module RDF::Vocab
245
186
  type: "owl:DatatypeProperty".freeze,
246
187
  "vs:term_status": "unstable".freeze
247
188
  property :privateExponent,
248
- comment: %(
249
- The exponent used to decrypt the message
250
- calculated as
251
- public_exponent*private_exponent = 1 modulo totient\(p*q\)
252
- The private exponent is often named 'd'
253
- ).freeze,
189
+ comment: "\n The exponent used to decrypt the message\n calculated as \n public_exponent*private_exponent = 1 modulo totient(p*q)\n The private exponent is often named 'd'\n ".freeze,
254
190
  domain: "cert:PrivateKey".freeze,
255
191
  isDefinedBy: "cert:".freeze,
256
192
  label: "private".freeze,
@@ -260,51 +196,8 @@ module RDF::Vocab
260
196
 
261
197
  # Datatype definitions
262
198
  term :hex,
263
- comment: %(<span xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:vs="http://www.w3.org/2003/06/sw-vocab-status/ns#"><p>
264
- An encoding of a positive integer \(from 0 to infinity\) as a hexadecimal string that makes it easy to read and/or fun to present on the web.</p>
265
- <p>The purpose of this way of representing hexadecimals is to enable users to copy and paste hexadecimal notations as shown by most browsers, keychains or tools such as opensso, into their rdf representation of choice. There are a wide variety of ways in which such strings can be presented. One finds the following:</p>
266
- <pre>
267
- e1 dc d5 e1 00 8f 21 5e d5 cc 7c 7e c4 9c ad 86
268
- 64 aa dc 29 f2 8d d9 56 7f 31 b6 bd 1b fd b8 ee
269
- 51 0d 3c 84 59 a2 45 d2 13 59 2a 14 82 1a 0f 6e
270
- d3 d1 4a 2d a9 4c 7e db 90 07 fc f1 8d a3 8e 38
271
- 25 21 0a 32 c1 95 31 3c ba 56 cc 17 45 87 e1 eb
272
- fd 9f 0f 82 16 67 9f 67 fa 91 e4 0d 55 4e 52 c0
273
- 66 64 2f fe 98 8f ae f8 96 21 5e ea 38 9e 5c 4f
274
- 27 e2 48 ca ca f2 90 23 ad 99 4b cc 38 32 6d bf
275
- </pre>
276
- <p>
277
- Or the same as the above, with ':' instead of spaces. We can't guarantee that these are the only ways such tools will present hexadecimals, so we are very lax.</p>
278
- <p>The letters can be uppercase or lowercase, or mixed. </p>
279
- <p>Some strings may start with initial 00's, and can be stripped in this notation as they often are. Doing this could, in complement of 2 notation turn a positive number into a negative one, if the first hexadecimal character happens to be one of the set {'8', '9', 'a', 'A', 'b', 'B', 'c', 'C', 'd', 'D', 'e', 'E', 'f', 'F'} . As we interpret this string as a hexadecimal number leading 00s are not important \(Complement of 2 notation and hexadecimal overlap for positive numbers\)</p>
280
- <p> In order to make this fun, we allow any unicode characters in the string. A parser should </p>
281
- <ol>
282
- <li>remove all non hexadecimal characters</li>
283
- <li>treat the resulting as a hexadecimal representation of a number</li>
284
- </ol>
285
- <p>
286
- This will allow people to make an ascii - better yet a UTF-8 - picture of their public key when publishing it on the web.
287
- </p>
288
- <p>
289
- Cert hex is also a datatype property because we used to write it out like this
290
- </p>
291
- <pre>
292
- [] a rsa:RSAPublicKey;
293
- rsa:public_exponent [ cert:hex "e1 dc d5 ..."]
294
- </pre>
295
- <p> The above notation is now deprecated. Now we prefer the literal format below.</p>
296
- <pre>
297
- [] a rsa:RSAPublicKey;
298
- rsa:public_exponent "e1 dc d5 ..."^^cert:hex .
299
- </pre>
300
- </span>
301
- ).freeze,
302
- editorialNote: %(<span xmlns="http://www.w3.org/1999/xhtml"><p>
303
- This relation should slowly be transited to just being a datatype.</p>
304
- <p>Being a datatype and a property is legal as explained here
305
- <a href="http://lists.w3.org/Archives/Public/semantic-web/2010Mar/0037.html">on the semantic web mailing list in March 2010</a>.
306
- But it may be somewhat confusing, especially if it goes against a pattern - still to be set - by the xsd datatypes as the follow up email makes clear. </p></span>
307
- ).freeze,
199
+ comment: "<span xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:dc=\"http://purl.org/dc/terms/\" xmlns:foaf=\"http://xmlns.com/foaf/0.1/\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:skos=\"http://www.w3.org/2004/02/skos/core#\" xmlns:vs=\"http://www.w3.org/2003/06/sw-vocab-status/ns#\"><p>\n An encoding of a positive integer (from 0 to infinity) as a hexadecimal string that makes it easy to read and/or fun to present on the web.</p>\n <p>The purpose of this way of representing hexadecimals is to enable users to copy and paste hexadecimal notations as shown by most browsers, keychains or tools such as opensso, into their rdf representation of choice. There are a wide variety of ways in which such strings can be presented. One finds the following:</p>\n<pre>\n e1 dc d5 e1 00 8f 21 5e d5 cc 7c 7e c4 9c ad 86 \n 64 aa dc 29 f2 8d d9 56 7f 31 b6 bd 1b fd b8 ee \n 51 0d 3c 84 59 a2 45 d2 13 59 2a 14 82 1a 0f 6e \n d3 d1 4a 2d a9 4c 7e db 90 07 fc f1 8d a3 8e 38 \n 25 21 0a 32 c1 95 31 3c ba 56 cc 17 45 87 e1 eb \n fd 9f 0f 82 16 67 9f 67 fa 91 e4 0d 55 4e 52 c0 \n 66 64 2f fe 98 8f ae f8 96 21 5e ea 38 9e 5c 4f \n 27 e2 48 ca ca f2 90 23 ad 99 4b cc 38 32 6d bf \n</pre>\n<p>\n Or the same as the above, with ':' instead of spaces. We can't guarantee that these are the only ways such tools will present hexadecimals, so we are very lax.</p>\n <p>The letters can be uppercase or lowercase, or mixed. </p>\n <p>Some strings may start with initial 00's, and can be stripped in this notation as they often are. Doing this could, in complement of 2 notation turn a positive number into a negative one, if the first hexadecimal character happens to be one of the set {'8', '9', 'a', 'A', 'b', 'B', 'c', 'C', 'd', 'D', 'e', 'E', 'f', 'F'} . As we interpret this string as a hexadecimal number leading 00s are not important (Complement of 2 notation and hexadecimal overlap for positive numbers)</p>\n<p> In order to make this fun, we allow any unicode characters in the string. A parser should </p>\n <ol>\n<li>remove all non hexadecimal characters</li>\n<li>treat the resulting as a hexadecimal representation of a number</li>\n</ol>\n<p>\n This will allow people to make an ascii - better yet a UTF-8 - picture of their public key when publishing it on the web.\n</p>\n<p>\n Cert hex is also a datatype property because we used to write it out like this\n</p>\n <pre>\n [] a rsa:RSAPublicKey;\n rsa:public_exponent [ cert:hex \"e1 dc d5 ...\"] \n </pre> \n<p> The above notation is now deprecated. Now we prefer the literal format below.</p>\n <pre>\n [] a rsa:RSAPublicKey;\n rsa:public_exponent \"e1 dc d5 ...\"^^cert:hex .\n </pre> \n </span>\n ".freeze,
200
+ editorialNote: "<span xmlns=\"http://www.w3.org/1999/xhtml\"><p> \n This relation should slowly be transited to just being a datatype.</p>\n <p>Being a datatype and a property is legal as explained here\n <a href=\"http://lists.w3.org/Archives/Public/semantic-web/2010Mar/0037.html\">on the semantic web mailing list in March 2010</a>. \n But it may be somewhat confusing, especially if it goes against a pattern - still to be set - by the xsd datatypes as the follow up email makes clear. </p></span>\n ".freeze,
308
201
  equivalentClass: "xsd:nonNegativeInteger".freeze,
309
202
  isDefinedBy: "cert:".freeze,
310
203
  label: "hexadecimal".freeze,
@@ -89,7 +89,7 @@ module RDF::Vocab
89
89
 
90
90
  # Ontology definition
91
91
  ontology :"http://www.w3.org/2011/content#",
92
- comment: %(Representing Content in RDF as defined by http://www.w3.org/TR/Content-in-RDF/).freeze,
92
+ comment: "Representing Content in RDF as defined by http://www.w3.org/TR/Content-in-RDF/".freeze,
93
93
  isDefinedBy: "http://www.w3.org/TR/Content-in-RDF/".freeze,
94
94
  label: "Representing Content in RDF".freeze,
95
95
  "owl:imports": "dc:".freeze,
@@ -99,104 +99,104 @@ module RDF::Vocab
99
99
 
100
100
  # Class definitions
101
101
  term :Content,
102
- comment: %(The content.).freeze,
102
+ comment: "The content.".freeze,
103
103
  label: "Content".freeze,
104
104
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
105
105
  term :ContentAsBase64,
106
- comment: %(The base64 encoded content \(can be used for binary content\).).freeze,
106
+ comment: "The base64 encoded content (can be used for binary content).".freeze,
107
107
  label: "Base64 content".freeze,
108
108
  subClassOf: "cnt:Content".freeze,
109
109
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
110
110
  term :ContentAsText,
111
- comment: %(The text content \(can be used for text content\).).freeze,
111
+ comment: "The text content (can be used for text content).".freeze,
112
112
  label: "Text content".freeze,
113
113
  subClassOf: "cnt:Content".freeze,
114
114
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
115
115
  term :ContentAsXML,
116
- comment: %(The XML content \(can only be used for XML-wellformed content\).).freeze,
116
+ comment: "The XML content (can only be used for XML-wellformed content).".freeze,
117
117
  label: "XML content".freeze,
118
118
  subClassOf: "cnt:Content".freeze,
119
119
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
120
120
  term :DoctypeDecl,
121
- comment: %(The document type declaration.).freeze,
121
+ comment: "The document type declaration.".freeze,
122
122
  label: "Document type declaration".freeze,
123
123
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
124
124
 
125
125
  # Property definitions
126
126
  property :bytes,
127
- comment: %(The Base64 encoded byte sequence of the content.).freeze,
127
+ comment: "The Base64 encoded byte sequence of the content.".freeze,
128
128
  domain: "cnt:ContentAsBase64".freeze,
129
129
  label: "Base64 encoded byte sequence".freeze,
130
130
  range: "xsd:base64Binary".freeze,
131
131
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
132
132
  property :characterEncoding,
133
- comment: %(The character encoding used to create a character sequence from a byte sequence or vice versa.).freeze,
133
+ comment: "The character encoding used to create a character sequence from a byte sequence or vice versa.".freeze,
134
134
  domain: "cnt:Content".freeze,
135
135
  label: "Character encoding".freeze,
136
136
  range: "rdfs:Literal".freeze,
137
137
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
138
138
  property :chars,
139
- comment: %(The character sequence of the text content.).freeze,
139
+ comment: "The character sequence of the text content.".freeze,
140
140
  domain: "cnt:ContentAsText".freeze,
141
141
  label: "Character sequence".freeze,
142
142
  range: "rdfs:Literal".freeze,
143
143
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
144
144
  property :declaredEncoding,
145
- comment: %(The character encoding declared in the XML declaration.).freeze,
145
+ comment: "The character encoding declared in the XML declaration.".freeze,
146
146
  domain: "cnt:ContentAsXML".freeze,
147
147
  label: "XML character encoding".freeze,
148
148
  range: "rdfs:Literal".freeze,
149
149
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
150
150
  property :doctypeName,
151
- comment: %(The document type name.).freeze,
151
+ comment: "The document type name.".freeze,
152
152
  domain: "cnt:DoctypeDecl".freeze,
153
153
  label: "Document type name".freeze,
154
154
  range: "rdfs:Literal".freeze,
155
155
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
156
156
  property :dtDecl,
157
- comment: %(The document type declaration.).freeze,
157
+ comment: "The document type declaration.".freeze,
158
158
  domain: "cnt:ContentAsXML".freeze,
159
159
  label: "Document type declaration".freeze,
160
160
  range: "cnt:DoctypeDecl".freeze,
161
161
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
162
162
  property :internalSubset,
163
- comment: %(The internal document type definition subset within the document type declarations.).freeze,
163
+ comment: "The internal document type definition subset within the document type declarations.".freeze,
164
164
  domain: "cnt:DoctypeDecl".freeze,
165
165
  label: "Internal DTD subset".freeze,
166
166
  range: "rdfs:Literal".freeze,
167
167
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
168
168
  property :leadingMisc,
169
- comment: %(The XML content preceding the document type declaration.).freeze,
169
+ comment: "The XML content preceding the document type declaration.".freeze,
170
170
  domain: "cnt:ContentAsXML".freeze,
171
171
  label: "XML leading misc".freeze,
172
172
  range: "rdf:XMLLiteral".freeze,
173
173
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
174
174
  property :publicId,
175
- comment: %(The document type declarations's public identifier.).freeze,
175
+ comment: "The document type declarations's public identifier.".freeze,
176
176
  domain: "cnt:DoctypeDecl".freeze,
177
177
  label: "Public ID".freeze,
178
178
  range: "rdfs:Literal".freeze,
179
179
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
180
180
  property :rest,
181
- comment: %(The XML content following the document type declaration.).freeze,
181
+ comment: "The XML content following the document type declaration.".freeze,
182
182
  domain: "cnt:ContentAsXML".freeze,
183
183
  label: "XML rest".freeze,
184
184
  range: "rdf:XMLLiteral".freeze,
185
185
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
186
186
  property :standalone,
187
- comment: %(The standalone declaration in the XML declaration.).freeze,
187
+ comment: "The standalone declaration in the XML declaration.".freeze,
188
188
  domain: "cnt:ContentAsXML".freeze,
189
189
  label: "XML standalone document declaration".freeze,
190
190
  range: "rdfs:Literal".freeze,
191
191
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
192
192
  property :systemId,
193
- comment: %(The document type declarations's system identifier \(typed: xsd:anyURI\)).freeze,
193
+ comment: "The document type declarations's system identifier (typed: xsd:anyURI)".freeze,
194
194
  domain: "cnt:DoctypeDecl".freeze,
195
195
  label: "System ID".freeze,
196
196
  range: "xsd:anyURI".freeze,
197
197
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
198
198
  property :version,
199
- comment: %(The XML version declared in the XML declaration.).freeze,
199
+ comment: "The XML version declared in the XML declaration.".freeze,
200
200
  domain: "cnt:ContentAsXML".freeze,
201
201
  label: "XML version".freeze,
202
202
  range: "rdfs:Literal".freeze,
@@ -10474,12 +10474,7 @@ module RDF::Vocab
10474
10474
  # Ontology definition
10475
10475
  ontology :"http://dbpedia.org/ontology/",
10476
10476
  "cc:license": ["http://creativecommons.org/licenses/by-sa/3.0/".freeze, "http://www.gnu.org/copyleft/fdl.html".freeze],
10477
- comment: %(
10478
- This ontology is generated from the manually created specifications in the DBpedia Mappings
10479
- Wiki. Each release of this ontology corresponds to a new release of the DBpedia data set which
10480
- contains instance data extracted from the different language versions of Wikipedia. For
10481
- information regarding changes in this ontology, please refer to the DBpedia Mappings Wiki.
10482
- ).freeze,
10477
+ comment: "\n This ontology is generated from the manually created specifications in the DBpedia Mappings\n Wiki. Each release of this ontology corresponds to a new release of the DBpedia data set which\n contains instance data extracted from the different language versions of Wikipedia. For\n information regarding changes in this ontology, please refer to the DBpedia Mappings Wiki.\n ".freeze,
10483
10478
  "dc:creator": "DBpedia Maintainers and Contributors".freeze,
10484
10479
  "dc:description": "\n The DBpedia ontology provides the classes and properties used in the DBpedia data set.\n ".freeze,
10485
10480
  "dc:issued": "2008-11-17T12:00Z".freeze,
@@ -9,8 +9,8 @@ module RDF::Vocab
9
9
  # # The data catalog vocabulary
10
10
  # #
11
11
  # # DCAT is an RDF vocabulary designed to facilitate interoperability between data catalogs published on the Web. By using DCAT to describe datasets in data catalogs, publishers increase discoverability and enable applications easily to consume metadata from multiple catalogs. It further enables decentralized publishing of catalogs and facilitates federated dataset search across sites. Aggregated DCAT metadata can serve as a manifest file to facilitate digital preservation. DCAT is defined at http://www.w3.org/TR/vocab-dcat/. Any variance between that normative document and this schema is an error in this schema.
12
- # # @version Questa è una copia aggiornata del vocabolario DCAT v2.0 disponibile in https://www.w3.org/ns/dcat.ttl
13
12
  # # @version This is an updated copy of v2.0 of the DCAT vocabulary, taken from https://www.w3.org/ns/dcat.ttl
13
+ # # @version Questa è una copia aggiornata del vocabolario DCAT v2.0 disponibile in https://www.w3.org/ns/dcat.ttl
14
14
  # class DCAT < RDF::StrictVocabulary
15
15
  # # A curated collection of metadata about resources (e.g., datasets and data services in the context of a data catalog).
16
16
  # # @return [RDF::Vocabulary::Term]
@@ -24,7 +24,7 @@ module RDF::Vocab
24
24
  # # @return [RDF::Vocabulary::Term]
25
25
  # attr_reader :DataService
26
26
  #
27
- # # A collection of data, published or curated by a single source, and available for access or download in one or more represenations.
27
+ # # A collection of data, published or curated by a single source, and available for access or download in one or more representations.
28
28
  # # @return [RDF::Vocabulary::Term]
29
29
  # attr_reader :Dataset
30
30
  #
@@ -133,9 +133,9 @@ module RDF::Vocab
133
133
  # # @return [RDF::Vocabulary::Term]
134
134
  # attr_reader :service
135
135
  #
136
- # # minimum spatial separation resolvable in a dataset, measured in meters.
137
- # #
138
136
  # # minimum spatial separation resolvable in a dataset, measured in metres.
137
+ # #
138
+ # # minimum spatial separation resolvable in a dataset, measured in meters.
139
139
  # # @return [RDF::Vocabulary::Term]
140
140
  # attr_reader :spatialResolutionInMeters
141
141
  #
@@ -238,7 +238,7 @@ module RDF::Vocab
238
238
  "foaf:name": "John Erickson".freeze
239
239
  )],
240
240
  "dc:license": "https://creativecommons.org/licenses/by/4.0/".freeze,
241
- "dc:modified": ["2012-04-24".freeze, "2013-09-20".freeze, "2013-11-28".freeze, "2017-12-19".freeze, "2019".freeze],
241
+ "dc:modified": ["2012-04-24".freeze, "2013-09-20".freeze, "2013-11-28".freeze, "2017-12-19".freeze, "2019".freeze, "2020-11-30".freeze],
242
242
  editorialNote: "English language definitions updated in this revision in line with ED. Multilingual text unevenly updated.".freeze,
243
243
  "foaf:maker": term(
244
244
  "foaf:homepage": "http://www.w3.org/2011/gld/".freeze,
@@ -293,12 +293,13 @@ module RDF::Vocab
293
293
  )],
294
294
  type: "owl:Class".freeze
295
295
  term :Dataset,
296
- comment: "A collection of data, published or curated by a single source, and available for access or download in one or more represenations.".freeze,
296
+ comment: "A collection of data, published or curated by a single source, and available for access or download in one or more representations.".freeze,
297
297
  definition: "A collection of data, published or curated by a single source, and available for access or download in one or more represenations.".freeze,
298
+ editorialNote: "2020-03-16 A new scopenote added and need to be translated".freeze,
298
299
  isDefinedBy: "http://www.w3.org/TR/vocab-dcat/".freeze,
299
300
  label: "Dataset".freeze,
300
301
  "skos:changeNote": "2018-02 - subclass of dctype:Dataset removed because scope of dcat:Dataset includes several other types from the dctype vocabulary.".freeze,
301
- "skos:scopeNote": ["This class describes the conceptual dataset. One or more representations might be available, with differing schematic layouts and formats or serializations.".freeze, "This class represents the actual dataset as published by the dataset provider. In cases where a distinction between the actual dataset and its entry in the catalog is necessary (because metadata such as modification date and maintainer might differ), the catalog record class can be used for the latter.".freeze],
302
+ "skos:scopeNote": ["The notion of dataset in DCAT is broad and inclusive, with the intention of accommodating resource types arising from all communities. Data comes in many forms including numbers, text, pixels, imagery, sound and other multi-media, and potentially other types, any of which might be collected into a dataset.".freeze, "This class describes the conceptual dataset. One or more representations might be available, with differing schematic layouts and formats or serializations.".freeze, "This class represents the actual dataset as published by the dataset provider. In cases where a distinction between the actual dataset and its entry in the catalog is necessary (because metadata such as modification date and maintainer might differ), the catalog record class can be used for the latter.".freeze],
302
303
  subClassOf: "dcat:Resource".freeze,
303
304
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
304
305
  term :Distribution,
@@ -333,7 +334,7 @@ module RDF::Vocab
333
334
  editorialNote: "Introduced into DCAT to complement prov:Role (whose use is limited to roles in the context of an activity, as the range of prov:hadRole).".freeze,
334
335
  label: "Role".freeze,
335
336
  "rdfs:seeAlso": "dcat:hadRole".freeze,
336
- "skos:changeNote": "New class added in DCAT 2.0.".freeze,
337
+ "skos:changeNote": ["New class added in DCAT 2.0.".freeze, "Ny klasse tilføjet i DCAT 2.0.".freeze],
337
338
  "skos:scopeNote": ["Used in a qualified-attribution to specify the role of an Agent with respect to an Entity. It is recommended that the values be managed as a controlled vocabulary of agent roles, such as http://registry.it.csiro.au/def/isotc211/CI_RoleCode.".freeze, "Used in a qualified-relation to specify the role of an Entity with respect to another Entity. It is recommended that the values be managed as a controlled vocabulary of entity roles such as: ISO 19115 DS_AssociationTypeCode http://registry.it.csiro.au/def/isotc211/DS_AssociationTypeCode; IANA Registry of Link Relations https://www.iana.org/assignments/link-relation; DataCite metadata schema; MARC relators https://id.loc.gov/vocabulary/relators.".freeze],
338
339
  subClassOf: "skos:Concept".freeze,
339
340
  type: "owl:Class".freeze
@@ -363,7 +364,7 @@ module RDF::Vocab
363
364
  label: "bounding box".freeze,
364
365
  range: "rdfs:Literal".freeze,
365
366
  "skos:changeNote": "New property added in DCAT 2.0.".freeze,
366
- "skos:scopeNote": "The range of this property is intentionally generic, with the purpose of allowing different geometry encodings. E.g., the geometry could be encoded with as WKT (geosparql:asWKT [GeoSPARQL]) or [GML] (geosparql:asGML [GeoSPARQL]).".freeze,
367
+ "skos:scopeNote": "The range of this property is intentionally generic, with the purpose of allowing different geometry encodings. E.g., the geometry could be encoded with as WKT (geosparql:wktLiteral [GeoSPARQL]) or [GML] (geosparql:asGML [GeoSPARQL]).".freeze,
367
368
  type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
368
369
  property :byteSize,
369
370
  comment: "The size of a distribution in bytes.".freeze,
@@ -389,7 +390,7 @@ module RDF::Vocab
389
390
  label: "centroid".freeze,
390
391
  range: "rdfs:Literal".freeze,
391
392
  "skos:changeNote": "New property added in DCAT 2.0.".freeze,
392
- "skos:scopeNote": "The range of this property is intentionally generic, with the purpose of allowing different geometry encodings. E.g., the geometry could be encoded with as WKT (geosparql:asWKT [GeoSPARQL]) or [GML] (geosparql:asGML [GeoSPARQL]).".freeze,
393
+ "skos:scopeNote": "The range of this property is intentionally generic, with the purpose of allowing different geometry encodings. E.g., the geometry could be encoded with as WKT (geosparql:wktLiteral [GeoSPARQL]) or [GML] (geosparql:asGML [GeoSPARQL]).".freeze,
393
394
  type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
394
395
  property :compressFormat,
395
396
  comment: "The compression format of the distribution in which the data is contained in a compressed form, e.g. to reduce the size of the downloadable file.".freeze,
@@ -454,7 +455,7 @@ module RDF::Vocab
454
455
  domain: "dcat:DataService".freeze,
455
456
  label: "description of service end-point".freeze,
456
457
  "skos:changeNote": ["New property in DCAT 2.0.".freeze, "Nueva propiedad agregada en DCAT 2.0.".freeze],
457
- "skos:scopeNote": ["An endpoint description may be expressed in a machine-readable form, such as an OpenAPI (Swagger) description, an OGC GetCapabilities response, a SPARQL Service Description, an OpenSearch or WSDL document, a Hydra API description, else in text or some other informal mode if a formal representation is not possible.".freeze, "The endpoint decription gives specific details of the actual endpoint instance, while dct:conformsTo is used to indicate the general standard or specification that the endpoint implements.".freeze],
458
+ "skos:scopeNote": ["An endpoint description may be expressed in a machine-readable form, such as an OpenAPI (Swagger) description, an OGC GetCapabilities response, a SPARQL Service Description, an OpenSearch or WSDL document, a Hydra API description, else in text or some other informal mode if a formal representation is not possible.".freeze, "The endpoint description gives specific details of the actual endpoint instance, while dct:conformsTo is used to indicate the general standard or specification that the endpoint implements.".freeze],
458
459
  type: "owl:ObjectProperty".freeze
459
460
  property :endpointURL,
460
461
  comment: "The root location or primary endpoint of the service (a web-resolvable IRI).".freeze,