rdf-vocab 3.3.0 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/rdf/vocab/wot.rb CHANGED
@@ -7,81 +7,162 @@ 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
+
10
19
  # 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"
11
28
  term :Endorsement,
12
- comment: "An endorsement object, whose uri should be the location of an ascii signature",
29
+ comment: "An endorsement resource containing a detached ascii signature.",
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/",
13
33
  label: "Endorsement",
14
- subClassOf: "http://xmlns.com/wordnet/1.6/Endorsement",
15
- type: "http://www.w3.org/2000/01/rdf-schema#Class"
34
+ subClassOf: ["http://xmlns.com/foaf/0.1/Document", "http://xmlns.com/wordnet/1.6/Endorsement-4"],
35
+ type: "http://www.w3.org/2002/07/owl#Class"
16
36
  term :PubKey,
17
- comment: "A class to represent a person's or organization's PGP public key.",
37
+ comment: "A class used to represent a PGP/GPG public key for a user (an agent, person, group or organization).",
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/",
18
41
  label: "Public Key",
19
- type: "http://www.w3.org/2000/01/rdf-schema#Class"
42
+ subClassOf: "http://xmlns.com/wordnet/1.6/Credential",
43
+ type: "http://www.w3.org/2002/07/owl#Class"
20
44
  term :SigEvent,
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"
45
+ comment: "An event describing the action of a public key being signed by some other public key.",
46
+ "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/PubKey", "http://xmlns.com/wot/0.1/User"],
47
+ "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing",
48
+ isDefinedBy: "http://xmlns.com/wot/0.1/",
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"
25
52
  term :User,
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"
53
+ comment: "A user (agent, person, group or organization) of a PGP/GPG public key.",
54
+ "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/PubKey", "http://xmlns.com/wot/0.1/SigEvent"],
55
+ "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "stable",
56
+ isDefinedBy: "http://xmlns.com/wot/0.1/",
57
+ label: "Key User",
58
+ subClassOf: "http://xmlns.com/foaf/0.1/Agent",
59
+ type: "http://www.w3.org/2002/07/owl#Class"
30
60
 
31
61
  # Property definitions
32
62
  property :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",
63
+ comment: "A property linking a document to an endorsement resource containing a detached ascii signature.",
64
+ domain: "http://xmlns.com/foaf/0.1/Document",
65
+ "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "stable",
66
+ isDefinedBy: "http://xmlns.com/wot/0.1/",
67
+ label: "Assurance",
36
68
  range: "http://xmlns.com/wot/0.1/Endorsement",
37
- type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
69
+ type: "http://www.w3.org/2002/07/owl#ObjectProperty"
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"]
38
86
  property :fingerprint,
39
- comment: "A public key fingerprint string",
87
+ comment: "A public key hex fingerprint string (40 digits, white space insignificant).",
40
88
  domain: "http://xmlns.com/wot/0.1/PubKey",
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"
89
+ "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing",
90
+ isDefinedBy: "http://xmlns.com/wot/0.1/",
91
+ label: "Fingerprint",
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"
44
103
  property :hex_id,
45
- comment: "A public key hex identifier string",
104
+ comment: "A public key hex identifier string (8 digits).",
46
105
  domain: "http://xmlns.com/wot/0.1/PubKey",
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"
106
+ "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "stable",
107
+ isDefinedBy: "http://xmlns.com/wot/0.1/",
108
+ label: "Hex identifier",
109
+ range: "http://www.w3.org/2001/XMLSchema#string",
110
+ type: "http://www.w3.org/2002/07/owl#DatatypeProperty"
50
111
  property :identity,
51
- comment: "A property linking to the User of the PGP key.",
112
+ comment: "A property linking a public key to the user of the key.",
52
113
  domain: "http://xmlns.com/wot/0.1/PubKey",
53
- label: "identity",
114
+ "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing",
115
+ isDefinedBy: "http://xmlns.com/wot/0.1/",
116
+ label: "Identity",
54
117
  range: "http://xmlns.com/wot/0.1/User",
55
- type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
118
+ type: ["http://www.w3.org/2002/07/owl#FunctionalProperty", "http://www.w3.org/2002/07/owl#ObjectProperty"]
56
119
  property :length,
57
- comment: "A string representing public key length",
120
+ comment: "A numeric string representing the length, in bytes, of a public key.",
58
121
  domain: "http://xmlns.com/wot/0.1/PubKey",
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"
122
+ "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "stable",
123
+ isDefinedBy: "http://xmlns.com/wot/0.1/",
124
+ label: "Length",
125
+ range: "http://www.w3.org/2001/XMLSchema#integer",
126
+ type: "http://www.w3.org/2002/07/owl#DatatypeProperty"
62
127
  property :pubkeyAddress,
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"
128
+ comment: "The location of an ascii version of a public key.",
129
+ domain: "http://xmlns.com/wot/0.1/PubKey",
130
+ "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing",
131
+ isDefinedBy: "http://xmlns.com/wot/0.1/",
132
+ label: "Address",
133
+ range: "http://xmlns.com/foaf/0.1/Document",
134
+ type: "http://www.w3.org/2002/07/owl#ObjectProperty"
68
135
  property :sigdate,
69
- comment: "The date of a sining event.",
136
+ comment: "The date of a public key signature event.",
70
137
  domain: "http://xmlns.com/wot/0.1/SigEvent",
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"
138
+ "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing",
139
+ isDefinedBy: "http://xmlns.com/wot/0.1/",
140
+ label: "Signature date",
141
+ range: "http://www.w3.org/2001/XMLSchema#date",
142
+ type: "http://www.w3.org/2002/07/owl#DatatypeProperty"
74
143
  property :signed,
75
- comment: "A property linking a public key to signature events.",
76
- domain: "http://xmlns.com/wot/0.1/User",
77
- label: "signed",
144
+ comment: "A property linking a public key to a public key signature event.",
145
+ domain: "http://xmlns.com/wot/0.1/PubKey",
146
+ "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing",
147
+ isDefinedBy: "http://xmlns.com/wot/0.1/",
148
+ label: "Signed",
78
149
  range: "http://xmlns.com/wot/0.1/SigEvent",
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",
150
+ type: "http://www.w3.org/2002/07/owl#ObjectProperty"
151
+ property :signer,
152
+ comment: "A property linking a public key signature event to the public key that was used to sign.",
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.",
82
161
  domain: "http://xmlns.com/wot/0.1/SigEvent",
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"
162
+ "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
163
+ isDefinedBy: "http://xmlns.com/wot/0.1/",
164
+ label: "Signature time",
165
+ range: "http://www.w3.org/2001/XMLSchema#time",
166
+ type: "http://www.w3.org/2002/07/owl#DatatypeProperty"
86
167
  end
87
168
  end
@@ -9,7 +9,7 @@ module RDF::Vocab
9
9
 
10
10
  # Ontology definition
11
11
  ontology :"http://www.w3.org/1999/xhtml#",
12
- "http://www.w3.org/1999/xhtml/vocab#stylesheet": "http://www.w3.org/StyleSheets/TR/base",
13
- "http://www.w3.org/2003/g/data-view#namespaceTransformation": "http://www.w3.org/2008/07/rdfa-xslt"
12
+ "http://www.w3.org/1999/xhtml/vocab#stylesheet": "https://www.w3.org/StyleSheets/TR/base",
13
+ "http://www.w3.org/2003/g/data-view#namespaceTransformation": "https://www.w3.org/2008/07/rdfa-xslt"
14
14
  end
15
15
  end
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.3.0
4
+ version: 3.3.1
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: 2023-08-26 00:00:00.000000000 Z
13
+ date: 2024-05-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rdf
@@ -32,14 +32,14 @@ dependencies:
32
32
  requirements:
33
33
  - - "~>"
34
34
  - !ruby/object:Gem::Version
35
- version: '6.1'
35
+ version: '6.3'
36
36
  type: :development
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - "~>"
41
41
  - !ruby/object:Gem::Version
42
- version: '6.1'
42
+ version: '6.3'
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: erubis
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -74,14 +74,14 @@ dependencies:
74
74
  requirements:
75
75
  - - "~>"
76
76
  - !ruby/object:Gem::Version
77
- version: '4.0'
77
+ version: '4.3'
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - "~>"
83
83
  - !ruby/object:Gem::Version
84
- version: '4.0'
84
+ version: '4.3'
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: jsonpath
87
87
  requirement: !ruby/object:Gem::Requirement
@@ -116,34 +116,34 @@ dependencies:
116
116
  requirements:
117
117
  - - "~>"
118
118
  - !ruby/object:Gem::Version
119
- version: '1.15'
119
+ version: '1.16'
120
120
  - - ">="
121
121
  - !ruby/object:Gem::Version
122
- version: 1.15.4
122
+ version: 1.16.5
123
123
  type: :development
124
124
  prerelease: false
125
125
  version_requirements: !ruby/object:Gem::Requirement
126
126
  requirements:
127
127
  - - "~>"
128
128
  - !ruby/object:Gem::Version
129
- version: '1.15'
129
+ version: '1.16'
130
130
  - - ">="
131
131
  - !ruby/object:Gem::Version
132
- version: 1.15.4
132
+ version: 1.16.5
133
133
  - !ruby/object:Gem::Dependency
134
134
  name: rake
135
135
  requirement: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
- version: '13.0'
139
+ version: '13.2'
140
140
  type: :development
141
141
  prerelease: false
142
142
  version_requirements: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - "~>"
145
145
  - !ruby/object:Gem::Version
146
- version: '13.0'
146
+ version: '13.2'
147
147
  - !ruby/object:Gem::Dependency
148
148
  name: rdf-ordered-repo
149
149
  requirement: !ruby/object:Gem::Requirement
@@ -220,14 +220,14 @@ dependencies:
220
220
  requirements:
221
221
  - - "~>"
222
222
  - !ruby/object:Gem::Version
223
- version: '3.12'
223
+ version: '3.13'
224
224
  type: :development
225
225
  prerelease: false
226
226
  version_requirements: !ruby/object:Gem::Requirement
227
227
  requirements:
228
228
  - - "~>"
229
229
  - !ruby/object:Gem::Version
230
- version: '3.12'
230
+ version: '3.13'
231
231
  - !ruby/object:Gem::Dependency
232
232
  name: rspec-its
233
233
  requirement: !ruby/object:Gem::Requirement