rdf 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CREDITS +1 -0
- data/VERSION +1 -1
- data/lib/rdf.rb +10 -48
- data/lib/rdf/cli/vocab-loader.rb +78 -142
- data/lib/rdf/mixin/enumerable.rb +25 -0
- data/lib/rdf/mixin/mutable.rb +3 -0
- data/lib/rdf/model/graph.rb +1 -1
- data/lib/rdf/model/node.rb +25 -2
- data/lib/rdf/model/statement.rb +20 -12
- data/lib/rdf/model/uri.rb +11 -2
- data/lib/rdf/nquads.rb +8 -6
- data/lib/rdf/ntriples/writer.rb +14 -10
- data/lib/rdf/query/pattern.rb +10 -8
- data/lib/rdf/reader.rb +11 -2
- data/lib/rdf/repository.rb +1 -1
- data/lib/rdf/vocab.rb +396 -96
- data/lib/rdf/vocab/cc.rb +117 -25
- data/lib/rdf/vocab/cert.rb +230 -117
- data/lib/rdf/vocab/dc.rb +930 -233
- data/lib/rdf/vocab/dc11.rb +151 -37
- data/lib/rdf/vocab/doap.rb +326 -114
- data/lib/rdf/vocab/exif.rb +930 -533
- data/lib/rdf/vocab/foaf.rb +602 -346
- data/lib/rdf/vocab/geo.rb +139 -33
- data/lib/rdf/vocab/gr.rb +1551 -1084
- data/lib/rdf/vocab/ht.rb +319 -0
- data/lib/rdf/vocab/ical.rb +507 -349
- data/lib/rdf/vocab/ma.rb +504 -280
- data/lib/rdf/vocab/mo.rb +2425 -876
- data/lib/rdf/vocab/og.rb +178 -90
- data/lib/rdf/vocab/owl.rb +513 -219
- data/lib/rdf/vocab/prov.rb +1557 -479
- data/lib/rdf/vocab/rdfs.rb +107 -31
- data/lib/rdf/vocab/rdfv.rb +165 -0
- data/lib/rdf/vocab/rsa.rb +61 -18
- data/lib/rdf/vocab/rss.rb +55 -22
- data/lib/rdf/vocab/schema.rb +8590 -3995
- data/lib/rdf/vocab/sioc.rb +657 -218
- data/lib/rdf/vocab/skos.rb +227 -134
- data/lib/rdf/vocab/skosxl.rb +47 -33
- data/lib/rdf/vocab/vcard.rb +693 -327
- data/lib/rdf/vocab/void.rb +175 -132
- data/lib/rdf/vocab/vs.rb +27 -0
- data/lib/rdf/vocab/wdrs.rb +123 -119
- data/lib/rdf/vocab/wot.rb +155 -45
- data/lib/rdf/vocab/xhtml.rb +2 -1
- data/lib/rdf/vocab/xhv.rb +496 -231
- data/lib/rdf/vocab/xsd.rb +382 -53
- data/lib/rdf/writer.rb +8 -4
- metadata +5 -4
- data/lib/rdf/vocab/http.rb +0 -84
- data/lib/rdf/vocab/v.rb +0 -154
data/lib/rdf/vocab/wot.rb
CHANGED
@@ -1,55 +1,165 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
1
2
|
# This file generated automatically using vocab-fetch from http://xmlns.com/wot/0.1/index.rdf
|
2
3
|
require 'rdf'
|
3
4
|
module RDF
|
4
5
|
class WOT < StrictVocabulary("http://xmlns.com/wot/0.1/")
|
5
6
|
|
6
7
|
# Class definitions
|
7
|
-
|
8
|
-
%(An encrypted document intended for a set of recipients.)
|
9
|
-
|
10
|
-
%(
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
8
|
+
term :EncryptedDocument,
|
9
|
+
comment: %(An encrypted document intended for a set of recipients.).freeze,
|
10
|
+
label: "Encrypted Document".freeze,
|
11
|
+
"owl:disjointWith" => %(wot:Endorsement).freeze,
|
12
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
13
|
+
subClassOf: "foaf:Document".freeze,
|
14
|
+
type: "owl:Class".freeze,
|
15
|
+
"vs:term_status" => %(unstable).freeze
|
16
|
+
term :Endorsement,
|
17
|
+
comment: %(An endorsement resource containing a detached ascii signature.).freeze,
|
18
|
+
label: "Endorsement".freeze,
|
19
|
+
"owl:disjointWith" => %(wot:EncryptedDocument).freeze,
|
20
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
21
|
+
subClassOf: "foaf:Document".freeze,
|
22
|
+
type: "owl:Class".freeze,
|
23
|
+
"vs:term_status" => %(unstable).freeze
|
24
|
+
term :PubKey,
|
25
|
+
comment: %(A class used to represent a PGP/GPG public key for a user \(an agent, person, group or organization\).).freeze,
|
26
|
+
label: "Public Key".freeze,
|
27
|
+
"owl:disjointWith" => %(wot:EncryptedDocument).freeze,
|
28
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
29
|
+
subClassOf: "http://xmlns.com/wordnet/1.6/Credential".freeze,
|
30
|
+
type: "owl:Class".freeze,
|
31
|
+
"vs:term_status" => %(stable).freeze
|
32
|
+
term :SigEvent,
|
33
|
+
comment: %(An event describing the action of a public key being signed by some other public key.).freeze,
|
34
|
+
label: "Key Signing Event".freeze,
|
35
|
+
"owl:disjointWith" => %(wot:EncryptedDocument).freeze,
|
36
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
37
|
+
subClassOf: "http://www.w3.org/2002/12/cal/ical#Vevent".freeze,
|
38
|
+
type: "owl:Class".freeze,
|
39
|
+
"vs:term_status" => %(testing).freeze
|
40
|
+
term :User,
|
41
|
+
comment: %(A user \(agent, person, group or organization\) of a PGP/GPG public key.).freeze,
|
42
|
+
label: "Key User".freeze,
|
43
|
+
"owl:disjointWith" => %(wot:EncryptedDocument).freeze,
|
44
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
45
|
+
subClassOf: "foaf:Agent".freeze,
|
46
|
+
type: "owl:Class".freeze,
|
47
|
+
"vs:term_status" => %(stable).freeze
|
20
48
|
|
21
49
|
# Property definitions
|
22
|
-
property :
|
23
|
-
%(A
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
property :
|
31
|
-
%(
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
%(
|
36
|
-
|
37
|
-
%(
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
%(
|
44
|
-
|
45
|
-
%(
|
46
|
-
property :
|
47
|
-
%(A
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
%(
|
50
|
+
property :assurance,
|
51
|
+
comment: %(A property linking a document to an endorsement resource containing a detached ascii signature.).freeze,
|
52
|
+
domain: "foaf:Document".freeze,
|
53
|
+
label: "Assurance".freeze,
|
54
|
+
range: "wot:Endorsement".freeze,
|
55
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
56
|
+
type: "owl:ObjectProperty".freeze,
|
57
|
+
"vs:term_status" => %(stable).freeze
|
58
|
+
property :encryptedTo,
|
59
|
+
comment: %(A property linking an encrypted document to a recipient.).freeze,
|
60
|
+
domain: "wot:EncryptedDocument".freeze,
|
61
|
+
label: "Encrypted to".freeze,
|
62
|
+
range: "wot:PubKey".freeze,
|
63
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
64
|
+
type: "owl:ObjectProperty".freeze,
|
65
|
+
"vs:term_status" => %(unstable).freeze
|
66
|
+
property :encrypter,
|
67
|
+
comment: %(A property linking an encrypted document to the public key that was used to encrypt it.).freeze,
|
68
|
+
domain: "wot:EncryptedDocument".freeze,
|
69
|
+
label: "Encrypted by".freeze,
|
70
|
+
range: "wot:PubKey".freeze,
|
71
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
72
|
+
type: "owl:FunctionalProperty".freeze,
|
73
|
+
"vs:term_status" => %(unstable).freeze
|
74
|
+
property :fingerprint,
|
75
|
+
comment: %(A public key hex fingerprint string \(40 digits, white space insignificant\).).freeze,
|
76
|
+
domain: "wot:PubKey".freeze,
|
77
|
+
label: "Fingerprint".freeze,
|
78
|
+
range: "xsd:string".freeze,
|
79
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
80
|
+
type: "owl:DatatypeProperty".freeze,
|
81
|
+
"vs:term_status" => %(testing).freeze
|
82
|
+
property :hasKey,
|
83
|
+
comment: %(A property to link a PubKey from a User).freeze,
|
84
|
+
domain: "wot:User".freeze,
|
85
|
+
label: "has Key".freeze,
|
86
|
+
"owl:inverseOf" => %(wot:identity).freeze,
|
87
|
+
range: "wot:PubKey".freeze,
|
88
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
89
|
+
type: "owl:ObjectProperty".freeze,
|
90
|
+
"vs:term_status" => %(testing).freeze
|
91
|
+
property :hex_id,
|
92
|
+
comment: %(A public key hex identifier string \(8 digits\).).freeze,
|
93
|
+
domain: "wot:PubKey".freeze,
|
94
|
+
label: "Hex identifier".freeze,
|
95
|
+
range: "xsd:string".freeze,
|
96
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
97
|
+
type: "owl:DatatypeProperty".freeze,
|
98
|
+
"vs:term_status" => %(stable).freeze
|
99
|
+
property :identity,
|
100
|
+
comment: %(A property linking a public key to the user of the key.).freeze,
|
101
|
+
domain: "wot:PubKey".freeze,
|
102
|
+
label: "Identity".freeze,
|
103
|
+
range: "wot:User".freeze,
|
104
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
105
|
+
type: "owl:FunctionalProperty".freeze,
|
106
|
+
"vs:term_status" => %(testing).freeze
|
107
|
+
property :length,
|
108
|
+
comment: %(A numeric string representing the length, in bytes, of a public key.).freeze,
|
109
|
+
domain: "wot:PubKey".freeze,
|
110
|
+
label: "Length".freeze,
|
111
|
+
range: "xsd:integer".freeze,
|
112
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
113
|
+
type: "owl:DatatypeProperty".freeze,
|
114
|
+
"vs:term_status" => %(stable).freeze
|
115
|
+
property :pubkeyAddress,
|
116
|
+
comment: %(The location of an ascii version of a public key.).freeze,
|
117
|
+
domain: "wot:PubKey".freeze,
|
118
|
+
label: "Address".freeze,
|
119
|
+
range: "foaf:Document".freeze,
|
120
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
121
|
+
type: "owl:ObjectProperty".freeze,
|
122
|
+
"vs:term_status" => %(testing).freeze
|
123
|
+
property :sigdate,
|
124
|
+
comment: %(The date of a public key signature event.).freeze,
|
125
|
+
domain: "wot:SigEvent".freeze,
|
126
|
+
label: "Signature date".freeze,
|
127
|
+
range: "xsd:date".freeze,
|
128
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
129
|
+
type: "owl:DatatypeProperty".freeze,
|
130
|
+
"vs:term_status" => %(testing).freeze
|
131
|
+
property :signed,
|
132
|
+
comment: %(A property linking a public key to a public key signature event.).freeze,
|
133
|
+
domain: "wot:PubKey".freeze,
|
134
|
+
label: "Signed".freeze,
|
135
|
+
range: "wot:SigEvent".freeze,
|
136
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
137
|
+
type: "owl:ObjectProperty".freeze,
|
138
|
+
"vs:term_status" => %(testing).freeze
|
139
|
+
property :signer,
|
140
|
+
comment: %(A property linking a public key signature event to the public key that was used to sign.).freeze,
|
141
|
+
domain: "wot:SigEvent".freeze,
|
142
|
+
label: "Signer".freeze,
|
143
|
+
range: "wot:PubKey".freeze,
|
144
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
145
|
+
type: "owl:FunctionalProperty".freeze,
|
146
|
+
"vs:term_status" => %(unstable).freeze
|
147
|
+
property :sigtime,
|
148
|
+
comment: %(The time \(of day\) of a public key signature event.).freeze,
|
149
|
+
domain: "wot:SigEvent".freeze,
|
150
|
+
label: "Signature time".freeze,
|
151
|
+
range: "xsd:time".freeze,
|
152
|
+
"rdfs:isDefinedBy" => %(wot:).freeze,
|
153
|
+
type: "owl:DatatypeProperty".freeze,
|
154
|
+
"vs:term_status" => %(unstable).freeze
|
155
|
+
|
156
|
+
# Extra definitions
|
157
|
+
term :"",
|
158
|
+
"dc11:date" => %(2004-02-23).freeze,
|
159
|
+
"dc11:description" => %(Web Of Trust \(wot\) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language.).freeze,
|
160
|
+
"dc11:title" => %(Web Of Trust vocabulary).freeze,
|
161
|
+
"owl:imports" => [%(http://www.w3.org/2000/01/rdf-schema).freeze, %(http://www.w3.org/2002/07/owl).freeze],
|
162
|
+
"rdfs:seeAlso" => %(foaf:).freeze,
|
163
|
+
type: "owl:Ontology".freeze
|
54
164
|
end
|
55
165
|
end
|
data/lib/rdf/vocab/xhtml.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
1
2
|
# This file generated automatically using vocab-fetch from http://www.w3.org/1999/xhtml#
|
2
3
|
require 'rdf'
|
3
4
|
module RDF
|
4
|
-
class XHTML <
|
5
|
+
class XHTML < Vocabulary("http://www.w3.org/1999/xhtml#")
|
5
6
|
end
|
6
7
|
end
|
data/lib/rdf/vocab/xhv.rb
CHANGED
@@ -1,239 +1,504 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
1
2
|
# This file generated automatically using vocab-fetch from http://www.w3.org/1999/xhtml/vocab#
|
2
3
|
require 'rdf'
|
3
4
|
module RDF
|
4
5
|
class XHV < Vocabulary("http://www.w3.org/1999/xhtml/vocab#")
|
5
6
|
|
6
7
|
# Property definitions
|
7
|
-
property :alert,
|
8
|
-
%(A message
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
property :
|
20
|
-
%(
|
21
|
-
|
22
|
-
|
23
|
-
%(
|
24
|
-
|
25
|
-
property :
|
26
|
-
%(
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
property :
|
37
|
-
%(
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
property :
|
60
|
-
%(
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
%(
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
%(
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
property :
|
139
|
-
%(
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
property :
|
145
|
-
%(
|
146
|
-
|
147
|
-
|
148
|
-
%(
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
%(
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
%(
|
200
|
-
|
201
|
-
property :
|
202
|
-
%(
|
203
|
-
|
204
|
-
|
205
|
-
%(
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
property :
|
214
|
-
%(
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
property :
|
224
|
-
%(
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
8
|
+
property :alert,
|
9
|
+
comment: %(A message
|
10
|
+
with important, and usually time-sensitive, information. Also see
|
11
|
+
alertdialog and status.).freeze,
|
12
|
+
label: "alert".freeze,
|
13
|
+
type: "rdf:Property".freeze
|
14
|
+
property :alertdialog,
|
15
|
+
comment: %(A
|
16
|
+
type of dialog that contains an alert message, where initial focus goes
|
17
|
+
to the dialog or an element within it. Also see alert and dialog.).freeze,
|
18
|
+
label: "alertdialog".freeze,
|
19
|
+
type: "rdf:Property".freeze
|
20
|
+
property :alternate,
|
21
|
+
comment: %(alternate designates alternate
|
22
|
+
versions for a resource.).freeze,
|
23
|
+
label: "alternate".freeze,
|
24
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
25
|
+
type: "rdf:Property".freeze
|
26
|
+
property :appendix,
|
27
|
+
comment: %(appendix refers to a resource serving
|
28
|
+
as an appendix in a collection. ).freeze,
|
29
|
+
label: "appendix".freeze,
|
30
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
31
|
+
type: "rdf:Property".freeze
|
32
|
+
property :application,
|
33
|
+
comment: %(A
|
34
|
+
region declared as a web application, as opposed to a web document.).freeze,
|
35
|
+
label: "application".freeze,
|
36
|
+
type: "rdf:Property".freeze
|
37
|
+
property :article,
|
38
|
+
comment: %(A
|
39
|
+
section of a page consisting of an independent part of a document, page,
|
40
|
+
or site.).freeze,
|
41
|
+
label: "article".freeze,
|
42
|
+
type: "rdf:Property".freeze
|
43
|
+
property :banner,
|
44
|
+
comment: %(banner contains the prime heading or
|
45
|
+
internal title of a page. ).freeze,
|
46
|
+
label: "banner".freeze,
|
47
|
+
"rdfs:member" => %(xhv:role-properties).freeze,
|
48
|
+
type: "rdf:Property".freeze
|
49
|
+
property :bookmark,
|
50
|
+
comment: %(bookmark refers to a bookmark - a link
|
51
|
+
to a key entry point within an extended document. ).freeze,
|
52
|
+
label: "bookmark".freeze,
|
53
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
54
|
+
type: "rdf:Property".freeze
|
55
|
+
property :button,
|
56
|
+
comment: %(An input
|
57
|
+
that allows for user-triggered actions when clicked or pressed.).freeze,
|
58
|
+
label: "button".freeze,
|
59
|
+
type: "rdf:Property".freeze
|
60
|
+
property :chapter,
|
61
|
+
comment: %(chapter refers to a resource serving
|
62
|
+
as a chapter in a collction. ).freeze,
|
63
|
+
label: "chapter".freeze,
|
64
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
65
|
+
type: "rdf:Property".freeze
|
66
|
+
property :checkbox,
|
67
|
+
comment: %(An
|
68
|
+
checkable input that has three possible values: true, false, or
|
69
|
+
mixed.).freeze,
|
70
|
+
label: "checkbox".freeze,
|
71
|
+
type: "rdf:Property".freeze
|
72
|
+
property :cite,
|
73
|
+
comment: %(cite refers to a resource that defines
|
74
|
+
a citation. ).freeze,
|
75
|
+
label: "cite".freeze,
|
76
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
77
|
+
type: "rdf:Property".freeze
|
78
|
+
property :columnheader,
|
79
|
+
comment: %(A
|
80
|
+
cell containing header information for a column.).freeze,
|
81
|
+
label: "columnheader".freeze,
|
82
|
+
type: "rdf:Property".freeze
|
83
|
+
property :combobox,
|
84
|
+
comment: %(A
|
85
|
+
presentation of a select; usually similar to a textbox where users can
|
86
|
+
type ahead to select an option, or type to enter arbitrary text as a new
|
87
|
+
item in the list.).freeze,
|
88
|
+
label: "combobox".freeze,
|
89
|
+
type: "rdf:Property".freeze
|
90
|
+
property :complementary,
|
91
|
+
comment: %(secondary indicates that the section
|
92
|
+
supports but is separable from the main content of resource.).freeze,
|
93
|
+
label: "complementary".freeze,
|
94
|
+
"rdfs:member" => %(xhv:role-properties).freeze,
|
95
|
+
type: "rdf:Property".freeze
|
96
|
+
property :contentinfo,
|
97
|
+
comment: %(contentinfo has meta information about
|
98
|
+
the content on the page or the page as a whole.).freeze,
|
99
|
+
label: "contentinfo".freeze,
|
100
|
+
"rdfs:member" => %(xhv:role-properties).freeze,
|
101
|
+
type: "rdf:Property".freeze
|
102
|
+
property :contents,
|
103
|
+
comment: %(contents refers to a resource serving
|
104
|
+
as a table of contents. ).freeze,
|
105
|
+
label: "contents".freeze,
|
106
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
107
|
+
type: "rdf:Property".freeze
|
108
|
+
property :copyright,
|
109
|
+
comment: %(copyright refers to a copyright
|
110
|
+
statement for the resource. ).freeze,
|
111
|
+
label: "copyright".freeze,
|
112
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
113
|
+
type: "rdf:Property".freeze
|
114
|
+
property :definition,
|
115
|
+
comment: %(definition indicates the definition of
|
116
|
+
a term or concept.).freeze,
|
117
|
+
label: "definition".freeze,
|
118
|
+
"rdfs:member" => %(xhv:role-properties).freeze,
|
119
|
+
type: "rdf:Property".freeze
|
120
|
+
property :dialog,
|
121
|
+
comment: %(A dialog
|
122
|
+
is an application window that is designed to interrupt the current
|
123
|
+
processing of an application in order to prompt the user to enter
|
124
|
+
information or require a response. Also see alertdialog.).freeze,
|
125
|
+
label: "dialog".freeze,
|
126
|
+
type: "rdf:Property".freeze
|
127
|
+
property :directory,
|
128
|
+
comment: %(A list
|
129
|
+
of references to members of a group, such as a static table of
|
130
|
+
contents.).freeze,
|
131
|
+
label: "directory".freeze,
|
132
|
+
type: "rdf:Property".freeze
|
133
|
+
property :document,
|
134
|
+
comment: %(A
|
135
|
+
region containing related information that is declared as document
|
136
|
+
content, as opposed to a web application.).freeze,
|
137
|
+
label: "document".freeze,
|
138
|
+
type: "rdf:Property".freeze
|
139
|
+
property :first,
|
140
|
+
comment: %(first refers the first item in a
|
141
|
+
collection \(see also start and top\).).freeze,
|
142
|
+
label: "first".freeze,
|
143
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
144
|
+
type: "rdf:Property".freeze
|
145
|
+
property :glossary,
|
146
|
+
comment: %(glossary refers to a resource
|
147
|
+
providing a glossary of terms. ).freeze,
|
148
|
+
label: "glossary".freeze,
|
149
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
150
|
+
type: "rdf:Property".freeze
|
151
|
+
property :grid,
|
152
|
+
comment: %(A grid
|
153
|
+
contains cells of tabular data arranged in rows and columns, like a
|
154
|
+
table.).freeze,
|
155
|
+
label: "grid".freeze,
|
156
|
+
type: "rdf:Property".freeze
|
157
|
+
property :gridcell,
|
158
|
+
comment: %(A cell
|
159
|
+
in a grid or treegrid.).freeze,
|
160
|
+
label: "gridcell".freeze,
|
161
|
+
type: "rdf:Property".freeze
|
162
|
+
property :group,
|
163
|
+
comment: %(A set of
|
164
|
+
user interface objects which would not be included in a page summary or
|
165
|
+
table of contents by an assistive technology.).freeze,
|
166
|
+
label: "group".freeze,
|
167
|
+
type: "rdf:Property".freeze
|
168
|
+
property :heading,
|
169
|
+
comment: %(A
|
170
|
+
heading for a section of the page.).freeze,
|
171
|
+
label: "heading".freeze,
|
172
|
+
type: "rdf:Property".freeze
|
173
|
+
property :help,
|
174
|
+
comment: %(help refers to a resource offering
|
175
|
+
help. ).freeze,
|
176
|
+
label: "help".freeze,
|
177
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
178
|
+
type: "rdf:Property".freeze
|
179
|
+
property :icon,
|
180
|
+
comment: %(icon refers to a resource that
|
181
|
+
represents an icon. ).freeze,
|
182
|
+
label: "icon".freeze,
|
183
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
184
|
+
type: "rdf:Property".freeze
|
185
|
+
property :img,
|
186
|
+
comment: %(A container
|
187
|
+
for a collection of elements that form an image.).freeze,
|
188
|
+
label: "img".freeze,
|
189
|
+
type: "rdf:Property".freeze
|
190
|
+
property :index,
|
191
|
+
comment: %(index refers to a resource providing
|
192
|
+
an index. ).freeze,
|
193
|
+
label: "index".freeze,
|
194
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
195
|
+
type: "rdf:Property".freeze
|
196
|
+
property :itsRules,
|
197
|
+
comment: %(itsRules indicates that the designated
|
198
|
+
resource is an [ITS] rule set.).freeze,
|
199
|
+
label: "itsRules".freeze,
|
200
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
201
|
+
type: "rdf:Property".freeze
|
202
|
+
property :last,
|
203
|
+
comment: %(last refers to the last resource in a
|
204
|
+
collection of resources. ).freeze,
|
205
|
+
label: "last".freeze,
|
206
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
207
|
+
type: "rdf:Property".freeze
|
208
|
+
property :license,
|
209
|
+
comment: %(license refers to a resource that
|
210
|
+
defines the associated license. ).freeze,
|
211
|
+
label: "license".freeze,
|
212
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
213
|
+
type: "rdf:Property".freeze
|
214
|
+
property :link,
|
215
|
+
comment: %(An
|
216
|
+
interactive reference to an internal or external resource.).freeze,
|
217
|
+
label: "link".freeze,
|
218
|
+
type: "rdf:Property".freeze
|
219
|
+
property :list,
|
220
|
+
comment: %(A group of
|
221
|
+
non-interactive list items.).freeze,
|
222
|
+
label: "list".freeze,
|
223
|
+
type: "rdf:Property".freeze
|
224
|
+
property :listbox,
|
225
|
+
comment: %(A widget
|
226
|
+
that allows the user to select one or more items from a list of
|
227
|
+
choices.).freeze,
|
228
|
+
label: "listbox".freeze,
|
229
|
+
type: "rdf:Property".freeze
|
230
|
+
property :listitem,
|
231
|
+
comment: %(A
|
232
|
+
single item in a list, listbox, or directory.).freeze,
|
233
|
+
label: "listitem".freeze,
|
234
|
+
type: "rdf:Property".freeze
|
235
|
+
property :log,
|
236
|
+
comment: %(A type of
|
237
|
+
live region where new information is added in meaningful order and old
|
238
|
+
information may disappear. Also see marquee.).freeze,
|
239
|
+
label: "log".freeze,
|
240
|
+
type: "rdf:Property".freeze
|
241
|
+
property :main,
|
242
|
+
comment: %(main acts as the main content of the
|
243
|
+
document. ).freeze,
|
244
|
+
label: "main".freeze,
|
245
|
+
"rdfs:member" => %(xhv:role-properties).freeze,
|
246
|
+
type: "rdf:Property".freeze
|
247
|
+
property :marquee,
|
248
|
+
comment: %(A type
|
249
|
+
of live region where non-essential information changes frequently. Also
|
250
|
+
see log.).freeze,
|
251
|
+
label: "marquee".freeze,
|
252
|
+
type: "rdf:Property".freeze
|
253
|
+
property :math,
|
254
|
+
comment: %(An element
|
255
|
+
that represents a mathematical expression.).freeze,
|
256
|
+
label: "math".freeze,
|
257
|
+
type: "rdf:Property".freeze
|
258
|
+
property :menu,
|
259
|
+
comment: %(A type of
|
260
|
+
widget that offers a list of choices to the user.).freeze,
|
261
|
+
label: "menu".freeze,
|
262
|
+
type: "rdf:Property".freeze
|
263
|
+
property :menubar,
|
264
|
+
comment: %(A
|
265
|
+
presentation of menu that usually remains visible and is usually
|
266
|
+
presented horizontally.).freeze,
|
267
|
+
label: "menubar".freeze,
|
268
|
+
type: "rdf:Property".freeze
|
269
|
+
property :menuitem,
|
270
|
+
comment: %(An
|
271
|
+
option in a group of choices contained by a menu or menubar.).freeze,
|
272
|
+
label: "menuitem".freeze,
|
273
|
+
type: "rdf:Property".freeze
|
274
|
+
property :menuitemcheckbox,
|
275
|
+
comment: %(A checkable menuitem that has three possible
|
276
|
+
values: true, false, or mixed.).freeze,
|
277
|
+
label: "menuitemcheckbox".freeze,
|
278
|
+
type: "rdf:Property".freeze
|
279
|
+
property :menuitemradio,
|
280
|
+
comment: %(A
|
281
|
+
checkable menuitem in a group of menuitemradio roles, only one of which
|
282
|
+
can be checked at a time.).freeze,
|
283
|
+
label: "menuitemradio".freeze,
|
284
|
+
type: "rdf:Property".freeze
|
285
|
+
property :meta,
|
286
|
+
comment: %(meta refers to a resource that
|
287
|
+
provides metadata. ).freeze,
|
288
|
+
label: "meta".freeze,
|
289
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
290
|
+
type: "rdf:Property".freeze
|
291
|
+
property :navigation,
|
292
|
+
comment: %(navigation indicates a collection of
|
293
|
+
items suitable for navigating the document or related documents.).freeze,
|
294
|
+
label: "navigation".freeze,
|
295
|
+
"rdfs:member" => %(xhv:role-properties).freeze,
|
296
|
+
type: "rdf:Property".freeze
|
297
|
+
property :next,
|
298
|
+
comment: %(next refers to the next resource
|
299
|
+
\(after the current one\) in an ordered collection of resources. ).freeze,
|
300
|
+
label: "next".freeze,
|
301
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
302
|
+
type: "rdf:Property".freeze
|
303
|
+
property :note,
|
304
|
+
comment: %(note indicates the content is
|
305
|
+
parenthetic or ancillary to the main content of the resource. ).freeze,
|
306
|
+
label: "note".freeze,
|
307
|
+
"rdfs:member" => %(xhv:role-properties).freeze,
|
308
|
+
type: "rdf:Property".freeze
|
309
|
+
property :option,
|
310
|
+
comment: %(A
|
311
|
+
selectable item in a select list.).freeze,
|
312
|
+
label: "option".freeze,
|
313
|
+
type: "rdf:Property".freeze
|
314
|
+
property :p3pv1,
|
315
|
+
comment: %(p3pv1 refers to a P3P Policy Reference
|
316
|
+
File [P3P]. ).freeze,
|
317
|
+
label: "p3pv1".freeze,
|
318
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
319
|
+
type: "rdf:Property".freeze
|
320
|
+
property :presentation,
|
321
|
+
comment: %(An
|
322
|
+
element whose role is presentational and does not need to be mapped to
|
323
|
+
the accessibility API.).freeze,
|
324
|
+
label: "presentation".freeze,
|
325
|
+
type: "rdf:Property".freeze
|
326
|
+
property :prev,
|
327
|
+
comment: %(prev refers to a previous resource
|
328
|
+
\(before the current one\) in an ordered collection of resources. ).freeze,
|
329
|
+
label: "prev".freeze,
|
330
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
331
|
+
type: "rdf:Property".freeze
|
332
|
+
property :progressbar,
|
333
|
+
comment: %(An
|
334
|
+
element that displays the progress status for tasks that take a long
|
335
|
+
time.).freeze,
|
336
|
+
label: "progressbar".freeze,
|
337
|
+
type: "rdf:Property".freeze
|
338
|
+
property :radio,
|
339
|
+
comment: %(A
|
340
|
+
checkable input in a group of radio roles, only one of which can be
|
341
|
+
checked at a time.).freeze,
|
342
|
+
label: "radio".freeze,
|
343
|
+
type: "rdf:Property".freeze
|
344
|
+
property :radiogroup,
|
345
|
+
comment: %(A
|
346
|
+
group of radio buttons.).freeze,
|
347
|
+
label: "radiogroup".freeze,
|
348
|
+
type: "rdf:Property".freeze
|
349
|
+
property :region,
|
350
|
+
comment: %(A large
|
351
|
+
perceivable section of a web page or document, that the author feels
|
352
|
+
should be included in a summary of page features.).freeze,
|
353
|
+
label: "region".freeze,
|
354
|
+
type: "rdf:Property".freeze
|
355
|
+
property :row,
|
356
|
+
comment: %(A row of
|
357
|
+
cells in a grid.).freeze,
|
358
|
+
label: "row".freeze,
|
359
|
+
type: "rdf:Property".freeze
|
360
|
+
property :rowheader,
|
361
|
+
comment: %(A cell
|
362
|
+
containing header information for a row in a grid.).freeze,
|
363
|
+
label: "rowheader".freeze,
|
364
|
+
type: "rdf:Property".freeze
|
365
|
+
property :search,
|
366
|
+
comment: %(search indicates that the section
|
367
|
+
provides a search facility. ).freeze,
|
368
|
+
label: "search".freeze,
|
369
|
+
"rdfs:member" => %(xhv:role-properties).freeze,
|
370
|
+
type: "rdf:Property".freeze
|
371
|
+
property :section,
|
372
|
+
comment: %(section refers to a resource serving
|
373
|
+
as a section in a collection. ).freeze,
|
374
|
+
label: "section".freeze,
|
375
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
376
|
+
type: "rdf:Property".freeze
|
377
|
+
property :separator,
|
378
|
+
comment: %(A
|
379
|
+
divider that separates and distinguishes sections of content or groups of
|
380
|
+
menuitems.).freeze,
|
381
|
+
label: "separator".freeze,
|
382
|
+
type: "rdf:Property".freeze
|
383
|
+
property :slider,
|
384
|
+
comment: %(A user
|
385
|
+
input where the user selects a value from within a given range.).freeze,
|
386
|
+
label: "slider".freeze,
|
387
|
+
type: "rdf:Property".freeze
|
388
|
+
property :spinbutton,
|
389
|
+
comment: %(A
|
390
|
+
form of range that expects a user to select from amongst discrete
|
391
|
+
choices.).freeze,
|
392
|
+
label: "spinbutton".freeze,
|
393
|
+
type: "rdf:Property".freeze
|
394
|
+
property :start,
|
395
|
+
comment: %(start refers to the first resource in
|
396
|
+
a collection of resources. ).freeze,
|
397
|
+
label: "start".freeze,
|
398
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
399
|
+
type: "rdf:Property".freeze
|
400
|
+
property :status,
|
401
|
+
comment: %(A
|
402
|
+
container whose content is advisory information for the user but is not
|
403
|
+
important enough to justify an alert. Also see alert.).freeze,
|
404
|
+
label: "status".freeze,
|
405
|
+
type: "rdf:Property".freeze
|
406
|
+
property :stylesheet,
|
407
|
+
comment: %(stylesheet refers to a resource
|
408
|
+
serving as a stylesheet for a resource. ).freeze,
|
409
|
+
label: "stylesheet".freeze,
|
410
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
411
|
+
type: "rdf:Property".freeze
|
412
|
+
property :subsection,
|
413
|
+
comment: %(subsection refers to a resource
|
414
|
+
serving as a subsection in a collection. ).freeze,
|
415
|
+
label: "subsection".freeze,
|
416
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
417
|
+
type: "rdf:Property".freeze
|
418
|
+
property :tab,
|
419
|
+
comment: %(A header for
|
420
|
+
a tabpanel.).freeze,
|
421
|
+
label: "tab".freeze,
|
422
|
+
type: "rdf:Property".freeze
|
423
|
+
property :tablist,
|
424
|
+
comment: %(A list
|
425
|
+
of tab elements, which are references to tabpanel elements.).freeze,
|
426
|
+
label: "tablist".freeze,
|
427
|
+
type: "rdf:Property".freeze
|
428
|
+
property :tabpanel,
|
429
|
+
comment: %(A
|
430
|
+
container for the resources associated with a tab.).freeze,
|
431
|
+
label: "tabpanel".freeze,
|
432
|
+
type: "rdf:Property".freeze
|
433
|
+
property :textbox,
|
434
|
+
comment: %(Input
|
435
|
+
that allows free-form text as their value.).freeze,
|
436
|
+
label: "textbox".freeze,
|
437
|
+
type: "rdf:Property".freeze
|
438
|
+
property :timer,
|
439
|
+
comment: %(A
|
440
|
+
numerical counter which indicates an amount of elapsed time from a start
|
441
|
+
point, or the time remaining until an end point.).freeze,
|
442
|
+
label: "timer".freeze,
|
443
|
+
type: "rdf:Property".freeze
|
444
|
+
property :toolbar,
|
445
|
+
comment: %(A
|
446
|
+
collection of commonly used function buttons represented in compact
|
447
|
+
visual form.).freeze,
|
448
|
+
label: "toolbar".freeze,
|
449
|
+
type: "rdf:Property".freeze
|
450
|
+
property :tooltip,
|
451
|
+
comment: %(A
|
452
|
+
contextual popup that displays a description for an element in a mouse
|
453
|
+
hover or keyboard focused state. Supplement to the normal tooltip
|
454
|
+
processing of the user agent.).freeze,
|
455
|
+
label: "tooltip".freeze,
|
456
|
+
type: "rdf:Property".freeze
|
457
|
+
property :top,
|
458
|
+
comment: %(top is a synonym for start. ).freeze,
|
459
|
+
label: "top".freeze,
|
460
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
461
|
+
type: "rdf:Property".freeze
|
462
|
+
property :tree,
|
463
|
+
comment: %(A type of
|
464
|
+
list that may contain sub-level nested groups that can be collapsed and
|
465
|
+
expanded.).freeze,
|
466
|
+
label: "tree".freeze,
|
467
|
+
type: "rdf:Property".freeze
|
468
|
+
property :treegrid,
|
469
|
+
comment: %(A grid
|
470
|
+
whose rows can be expanded and collapsed in the same manner as for a
|
471
|
+
tree.).freeze,
|
472
|
+
label: "treegrid".freeze,
|
473
|
+
type: "rdf:Property".freeze
|
474
|
+
property :treeitem,
|
475
|
+
comment: %(An
|
476
|
+
option item of a tree. This is an element within a tree that may be
|
477
|
+
expanded or collapsed if it contains a sub-level group of treeitems.).freeze,
|
478
|
+
label: "treeitem".freeze,
|
479
|
+
type: "rdf:Property".freeze
|
480
|
+
property :up,
|
481
|
+
comment: %(up refers to a resource "above" in a
|
482
|
+
hierarchically structured set. ).freeze,
|
483
|
+
label: "up".freeze,
|
484
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
485
|
+
type: "rdf:Property".freeze
|
486
|
+
|
487
|
+
# Extra definitions
|
488
|
+
term :"relrev-properties",
|
489
|
+
label: "relrev-properties".freeze,
|
490
|
+
"rdfs:member" => %(xhv:role-properties).freeze,
|
491
|
+
type: "rdf:Bag".freeze
|
492
|
+
term :role,
|
493
|
+
comment: %(role indicates the purpose of the
|
494
|
+
resource. See the XHTML Role
|
495
|
+
Vocabulary for roles in this vocabulary space, and XHTMLROLE for information on extending the
|
496
|
+
collection of roles. ).freeze,
|
497
|
+
label: "role".freeze,
|
498
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
499
|
+
type: "rdf:Bag".freeze
|
500
|
+
term :"role-properties",
|
501
|
+
label: "role-properties".freeze,
|
502
|
+
type: "rdf:Bag".freeze
|
238
503
|
end
|
239
504
|
end
|