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.
- checksums.yaml +4 -4
- data/README.md +6 -1
- data/VERSION +1 -1
- data/lib/rdf/vocab.rb +6 -5
- data/lib/rdf/vocab/bf2.rb +14 -14
- data/lib/rdf/vocab/bibframe.rb +3456 -1706
- data/lib/rdf/vocab/cert.rb +19 -126
- data/lib/rdf/vocab/cnt.rb +19 -19
- data/lib/rdf/vocab/dbo.rb +1 -6
- data/lib/rdf/vocab/dcat.rb +12 -11
- data/lib/rdf/vocab/doap.rb +53 -55
- data/lib/rdf/vocab/earl.rb +2 -2
- data/lib/rdf/vocab/ebucore.rb +295 -295
- data/lib/rdf/vocab/exif.rb +161 -162
- data/lib/rdf/vocab/gs1.rb +956 -956
- data/lib/rdf/vocab/ical.rb +39 -39
- data/lib/rdf/vocab/ldp.rb +33 -33
- data/lib/rdf/vocab/mods.rb +2 -2
- data/lib/rdf/vocab/og.rb +38 -38
- data/lib/rdf/vocab/premis.rb +201 -201
- data/lib/rdf/vocab/prov.rb +14 -14
- data/lib/rdf/vocab/rdau.rb +10511 -0
- data/lib/rdf/vocab/rsa.rb +7 -26
- data/lib/rdf/vocab/skos.rb +4 -4
- data/lib/rdf/vocab/skosxl.rb +2 -2
- data/lib/rdf/vocab/xkos.rb +4 -4
- data/spec/spec_helper.rb +13 -0
- metadata +37 -10
data/lib/rdf/vocab/rsa.rb
CHANGED
@@ -40,7 +40,7 @@ module RDF::Vocab
|
|
40
40
|
|
41
41
|
# Ontology definition
|
42
42
|
ontology :"http://www.w3.org/ns/auth/rsa#",
|
43
|
-
comment:
|
43
|
+
comment: "ontology for the RSA public private keys ".freeze,
|
44
44
|
"dc:contributor": term(
|
45
45
|
"foaf:homepage": "http://ii.uwb.edu.pl/~dtomaszuk/card".freeze
|
46
46
|
),
|
@@ -52,28 +52,20 @@ module RDF::Vocab
|
|
52
52
|
|
53
53
|
# Class definitions
|
54
54
|
term :RSAKey,
|
55
|
-
comment:
|
56
|
-
The union of the public and private components of an RSAKey.
|
57
|
-
Usually those pieces are not kept together
|
58
|
-
).freeze,
|
55
|
+
comment: "\n The union of the public and private components of an RSAKey.\n Usually those pieces are not kept together\n ".freeze,
|
59
56
|
label: "RSA Key".freeze,
|
60
57
|
subClassOf: "cert:Key".freeze,
|
61
58
|
type: "owl:Class".freeze,
|
62
59
|
"vs:term_status": "unstable".freeze
|
63
60
|
term :RSAPrivateKey,
|
64
|
-
comment:
|
65
|
-
A Private Key in the RSA framework
|
66
|
-
).freeze,
|
61
|
+
comment: "\n A Private Key in the RSA framework \n ".freeze,
|
67
62
|
label: "RSA Private Key".freeze,
|
68
63
|
"rdfs:seeAlso": "http://en.wikipedia.org/wiki/RSA".freeze,
|
69
64
|
subClassOf: ["cert:PrivateKey".freeze, "rsa:RSAKey".freeze],
|
70
65
|
type: "owl:Class".freeze,
|
71
66
|
"vs:term_status": "unstable".freeze
|
72
67
|
term :RSAPublicKey,
|
73
|
-
comment:
|
74
|
-
The RSA public key. Padded message m are encrypted by applying the function
|
75
|
-
modulus\(power\(m,exponent\),modulus\)
|
76
|
-
).freeze,
|
68
|
+
comment: "\n The RSA public key. Padded message m are encrypted by applying the function\n modulus(power(m,exponent),modulus)\n ".freeze,
|
77
69
|
label: "RSA Public Key".freeze,
|
78
70
|
"rdfs:seeAlso": "http://en.wikipedia.org/wiki/RSA".freeze,
|
79
71
|
subClassOf: ["cert:PublicKey".freeze, "rsa:RSAKey".freeze],
|
@@ -82,32 +74,21 @@ module RDF::Vocab
|
|
82
74
|
|
83
75
|
# Property definitions
|
84
76
|
property :modulus,
|
85
|
-
comment:
|
86
|
-
The modulus of an RSA public and private key.
|
87
|
-
This is defined as n = p*q
|
88
|
-
).freeze,
|
77
|
+
comment: " \n The modulus of an RSA public and private key. \n This is defined as n = p*q\n ".freeze,
|
89
78
|
domain: "rsa:RSAKey".freeze,
|
90
79
|
label: "modulus".freeze,
|
91
80
|
range: ["xsd:base64Binary".freeze, "xsd:hexBinary".freeze],
|
92
81
|
type: "owl:DatatypeProperty".freeze,
|
93
82
|
"vs:term_status": "unstable".freeze
|
94
83
|
property :private_exponent,
|
95
|
-
comment:
|
96
|
-
The exponent used to decrypt the message
|
97
|
-
calculated as
|
98
|
-
public_exponent*private_exponent = 1 modulo totient\(p*q\)
|
99
|
-
The private exponent is often named 'd'
|
100
|
-
).freeze,
|
84
|
+
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,
|
101
85
|
domain: "rsa:RSAPrivateKey".freeze,
|
102
86
|
label: "private".freeze,
|
103
87
|
range: "xsd:nonNegativeInteger".freeze,
|
104
88
|
type: "owl:DatatypeProperty".freeze,
|
105
89
|
"vs:term_status": "unstable".freeze
|
106
90
|
property :public_exponent,
|
107
|
-
comment:
|
108
|
-
The exponent used to encrypt the message. Number chosen between
|
109
|
-
1 and the totient\(p*q\). Often named 'e' .
|
110
|
-
).freeze,
|
91
|
+
comment: "\n The exponent used to encrypt the message. Number chosen between\n 1 and the totient(p*q). Often named 'e' .\n ".freeze,
|
111
92
|
domain: "rsa:RSAPublicKey".freeze,
|
112
93
|
label: "public_exponent".freeze,
|
113
94
|
range: "xsd:nonNegativeInteger".freeze,
|
data/lib/rdf/vocab/skos.rb
CHANGED
@@ -23,9 +23,9 @@ module RDF::Vocab
|
|
23
23
|
# # @return [RDF::Vocabulary::Term]
|
24
24
|
# attr_reader :OrderedCollection
|
25
25
|
#
|
26
|
-
# # skos:prefLabel, skos:altLabel and skos:hiddenLabel are pairwise disjoint properties.
|
27
|
-
# #
|
28
26
|
# # The range of skos:altLabel is the class of RDF plain literals.
|
27
|
+
# #
|
28
|
+
# # skos:prefLabel, skos:altLabel and skos:hiddenLabel are pairwise disjoint properties.
|
29
29
|
# # @return [RDF::Vocabulary::Term]
|
30
30
|
# attr_reader :altLabel
|
31
31
|
#
|
@@ -100,11 +100,11 @@ module RDF::Vocab
|
|
100
100
|
# # @return [RDF::Vocabulary::Term]
|
101
101
|
# attr_reader :note
|
102
102
|
#
|
103
|
-
# #
|
103
|
+
# # skos:prefLabel, skos:altLabel and skos:hiddenLabel are pairwise disjoint properties.
|
104
104
|
# #
|
105
105
|
# # A resource has no more than one value of skos:prefLabel per language tag, and no more than one value of skos:prefLabel without language tag.
|
106
106
|
# #
|
107
|
-
# # skos:prefLabel
|
107
|
+
# # The range of skos:prefLabel is the class of RDF plain literals.
|
108
108
|
# # @return [RDF::Vocabulary::Term]
|
109
109
|
# attr_reader :prefLabel
|
110
110
|
#
|
data/lib/rdf/vocab/skosxl.rb
CHANGED
@@ -25,9 +25,9 @@ module RDF::Vocab
|
|
25
25
|
# # @return [RDF::Vocabulary::Term]
|
26
26
|
# attr_reader :labelRelation
|
27
27
|
#
|
28
|
-
# # If two instances of the class skosxl:Label have the same literal form, they are not necessarily the same resource.
|
29
|
-
# #
|
30
28
|
# # The range of skosxl:literalForm is the class of RDF plain literals.
|
29
|
+
# #
|
30
|
+
# # If two instances of the class skosxl:Label have the same literal form, they are not necessarily the same resource.
|
31
31
|
# # @return [RDF::Vocabulary::Term]
|
32
32
|
# attr_reader :literalForm
|
33
33
|
#
|
data/lib/rdf/vocab/xkos.rb
CHANGED
@@ -10,9 +10,9 @@ module RDF::Vocab
|
|
10
10
|
# #
|
11
11
|
# # This ontology is based on work initiated at Dagstuhl Schloss in September 2011
|
12
12
|
# # @version Version 1.0.3 - 2016-03-15
|
13
|
-
# # @version Version 1.1 - 2016-03-20
|
14
|
-
# # @version Version 1.0.1 - 2014-11-26
|
15
13
|
# # @version Version 1.0.2 - 2016-03-15
|
14
|
+
# # @version Version 1.0.1 - 2014-11-26
|
15
|
+
# # @version Version 1.1 - 2016-03-20
|
16
16
|
# class XKOS < RDF::StrictVocabulary
|
17
17
|
# # @return [RDF::Vocabulary::Term]
|
18
18
|
# attr_reader :ClassificationLevel
|
@@ -101,9 +101,9 @@ module RDF::Vocab
|
|
101
101
|
# # @return [RDF::Vocabulary::Term]
|
102
102
|
# attr_reader :maxLength
|
103
103
|
#
|
104
|
-
# # immediate successor in the sequence
|
105
|
-
# #
|
106
104
|
# # successeur immédiat dans la séquence
|
105
|
+
# #
|
106
|
+
# # immediate successor in the sequence
|
107
107
|
# # @return [RDF::Vocabulary::Term]
|
108
108
|
# attr_reader :next
|
109
109
|
#
|
data/spec/spec_helper.rb
CHANGED
@@ -3,6 +3,19 @@ require "bundler/setup"
|
|
3
3
|
require 'rdf/vocab'
|
4
4
|
require 'matchers'
|
5
5
|
|
6
|
+
begin
|
7
|
+
require 'simplecov'
|
8
|
+
require 'coveralls'
|
9
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
|
10
|
+
SimpleCov::Formatter::HTMLFormatter,
|
11
|
+
Coveralls::SimpleCov::Formatter
|
12
|
+
])
|
13
|
+
SimpleCov.start do
|
14
|
+
add_filter "/spec/"
|
15
|
+
end
|
16
|
+
rescue LoadError
|
17
|
+
end
|
18
|
+
|
6
19
|
RSpec.configure do |config|
|
7
20
|
config.filter_run focus: true
|
8
21
|
config.filter_run_excluding slow: true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-vocab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Chandek-Stark
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-12-
|
13
|
+
date: 2020-12-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rdf
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '3.1'
|
22
22
|
- - ">="
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: 3.1.
|
24
|
+
version: 3.1.8
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
27
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -31,7 +31,7 @@ dependencies:
|
|
31
31
|
version: '3.1'
|
32
32
|
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 3.1.
|
34
|
+
version: 3.1.8
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: haml
|
37
37
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,14 +94,14 @@ dependencies:
|
|
94
94
|
requirements:
|
95
95
|
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: '0
|
97
|
+
version: '1.0'
|
98
98
|
type: :development
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: '0
|
104
|
+
version: '1.0'
|
105
105
|
- !ruby/object:Gem::Dependency
|
106
106
|
name: ld-patch
|
107
107
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,6 +109,9 @@ dependencies:
|
|
109
109
|
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '3.1'
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: 3.1.2
|
112
115
|
type: :development
|
113
116
|
prerelease: false
|
114
117
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -116,6 +119,9 @@ dependencies:
|
|
116
119
|
- - "~>"
|
117
120
|
- !ruby/object:Gem::Version
|
118
121
|
version: '3.1'
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 3.1.2
|
119
125
|
- !ruby/object:Gem::Dependency
|
120
126
|
name: nokogiri
|
121
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -158,6 +164,26 @@ dependencies:
|
|
158
164
|
- - "~>"
|
159
165
|
- !ruby/object:Gem::Version
|
160
166
|
version: '13.0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rdf-ordered-repo
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '3.1'
|
174
|
+
- - ">="
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: 3.1.1
|
177
|
+
type: :development
|
178
|
+
prerelease: false
|
179
|
+
version_requirements: !ruby/object:Gem::Requirement
|
180
|
+
requirements:
|
181
|
+
- - "~>"
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
version: '3.1'
|
184
|
+
- - ">="
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: 3.1.1
|
161
187
|
- !ruby/object:Gem::Dependency
|
162
188
|
name: rdf-rdfa
|
163
189
|
requirement: !ruby/object:Gem::Requirement
|
@@ -206,14 +232,14 @@ dependencies:
|
|
206
232
|
requirements:
|
207
233
|
- - "~>"
|
208
234
|
- !ruby/object:Gem::Version
|
209
|
-
version: '3.
|
235
|
+
version: '3.10'
|
210
236
|
type: :development
|
211
237
|
prerelease: false
|
212
238
|
version_requirements: !ruby/object:Gem::Requirement
|
213
239
|
requirements:
|
214
240
|
- - "~>"
|
215
241
|
- !ruby/object:Gem::Version
|
216
|
-
version: '3.
|
242
|
+
version: '3.10'
|
217
243
|
- !ruby/object:Gem::Dependency
|
218
244
|
name: rspec-its
|
219
245
|
requirement: !ruby/object:Gem::Requirement
|
@@ -234,14 +260,14 @@ dependencies:
|
|
234
260
|
requirements:
|
235
261
|
- - "~>"
|
236
262
|
- !ruby/object:Gem::Version
|
237
|
-
version: 0.9
|
263
|
+
version: '0.9'
|
238
264
|
type: :development
|
239
265
|
prerelease: false
|
240
266
|
version_requirements: !ruby/object:Gem::Requirement
|
241
267
|
requirements:
|
242
268
|
- - "~>"
|
243
269
|
- !ruby/object:Gem::Version
|
244
|
-
version: 0.9
|
270
|
+
version: '0.9'
|
245
271
|
description: Defines several standard RDF vocabularies
|
246
272
|
email: public-rdf-ruby@w3.org
|
247
273
|
executables: []
|
@@ -310,6 +336,7 @@ files:
|
|
310
336
|
- lib/rdf/vocab/premiseventtype.rb
|
311
337
|
- lib/rdf/vocab/prov.rb
|
312
338
|
- lib/rdf/vocab/ptr.rb
|
339
|
+
- lib/rdf/vocab/rdau.rb
|
313
340
|
- lib/rdf/vocab/rightsstatements.rb
|
314
341
|
- lib/rdf/vocab/rsa.rb
|
315
342
|
- lib/rdf/vocab/rss.rb
|