rdf 1.1.3 → 1.1.4

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.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/CREDITS +1 -0
  3. data/VERSION +1 -1
  4. data/lib/rdf.rb +10 -48
  5. data/lib/rdf/cli/vocab-loader.rb +78 -142
  6. data/lib/rdf/mixin/enumerable.rb +25 -0
  7. data/lib/rdf/mixin/mutable.rb +3 -0
  8. data/lib/rdf/model/graph.rb +1 -1
  9. data/lib/rdf/model/node.rb +25 -2
  10. data/lib/rdf/model/statement.rb +20 -12
  11. data/lib/rdf/model/uri.rb +11 -2
  12. data/lib/rdf/nquads.rb +8 -6
  13. data/lib/rdf/ntriples/writer.rb +14 -10
  14. data/lib/rdf/query/pattern.rb +10 -8
  15. data/lib/rdf/reader.rb +11 -2
  16. data/lib/rdf/repository.rb +1 -1
  17. data/lib/rdf/vocab.rb +396 -96
  18. data/lib/rdf/vocab/cc.rb +117 -25
  19. data/lib/rdf/vocab/cert.rb +230 -117
  20. data/lib/rdf/vocab/dc.rb +930 -233
  21. data/lib/rdf/vocab/dc11.rb +151 -37
  22. data/lib/rdf/vocab/doap.rb +326 -114
  23. data/lib/rdf/vocab/exif.rb +930 -533
  24. data/lib/rdf/vocab/foaf.rb +602 -346
  25. data/lib/rdf/vocab/geo.rb +139 -33
  26. data/lib/rdf/vocab/gr.rb +1551 -1084
  27. data/lib/rdf/vocab/ht.rb +319 -0
  28. data/lib/rdf/vocab/ical.rb +507 -349
  29. data/lib/rdf/vocab/ma.rb +504 -280
  30. data/lib/rdf/vocab/mo.rb +2425 -876
  31. data/lib/rdf/vocab/og.rb +178 -90
  32. data/lib/rdf/vocab/owl.rb +513 -219
  33. data/lib/rdf/vocab/prov.rb +1557 -479
  34. data/lib/rdf/vocab/rdfs.rb +107 -31
  35. data/lib/rdf/vocab/rdfv.rb +165 -0
  36. data/lib/rdf/vocab/rsa.rb +61 -18
  37. data/lib/rdf/vocab/rss.rb +55 -22
  38. data/lib/rdf/vocab/schema.rb +8590 -3995
  39. data/lib/rdf/vocab/sioc.rb +657 -218
  40. data/lib/rdf/vocab/skos.rb +227 -134
  41. data/lib/rdf/vocab/skosxl.rb +47 -33
  42. data/lib/rdf/vocab/vcard.rb +693 -327
  43. data/lib/rdf/vocab/void.rb +175 -132
  44. data/lib/rdf/vocab/vs.rb +27 -0
  45. data/lib/rdf/vocab/wdrs.rb +123 -119
  46. data/lib/rdf/vocab/wot.rb +155 -45
  47. data/lib/rdf/vocab/xhtml.rb +2 -1
  48. data/lib/rdf/vocab/xhv.rb +496 -231
  49. data/lib/rdf/vocab/xsd.rb +382 -53
  50. data/lib/rdf/writer.rb +8 -4
  51. metadata +5 -4
  52. data/lib/rdf/vocab/http.rb +0 -84
  53. 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
- property :EncryptedDocument, :label => 'Encrypted Document', :comment =>
8
- %(An encrypted document intended for a set of recipients.)
9
- property :Endorsement, :label => 'Endorsement', :comment =>
10
- %(An endorsement resource containing a detached ascii signature.)
11
- property :SigEvent, :label => 'Key Signing Event', :comment =>
12
- %(An event describing the action of a public key being signed by
13
- some other public key.)
14
- property :User, :label => 'Key User', :comment =>
15
- %(A user \(agent, person, group or organization\) of a PGP/GPG
16
- public key.)
17
- property :PubKey, :label => 'Public Key', :comment =>
18
- %(A class used to represent a PGP/GPG public key for a user \(an
19
- agent, person, group or organization\).)
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 :fingerprint, :label => 'Fingerprint', :comment =>
23
- %(A public key hex fingerprint string \(40 digits, white space
24
- insignificant\).)
25
- property :hex_id, :label => 'Hex identifier', :comment =>
26
- %(A public key hex identifier string \(8 digits\).)
27
- property :length, :label => 'Length', :comment =>
28
- %(A numeric string representing the length, in bytes, of a
29
- public key.)
30
- property :sigdate, :label => 'Signature date', :comment =>
31
- %(The date of a public key signature event.)
32
- property :sigtime, :label => 'Signature time', :comment =>
33
- %(The time \(of day\) of a public key signature event.)
34
- property :pubkeyAddress, :label => 'Address', :comment =>
35
- %(The location of an ascii version of a public key.)
36
- property :assurance, :label => 'Assurance', :comment =>
37
- %(A property linking a document to an endorsement resource
38
- containing a detached ascii signature.)
39
- property :encrypter, :label => 'Encrypted by', :comment =>
40
- %(A property linking an encrypted document to the public key
41
- that was used to encrypt it.)
42
- property :encryptedTo, :label => 'Encrypted to', :comment =>
43
- %(A property linking an encrypted document to a recipient.)
44
- property :identity, :label => 'Identity', :comment =>
45
- %(A property linking a public key to the user of the key.)
46
- property :signed, :label => 'Signed', :comment =>
47
- %(A property linking a public key to a public key signature
48
- event.)
49
- property :signer, :label => 'Signer', :comment =>
50
- %(A property linking a public key signature event to the public
51
- key that was used to sign.)
52
- property :hasKey, :label => 'has Key', :comment =>
53
- %(A property to link a PubKey from a User)
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
@@ -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 < StrictVocabulary("http://www.w3.org/1999/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, :comment =>
8
- %(A message with important, and usually time-sensitive,
9
- information. Also see alertdialog and status.)
10
- property :alertdialog, :comment =>
11
- %(A type of dialog that contains an alert message, where initial
12
- focus goes to the dialog or an element within it. Also see
13
- alert and dialog.)
14
- property :alternate, :comment =>
15
- %(alternate designates alternate versions for a resource.)
16
- property :appendix, :comment =>
17
- %(appendix refers to a resource serving as an appendix in a
18
- collection.)
19
- property :application, :comment =>
20
- %(A region declared as a web application, as opposed to a web
21
- document.)
22
- property :article, :comment =>
23
- %(A section of a page consisting of an independent part of a
24
- document, page, or site.)
25
- property :banner, :comment =>
26
- %(banner contains the prime heading or internal title of a page.)
27
- property :bookmark, :comment =>
28
- %(bookmark refers to a bookmark - a link to a key entry point
29
- within an extended document.)
30
- property :button, :comment =>
31
- %(An input that allows for user-triggered actions when clicked
32
- or pressed.)
33
- property :chapter, :comment =>
34
- %(chapter refers to a resource serving as a chapter in a
35
- collction.)
36
- property :checkbox, :comment =>
37
- %(An checkable input that has three possible values: true,
38
- false, or mixed.)
39
- property :cite, :comment =>
40
- %(cite refers to a resource that defines a citation.)
41
- property :columnheader, :comment =>
42
- %(A cell containing header information for a column.)
43
- property :combobox, :comment =>
44
- %(A presentation of a select; usually similar to a textbox where
45
- users can type ahead to select an option, or type to enter
46
- arbitrary text as a new item in the list.)
47
- property :complementary, :comment =>
48
- %(secondary indicates that the section supports but is separable
49
- from the main content of resource.)
50
- property :contentinfo, :comment =>
51
- %(contentinfo has meta information about the content on the page
52
- or the page as a whole.)
53
- property :contents, :comment =>
54
- %(contents refers to a resource serving as a table of contents.)
55
- property :copyright, :comment =>
56
- %(copyright refers to a copyright statement for the resource.)
57
- property :definition, :comment =>
58
- %(definition indicates the definition of a term or concept.)
59
- property :dialog, :comment =>
60
- %(A dialog is an application window that is designed to
61
- interrupt the current processing of an application in order to
62
- prompt the user to enter information or require a response.
63
- Also see alertdialog.)
64
- property :directory, :comment =>
65
- %(A list of references to members of a group, such as a static
66
- table of contents.)
67
- property :document, :comment =>
68
- %(A region containing related information that is declared as
69
- document content, as opposed to a web application.)
70
- property :first, :comment =>
71
- %(first refers the first item in a collection \(see also start
72
- and top\).)
73
- property :glossary, :comment =>
74
- %(glossary refers to a resource providing a glossary of terms.)
75
- property :grid, :comment =>
76
- %(A grid contains cells of tabular data arranged in rows and
77
- columns, like a table.)
78
- property :gridcell, :comment =>
79
- %(A cell in a grid or treegrid.)
80
- property :group, :comment =>
81
- %(A set of user interface objects which would not be included in
82
- a page summary or table of contents by an assistive
83
- technology.)
84
- property :heading, :comment =>
85
- %(A heading for a section of the page.)
86
- property :help, :comment =>
87
- %(help refers to a resource offering help.)
88
- property :icon, :comment =>
89
- %(icon refers to a resource that represents an icon.)
90
- property :img, :comment =>
91
- %(A container for a collection of elements that form an image.)
92
- property :index, :comment =>
93
- %(index refers to a resource providing an index.)
94
- property :itsRules, :comment =>
95
- %(itsRules indicates that the designated resource is an [ITS]
96
- rule set.)
97
- property :last, :comment =>
98
- %(last refers to the last resource in a collection of resources.)
99
- property :license, :comment =>
100
- %(license refers to a resource that defines the associated
101
- license.)
102
- property :link, :comment =>
103
- %(An interactive reference to an internal or external resource.)
104
- property :list, :comment =>
105
- %(A group of non-interactive list items.)
106
- property :listbox, :comment =>
107
- %(A widget that allows the user to select one or more items from
108
- a list of choices.)
109
- property :listitem, :comment =>
110
- %(A single item in a list, listbox, or directory.)
111
- property :log, :comment =>
112
- %(A type of live region where new information is added in
113
- meaningful order and old information may disappear. Also see
114
- marquee.)
115
- property :main, :comment =>
116
- %(main acts as the main content of the document.)
117
- property :marquee, :comment =>
118
- %(A type of live region where non-essential information changes
119
- frequently. Also see log.)
120
- property :math, :comment =>
121
- %(An element that represents a mathematical expression.)
122
- property :menu, :comment =>
123
- %(A type of widget that offers a list of choices to the user.)
124
- property :menubar, :comment =>
125
- %(A presentation of menu that usually remains visible and is
126
- usually presented horizontally.)
127
- property :menuitem, :comment =>
128
- %(An option in a group of choices contained by a menu or
129
- menubar.)
130
- property :menuitemcheckbox, :comment =>
131
- %(A checkable menuitem that has three possible values: true,
132
- false, or mixed.)
133
- property :menuitemradio, :comment =>
134
- %(A checkable menuitem in a group of menuitemradio roles, only
135
- one of which can be checked at a time.)
136
- property :meta, :comment =>
137
- %(meta refers to a resource that provides metadata.)
138
- property :navigation, :comment =>
139
- %(navigation indicates a collection of items suitable for
140
- navigating the document or related documents.)
141
- property :next, :comment =>
142
- %(next refers to the next resource \(after the current one\) in
143
- an ordered collection of resources.)
144
- property :note, :comment =>
145
- %(note indicates the content is parenthetic or ancillary to the
146
- main content of the resource.)
147
- property :option, :comment =>
148
- %(A selectable item in a select list.)
149
- property :p3pv1, :comment =>
150
- %(p3pv1 refers to a P3P Policy Reference File [P3P].)
151
- property :presentation, :comment =>
152
- %(An element whose role is presentational and does not need to
153
- be mapped to the accessibility API.)
154
- property :prev, :comment =>
155
- %(prev refers to a previous resource \(before the current one\)
156
- in an ordered collection of resources.)
157
- property :progressbar, :comment =>
158
- %(An element that displays the progress status for tasks that
159
- take a long time.)
160
- property :radio, :comment =>
161
- %(A checkable input in a group of radio roles, only one of which
162
- can be checked at a time.)
163
- property :radiogroup, :comment =>
164
- %(A group of radio buttons.)
165
- property :region, :comment =>
166
- %(A large perceivable section of a web page or document, that
167
- the author feels should be included in a summary of page
168
- features.)
169
- property :role, :comment =>
170
- %(role indicates the purpose of the resource. See the XHTML Role
171
- Vocabulary for roles in this vocabulary space, and XHTMLROLE
172
- for information on extending the collection of roles.)
173
- property :row, :comment =>
174
- %(A row of cells in a grid.)
175
- property :rowheader, :comment =>
176
- %(A cell containing header information for a row in a grid.)
177
- property :search, :comment =>
178
- %(search indicates that the section provides a search facility.)
179
- property :section, :comment =>
180
- %(section refers to a resource serving as a section in a
181
- collection.)
182
- property :separator, :comment =>
183
- %(A divider that separates and distinguishes sections of content
184
- or groups of menuitems.)
185
- property :slider, :comment =>
186
- %(A user input where the user selects a value from within a
187
- given range.)
188
- property :spinbutton, :comment =>
189
- %(A form of range that expects a user to select from amongst
190
- discrete choices.)
191
- property :start, :comment =>
192
- %(start refers to the first resource in a collection of
193
- resources.)
194
- property :status, :comment =>
195
- %(A container whose content is advisory information for the user
196
- but is not important enough to justify an alert. Also see
197
- alert.)
198
- property :stylesheet, :comment =>
199
- %(stylesheet refers to a resource serving as a stylesheet for a
200
- resource.)
201
- property :subsection, :comment =>
202
- %(subsection refers to a resource serving as a subsection in a
203
- collection.)
204
- property :tab, :comment =>
205
- %(A header for a tabpanel.)
206
- property :tablist, :comment =>
207
- %(A list of tab elements, which are references to tabpanel
208
- elements.)
209
- property :tabpanel, :comment =>
210
- %(A container for the resources associated with a tab.)
211
- property :textbox, :comment =>
212
- %(Input that allows free-form text as their value.)
213
- property :timer, :comment =>
214
- %(A numerical counter which indicates an amount of elapsed time
215
- from a start point, or the time remaining until an end point.)
216
- property :toolbar, :comment =>
217
- %(A collection of commonly used function buttons represented in
218
- compact visual form.)
219
- property :tooltip, :comment =>
220
- %(A contextual popup that displays a description for an element
221
- in a mouse hover or keyboard focused state. Supplement to the
222
- normal tooltip processing of the user agent.)
223
- property :top, :comment =>
224
- %(top is a synonym for start.)
225
- property :tree, :comment =>
226
- %(A type of list that may contain sub-level nested groups that
227
- can be collapsed and expanded.)
228
- property :treegrid, :comment =>
229
- %(A grid whose rows can be expanded and collapsed in the same
230
- manner as for a tree.)
231
- property :treeitem, :comment =>
232
- %(An option item of a tree. This is an element within a tree
233
- that may be expanded or collapsed if it contains a sub-level
234
- group of treeitems.)
235
- property :up, :comment =>
236
- %(up refers to a resource "above" in a hierarchically structured
237
- set.)
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