rdf-vocab 3.2.1 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +61 -3
- data/VERSION +1 -1
- data/lib/rdf/vocab/bf2.rb +114 -36
- data/lib/rdf/vocab/bibframe.rb +114 -36
- data/lib/rdf/vocab/dbo.rb +440 -70
- data/lib/rdf/vocab/identifiers.rb +346 -65
- data/lib/rdf/vocab/marcrelators.rb +28 -8
- data/lib/rdf/vocab/rdau.rb +478 -461
- data/lib/rdf/vocab/rightsstatements.rb +12 -12
- data/lib/rdf/vocab/schema.rb +468 -234
- data/lib/rdf/vocab/schemas.rb +468 -234
- data/lib/rdf/vocab/wot.rb +50 -131
- data/lib/rdf/vocab/xkos.rb +2 -2
- metadata +11 -5
data/lib/rdf/vocab/wot.rb
CHANGED
@@ -7,162 +7,81 @@ module RDF::Vocab
|
|
7
7
|
# @!visibility private
|
8
8
|
WOT = Class.new(RDF::StrictVocabulary("http://xmlns.com/wot/0.1/")) do
|
9
9
|
|
10
|
-
# Ontology definition
|
11
|
-
ontology :"http://xmlns.com/wot/0.1/",
|
12
|
-
"http://purl.org/dc/elements/1.1/date": "2004-02-23",
|
13
|
-
"http://purl.org/dc/elements/1.1/description": "Web Of Trust (wot) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language.",
|
14
|
-
"http://purl.org/dc/elements/1.1/title": "Web Of Trust vocabulary",
|
15
|
-
"http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://xmlns.com/foaf/0.1/",
|
16
|
-
"http://www.w3.org/2002/07/owl#imports": ["http://www.w3.org/2000/01/rdf-schema", "http://www.w3.org/2002/07/owl"],
|
17
|
-
type: "http://www.w3.org/2002/07/owl#Ontology"
|
18
|
-
|
19
10
|
# Class definitions
|
20
|
-
term :EncryptedDocument,
|
21
|
-
comment: "An encrypted document intended for a set of recipients.",
|
22
|
-
"http://www.w3.org/2002/07/owl#disjointWith": ["http://xmlns.com/wot/0.1/Endorsement", "http://xmlns.com/wot/0.1/PubKey", "http://xmlns.com/wot/0.1/SigEvent", "http://xmlns.com/wot/0.1/User"],
|
23
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
24
|
-
isDefinedBy: "http://xmlns.com/wot/0.1/",
|
25
|
-
label: "Encrypted Document",
|
26
|
-
subClassOf: ["http://xmlns.com/foaf/0.1/Document", "http://xmlns.com/wordnet/1.6/Endorsement-4"],
|
27
|
-
type: "http://www.w3.org/2002/07/owl#Class"
|
28
11
|
term :Endorsement,
|
29
|
-
comment: "An endorsement
|
30
|
-
"http://www.w3.org/2002/07/owl#disjointWith": ["http://xmlns.com/wot/0.1/EncryptedDocument", "http://xmlns.com/wot/0.1/PubKey", "http://xmlns.com/wot/0.1/SigEvent", "http://xmlns.com/wot/0.1/User"],
|
31
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
32
|
-
isDefinedBy: "http://xmlns.com/wot/0.1/",
|
12
|
+
comment: "An endorsement object, whose uri should be the location of an ascii signature",
|
33
13
|
label: "Endorsement",
|
34
|
-
subClassOf:
|
35
|
-
type: "http://www.w3.org/
|
14
|
+
subClassOf: "http://xmlns.com/wordnet/1.6/Endorsement",
|
15
|
+
type: "http://www.w3.org/2000/01/rdf-schema#Class"
|
36
16
|
term :PubKey,
|
37
|
-
comment: "A class
|
38
|
-
"http://www.w3.org/2002/07/owl#disjointWith": ["http://xmlns.com/wot/0.1/EncryptedDocument", "http://xmlns.com/wot/0.1/Endorsement", "http://xmlns.com/wot/0.1/SigEvent", "http://xmlns.com/wot/0.1/User"],
|
39
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "stable",
|
40
|
-
isDefinedBy: "http://xmlns.com/wot/0.1/",
|
17
|
+
comment: "A class to represent a person's or organization's PGP public key.",
|
41
18
|
label: "Public Key",
|
42
|
-
|
43
|
-
type: "http://www.w3.org/2002/07/owl#Class"
|
19
|
+
type: "http://www.w3.org/2000/01/rdf-schema#Class"
|
44
20
|
term :SigEvent,
|
45
|
-
comment: "
|
46
|
-
|
47
|
-
"http://
|
48
|
-
|
49
|
-
label: "Key Signing Event",
|
50
|
-
subClassOf: ["http://www.w3.org/2002/12/cal/ical#Vevent", "http://xmlns.com/wordnet/1.6/Event"],
|
51
|
-
type: "http://www.w3.org/2002/07/owl#Class"
|
21
|
+
comment: "A PGP key signing event",
|
22
|
+
label: "Signing Event",
|
23
|
+
subClassOf: "http://xmlns.com/wordnet/1.6/Event",
|
24
|
+
type: "http://www.w3.org/2000/01/rdf-schema#Class"
|
52
25
|
term :User,
|
53
|
-
comment: "A
|
54
|
-
|
55
|
-
"http://
|
56
|
-
|
57
|
-
label: "Key User",
|
58
|
-
subClassOf: "http://xmlns.com/foaf/0.1/Agent",
|
59
|
-
type: "http://www.w3.org/2002/07/owl#Class"
|
26
|
+
comment: "A wot subclass of foaf Person - the user of a PGP public key",
|
27
|
+
label: "PGP Key User",
|
28
|
+
subClassOf: "http://xmlns.com/foaf/0.1/Person",
|
29
|
+
type: "http://www.w3.org/2000/01/rdf-schema#Class"
|
60
30
|
|
61
31
|
# Property definitions
|
62
32
|
property :assurance,
|
63
|
-
comment: "
|
64
|
-
domain: "http://
|
65
|
-
|
66
|
-
isDefinedBy: "http://xmlns.com/wot/0.1/",
|
67
|
-
label: "Assurance",
|
33
|
+
comment: "Property pointing to an endorsment object which in turn points to the location of the textual signature assuring the current document",
|
34
|
+
domain: "http://www.w3.org/2000/01/rdf-schema#Resource",
|
35
|
+
label: "assurance",
|
68
36
|
range: "http://xmlns.com/wot/0.1/Endorsement",
|
69
|
-
type: "http://www.w3.org/
|
70
|
-
property :encryptedTo,
|
71
|
-
comment: "A property linking an encrypted document to a recipient.",
|
72
|
-
domain: "http://xmlns.com/wot/0.1/EncryptedDocument",
|
73
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
74
|
-
isDefinedBy: "http://xmlns.com/wot/0.1/",
|
75
|
-
label: "Encrypted to",
|
76
|
-
range: "http://xmlns.com/wot/0.1/PubKey",
|
77
|
-
type: "http://www.w3.org/2002/07/owl#ObjectProperty"
|
78
|
-
property :encrypter,
|
79
|
-
comment: "A property linking an encrypted document to the public key that was used to encrypt it.",
|
80
|
-
domain: "http://xmlns.com/wot/0.1/EncryptedDocument",
|
81
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
82
|
-
isDefinedBy: "http://xmlns.com/wot/0.1/",
|
83
|
-
label: "Encrypted by",
|
84
|
-
range: "http://xmlns.com/wot/0.1/PubKey",
|
85
|
-
type: ["http://www.w3.org/2002/07/owl#FunctionalProperty", "http://www.w3.org/2002/07/owl#ObjectProperty"]
|
37
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
86
38
|
property :fingerprint,
|
87
|
-
comment: "A public key
|
39
|
+
comment: "A public key fingerprint string",
|
88
40
|
domain: "http://xmlns.com/wot/0.1/PubKey",
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
range: "http://www.w3.org/2001/XMLSchema#string",
|
93
|
-
type: ["http://www.w3.org/2002/07/owl#DatatypeProperty", "http://www.w3.org/2002/07/owl#InverseFunctionalProperty"]
|
94
|
-
property :hasKey,
|
95
|
-
comment: "A property to link a PubKey from a User",
|
96
|
-
domain: "http://xmlns.com/wot/0.1/User",
|
97
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing",
|
98
|
-
inverseOf: "http://xmlns.com/wot/0.1/identity",
|
99
|
-
isDefinedBy: "http://xmlns.com/wot/0.1/",
|
100
|
-
label: "has Key",
|
101
|
-
range: "http://xmlns.com/wot/0.1/PubKey",
|
102
|
-
type: "http://www.w3.org/2002/07/owl#ObjectProperty"
|
41
|
+
label: "Public Key Fingerprint",
|
42
|
+
range: "http://www.w3.org/2000/01/rdf-schema#Literal",
|
43
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
103
44
|
property :hex_id,
|
104
|
-
comment: "A public key hex identifier string
|
45
|
+
comment: "A public key hex identifier string",
|
105
46
|
domain: "http://xmlns.com/wot/0.1/PubKey",
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
range: "http://www.w3.org/2001/XMLSchema#string",
|
110
|
-
type: "http://www.w3.org/2002/07/owl#DatatypeProperty"
|
47
|
+
label: "Public key hex identifier",
|
48
|
+
range: "http://www.w3.org/2000/01/rdf-schema#Literal",
|
49
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
111
50
|
property :identity,
|
112
|
-
comment: "A property linking
|
51
|
+
comment: "A property linking to the User of the PGP key.",
|
113
52
|
domain: "http://xmlns.com/wot/0.1/PubKey",
|
114
|
-
|
115
|
-
isDefinedBy: "http://xmlns.com/wot/0.1/",
|
116
|
-
label: "Identity",
|
53
|
+
label: "identity",
|
117
54
|
range: "http://xmlns.com/wot/0.1/User",
|
118
|
-
type:
|
55
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
119
56
|
property :length,
|
120
|
-
comment: "A
|
57
|
+
comment: "A string representing public key length",
|
121
58
|
domain: "http://xmlns.com/wot/0.1/PubKey",
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
range: "http://www.w3.org/2001/XMLSchema#integer",
|
126
|
-
type: "http://www.w3.org/2002/07/owl#DatatypeProperty"
|
59
|
+
label: "Public Key length",
|
60
|
+
range: "http://www.w3.org/2000/01/rdf-schema#Literal",
|
61
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
127
62
|
property :pubkeyAddress,
|
128
|
-
comment: "The location of
|
129
|
-
domain: "http://
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
range: "http://xmlns.com/foaf/0.1/Document",
|
134
|
-
type: "http://www.w3.org/2002/07/owl#ObjectProperty"
|
63
|
+
comment: "The location of the public key used to sign the present document",
|
64
|
+
domain: "http://www.w3.org/2000/01/rdf-schema#Resource",
|
65
|
+
label: "public key address",
|
66
|
+
range: "http://www.w3.org/2000/01/rdf-schema#Resource",
|
67
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
135
68
|
property :sigdate,
|
136
|
-
comment: "The date of a
|
69
|
+
comment: "The date of a sining event.",
|
137
70
|
domain: "http://xmlns.com/wot/0.1/SigEvent",
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
range: "http://www.w3.org/2001/XMLSchema#date",
|
142
|
-
type: "http://www.w3.org/2002/07/owl#DatatypeProperty"
|
71
|
+
label: "signing date",
|
72
|
+
range: "http://www.w3.org/2000/01/rdf-schema#Literal",
|
73
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
143
74
|
property :signed,
|
144
|
-
comment: "A property linking a public key to
|
145
|
-
domain: "http://xmlns.com/wot/0.1/
|
146
|
-
|
147
|
-
isDefinedBy: "http://xmlns.com/wot/0.1/",
|
148
|
-
label: "Signed",
|
75
|
+
comment: "A property linking a public key to signature events.",
|
76
|
+
domain: "http://xmlns.com/wot/0.1/User",
|
77
|
+
label: "signed",
|
149
78
|
range: "http://xmlns.com/wot/0.1/SigEvent",
|
150
|
-
type: "http://www.w3.org/
|
151
|
-
property :
|
152
|
-
comment: "
|
153
|
-
domain: "http://xmlns.com/wot/0.1/SigEvent",
|
154
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
155
|
-
isDefinedBy: "http://xmlns.com/wot/0.1/",
|
156
|
-
label: "Signer",
|
157
|
-
range: "http://xmlns.com/wot/0.1/PubKey",
|
158
|
-
type: ["http://www.w3.org/2002/07/owl#FunctionalProperty", "http://www.w3.org/2002/07/owl#ObjectProperty"]
|
159
|
-
property :sigtime,
|
160
|
-
comment: "The time (of day) of a public key signature event.",
|
79
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
80
|
+
property :signerLongHexID,
|
81
|
+
comment: "The hex id of the signer's key",
|
161
82
|
domain: "http://xmlns.com/wot/0.1/SigEvent",
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
range: "http://www.w3.org/2001/XMLSchema#time",
|
166
|
-
type: "http://www.w3.org/2002/07/owl#DatatypeProperty"
|
83
|
+
label: "signer long hex id",
|
84
|
+
range: "http://www.w3.org/2000/01/rdf-schema#Literal",
|
85
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
167
86
|
end
|
168
87
|
end
|
data/lib/rdf/vocab/xkos.rb
CHANGED
@@ -13,14 +13,14 @@ module RDF::Vocab
|
|
13
13
|
"http://creativecommons.org/ns#license": "http://creativecommons.org/licenses/by/4.0/",
|
14
14
|
"http://purl.org/dc/elements/1.1/contributor": ["Daniel Gillman", "Jannik Jensen", "R.T.A.M. Grim", "Richard Cyganiak", "Thomas Bosch", "Wendy L. Thomas", "Yves Jaques"],
|
15
15
|
"http://purl.org/dc/elements/1.1/creator": "Franck Cotton",
|
16
|
-
"http://purl.org/dc/elements/1.1/rights": "Copyright ©
|
16
|
+
"http://purl.org/dc/elements/1.1/rights": "Copyright © 2014-2019 The DDI Alliance",
|
17
17
|
"http://purl.org/dc/elements/1.1/title": {en: "XKOS: an SKOS extension for representing statistical classifications", fr: "XKOS : une extension de SKOS pour la représentation des nomenclatures statistiques"},
|
18
18
|
"http://purl.org/vocab/vann/preferredNamespacePrefix": "xkos",
|
19
19
|
"http://purl.org/vocab/vann/preferredNamespaceUri": "http://rdf-vocabulary.ddialliance.org/xkos#",
|
20
20
|
"http://purl.org/vocommons/voaf#classNumber": "4",
|
21
21
|
"http://purl.org/vocommons/voaf#extends": "http://www.w3.org/2004/02/skos/core",
|
22
22
|
"http://purl.org/vocommons/voaf#propertyNumber": "40",
|
23
|
-
"http://www.w3.org/2002/07/owl#versionInfo": ["Version 1.0.1 - 2014-11-26", "Version 1.0.2 - 2016-03-15", "Version 1.0.3 - 2016-03-15", "Version 1.1 - 2016-03-20"],
|
23
|
+
"http://www.w3.org/2002/07/owl#versionInfo": ["Version 1.0.1 - 2014-11-26", "Version 1.0.2 - 2016-03-15", "Version 1.0.3 - 2016-03-15", "Version 1.1 - 2016-03-20", "Version 1.2 - 2019-05-01"],
|
24
24
|
type: ["http://purl.org/vocommons/voaf#Vocabulary", "http://www.w3.org/2002/07/owl#Ontology"]
|
25
25
|
|
26
26
|
# Class definitions
|
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.2.
|
4
|
+
version: 3.2.3
|
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: 2022-
|
13
|
+
date: 2022-10-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rdf
|
@@ -122,14 +122,20 @@ dependencies:
|
|
122
122
|
requirements:
|
123
123
|
- - "~>"
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: '1.
|
125
|
+
version: '1.13'
|
126
|
+
- - ">="
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: 1.13.8
|
126
129
|
type: :development
|
127
130
|
prerelease: false
|
128
131
|
version_requirements: !ruby/object:Gem::Requirement
|
129
132
|
requirements:
|
130
133
|
- - "~>"
|
131
134
|
- !ruby/object:Gem::Version
|
132
|
-
version: '1.
|
135
|
+
version: '1.13'
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 1.13.8
|
133
139
|
- !ruby/object:Gem::Dependency
|
134
140
|
name: rake
|
135
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -390,7 +396,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
390
396
|
- !ruby/object:Gem::Version
|
391
397
|
version: '0'
|
392
398
|
requirements: []
|
393
|
-
rubygems_version: 3.3.
|
399
|
+
rubygems_version: 3.3.7
|
394
400
|
signing_key:
|
395
401
|
specification_version: 4
|
396
402
|
summary: A library of RDF vocabularies
|