rdf-vocab 3.1.1 → 3.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +69 -45
  4. data/VERSION +1 -1
  5. data/lib/rdf/vocab.rb +55 -39
  6. data/lib/rdf/vocab/acl.rb +84 -1
  7. data/lib/rdf/vocab/as.rb +466 -1
  8. data/lib/rdf/vocab/bf2.rb +1317 -1
  9. data/lib/rdf/vocab/bibframe.rb +1 -2
  10. data/lib/rdf/vocab/bibo.rb +496 -1
  11. data/lib/rdf/vocab/cc.rb +107 -1
  12. data/lib/rdf/vocab/cert.rb +68 -1
  13. data/lib/rdf/vocab/cnt.rb +79 -1
  14. data/lib/rdf/vocab/crm.rb +1303 -1
  15. data/lib/rdf/vocab/datacite.rb +1 -1
  16. data/lib/rdf/vocab/dbo.rb +10463 -1
  17. data/lib/rdf/vocab/dc.rb +470 -301
  18. data/lib/rdf/vocab/dc11.rb +88 -57
  19. data/lib/rdf/vocab/dcat.rb +153 -5
  20. data/lib/rdf/vocab/dcmitype.rb +51 -25
  21. data/lib/rdf/vocab/disco.rb +228 -1
  22. data/lib/rdf/vocab/doap.rb +175 -1
  23. data/lib/rdf/vocab/dwc.rb +753 -1
  24. data/lib/rdf/vocab/earl.rb +324 -0
  25. data/lib/rdf/vocab/ebucore.rb +7335 -1974
  26. data/lib/rdf/vocab/edm.rb +150 -1
  27. data/lib/rdf/vocab/exif.rb +650 -1
  28. data/lib/rdf/vocab/extensions.rb +265 -212
  29. data/lib/rdf/vocab/fcrepo4.rb +377 -1
  30. data/lib/rdf/vocab/foaf.rb +305 -1
  31. data/lib/rdf/vocab/geo.rb +39 -1
  32. data/lib/rdf/vocab/geojson.rb +66 -1
  33. data/lib/rdf/vocab/geonames.rb +166 -1
  34. data/lib/rdf/vocab/gr.rb +684 -1
  35. data/lib/rdf/vocab/gs1.rb +1597 -1
  36. data/lib/rdf/vocab/ht.rb +164 -1
  37. data/lib/rdf/vocab/hydra.rb +238 -4
  38. data/lib/rdf/vocab/iana.rb +230 -1
  39. data/lib/rdf/vocab/ical.rb +462 -1
  40. data/lib/rdf/vocab/identifiers.rb +462 -1
  41. data/lib/rdf/vocab/iiif.rb +136 -1
  42. data/lib/rdf/vocab/jsonld.rb +147 -3
  43. data/lib/rdf/vocab/ldp.rb +130 -1
  44. data/lib/rdf/vocab/lrmi.rb +69 -1
  45. data/lib/rdf/vocab/ma.rb +381 -1
  46. data/lib/rdf/vocab/mads.rb +610 -22
  47. data/lib/rdf/vocab/{marc_relators.rb → marcrelators.rb} +809 -1
  48. data/lib/rdf/vocab/mo.rb +919 -1
  49. data/lib/rdf/vocab/mods.rb +516 -1
  50. data/lib/rdf/vocab/nfo.rb +1 -1
  51. data/lib/rdf/vocab/oa.rb +275 -1
  52. data/lib/rdf/vocab/og.rb +100 -1
  53. data/lib/rdf/vocab/ogc.rb +34 -1
  54. data/lib/rdf/vocab/ore.rb +56 -1
  55. data/lib/rdf/vocab/org.rb +189 -1
  56. data/lib/rdf/vocab/pcdm.rb +47 -1
  57. data/lib/rdf/vocab/pplan.rb +64 -1
  58. data/lib/rdf/vocab/premis.rb +1266 -779
  59. data/lib/rdf/vocab/{premis_event_type.rb → premiseventtype.rb} +155 -1
  60. data/lib/rdf/vocab/prov.rb +619 -1
  61. data/lib/rdf/vocab/ptr.rb +138 -1
  62. data/lib/rdf/vocab/rightsstatements.rb +5 -1
  63. data/lib/rdf/vocab/rsa.rb +30 -1
  64. data/lib/rdf/vocab/rss.rb +42 -1
  65. data/lib/rdf/vocab/schema.rb +12470 -804
  66. data/lib/rdf/vocab/sd.rb +372 -0
  67. data/lib/rdf/vocab/sh.rb +736 -1
  68. data/lib/rdf/vocab/sioc.rb +401 -1
  69. data/lib/rdf/vocab/{sioc_services.rb → siocservices.rb} +38 -1
  70. data/lib/rdf/vocab/{sioct.rb → sioctypes.rb} +158 -1
  71. data/lib/rdf/vocab/skos.rb +119 -1
  72. data/lib/rdf/vocab/skosxl.rb +30 -1
  73. data/lib/rdf/vocab/v.rb +291 -1
  74. data/lib/rdf/vocab/vcard.rb +508 -1
  75. data/lib/rdf/vocab/vmd.rb +291 -1
  76. data/lib/rdf/vocab/void.rb +121 -1
  77. data/lib/rdf/vocab/vs.rb +19 -1
  78. data/lib/rdf/vocab/wdrs.rb +90 -1
  79. data/lib/rdf/vocab/wot.rb +78 -1
  80. data/lib/rdf/vocab/xhtml.rb +2 -1
  81. data/lib/rdf/vocab/xhv.rb +338 -1
  82. data/lib/rdf/vocab/xkos.rb +150 -1
  83. data/spec/extensions_spec.rb +68 -0
  84. data/spec/vocab_spec.rb +10 -0
  85. metadata +16 -8
@@ -5,9 +5,474 @@ require 'rdf'
5
5
  module RDF::Vocab
6
6
  # @!parse
7
7
  # # Vocabulary for <https://www.w3.org/ns/activitystreams#>
8
+ # #
9
+ # # Activity Streams 2.0
10
+ # #
11
+ # # Extended Activity Streams 2.0 Vocabulary
8
12
  # class AS < RDF::StrictVocabulary
13
+ # # Actor accepts the Object
14
+ # # @return [RDF::Vocabulary::Term]
15
+ # attr_reader :Accept
16
+ #
17
+ # # An Object representing some form of Action that has been taken
18
+ # # @return [RDF::Vocabulary::Term]
19
+ # attr_reader :Activity
20
+ #
21
+ # # To Add an Object or Link to Something
22
+ # # @return [RDF::Vocabulary::Term]
23
+ # attr_reader :Add
24
+ #
25
+ # # Actor announces the object to the target
26
+ # # @return [RDF::Vocabulary::Term]
27
+ # attr_reader :Announce
28
+ #
29
+ # # Represents a software application of any sort
30
+ # # @return [RDF::Vocabulary::Term]
31
+ # attr_reader :Application
32
+ #
33
+ # # To Arrive Somewhere (can be used, for instance, to indicate that a particular entity is currently located somewhere, e.g. a "check-in")
34
+ # # @return [RDF::Vocabulary::Term]
35
+ # attr_reader :Arrive
36
+ #
37
+ # # A written work. Typically several paragraphs long. For example, a blog post or a news article.
38
+ # # @return [RDF::Vocabulary::Term]
39
+ # attr_reader :Article
40
+ #
41
+ # # An audio file
42
+ # # @return [RDF::Vocabulary::Term]
43
+ # attr_reader :Audio
44
+ #
45
+ # # @return [RDF::Vocabulary::Term]
46
+ # attr_reader :Block
47
+ #
48
+ # # An ordered or unordered collection of Objects or Links
49
+ # # @return [RDF::Vocabulary::Term]
50
+ # attr_reader :Collection
51
+ #
52
+ # # A subset of items from a Collection
53
+ # # @return [RDF::Vocabulary::Term]
54
+ # attr_reader :CollectionPage
55
+ #
56
+ # # To Create Something
57
+ # # @return [RDF::Vocabulary::Term]
58
+ # attr_reader :Create
59
+ #
60
+ # # To Delete Something
61
+ # # @return [RDF::Vocabulary::Term]
62
+ # attr_reader :Delete
63
+ #
64
+ # # The actor dislikes the object
65
+ # # @return [RDF::Vocabulary::Term]
66
+ # attr_reader :Dislike
67
+ #
68
+ # # Represents a digital document/file of any sort
69
+ # # @return [RDF::Vocabulary::Term]
70
+ # attr_reader :Document
71
+ #
72
+ # # An Event of any kind
73
+ # # @return [RDF::Vocabulary::Term]
74
+ # attr_reader :Event
75
+ #
76
+ # # To flag something (e.g. flag as inappropriate, flag as spam, etc)
77
+ # # @return [RDF::Vocabulary::Term]
78
+ # attr_reader :Flag
79
+ #
80
+ # # To Express Interest in Something
81
+ # # @return [RDF::Vocabulary::Term]
82
+ # attr_reader :Follow
83
+ #
84
+ # # A Group of any kind.
85
+ # # @return [RDF::Vocabulary::Term]
86
+ # attr_reader :Group
87
+ #
88
+ # # Actor is ignoring the Object
89
+ # # @return [RDF::Vocabulary::Term]
90
+ # attr_reader :Ignore
91
+ #
92
+ # # An Image file
93
+ # # @return [RDF::Vocabulary::Term]
94
+ # attr_reader :Image
95
+ #
96
+ # # An Activity that has no direct object
97
+ # # @return [RDF::Vocabulary::Term]
98
+ # attr_reader :IntransitiveActivity
99
+ #
100
+ # # To invite someone or something to something
101
+ # # @return [RDF::Vocabulary::Term]
102
+ # attr_reader :Invite
103
+ #
104
+ # # To Join Something
105
+ # # @return [RDF::Vocabulary::Term]
106
+ # attr_reader :Join
107
+ #
108
+ # # To Leave Something
109
+ # # @return [RDF::Vocabulary::Term]
110
+ # attr_reader :Leave
111
+ #
112
+ # # To Like Something
113
+ # # @return [RDF::Vocabulary::Term]
114
+ # attr_reader :Like
115
+ #
116
+ # # Represents a qualified reference to another resource. Patterned after the RFC5988 Web Linking Model
117
+ # # @return [RDF::Vocabulary::Term]
118
+ # attr_reader :Link
119
+ #
120
+ # # The actor listened to the object
121
+ # # @return [RDF::Vocabulary::Term]
122
+ # attr_reader :Listen
123
+ #
124
+ # # A specialized Link that represents an @mention
125
+ # # @return [RDF::Vocabulary::Term]
126
+ # attr_reader :Mention
127
+ #
128
+ # # The actor is moving the object. The target specifies where the object is moving to. The origin specifies where the object is moving from.
129
+ # # @return [RDF::Vocabulary::Term]
130
+ # attr_reader :Move
131
+ #
132
+ # # A Short note, typically less than a single paragraph. A "tweet" is an example, or a "status update"
133
+ # # @return [RDF::Vocabulary::Term]
134
+ # attr_reader :Note
135
+ #
136
+ # # @return [RDF::Vocabulary::Term]
137
+ # attr_reader :Object
138
+ #
139
+ # # To Offer something to someone or something
140
+ # # @return [RDF::Vocabulary::Term]
141
+ # attr_reader :Offer
142
+ #
143
+ # # A variation of Collection in which items are strictly ordered
144
+ # # @return [RDF::Vocabulary::Term]
145
+ # attr_reader :OrderedCollection
146
+ #
147
+ # # An ordered subset of items from an OrderedCollection
148
+ # # @return [RDF::Vocabulary::Term]
149
+ # attr_reader :OrderedCollectionPage
150
+ #
151
+ # # A rdf:List variant for Objects and Links
152
+ # # @return [RDF::Vocabulary::Term]
153
+ # attr_reader :OrderedItems
154
+ #
155
+ # # An Organization
156
+ # # @return [RDF::Vocabulary::Term]
157
+ # attr_reader :Organization
158
+ #
159
+ # # A Web Page
160
+ # # @return [RDF::Vocabulary::Term]
161
+ # attr_reader :Page
162
+ #
163
+ # # A Person
164
+ # # @return [RDF::Vocabulary::Term]
165
+ # attr_reader :Person
166
+ #
167
+ # # A physical or logical location
168
+ # # @return [RDF::Vocabulary::Term]
169
+ # attr_reader :Place
170
+ #
171
+ # # A Profile Document
172
+ # # @return [RDF::Vocabulary::Term]
173
+ # attr_reader :Profile
174
+ #
175
+ # # A question of any sort.
176
+ # # @return [RDF::Vocabulary::Term]
177
+ # attr_reader :Question
178
+ #
179
+ # # The actor read the object
180
+ # # @return [RDF::Vocabulary::Term]
181
+ # attr_reader :Read
182
+ #
183
+ # # Actor rejects the Object
184
+ # # @return [RDF::Vocabulary::Term]
185
+ # attr_reader :Reject
186
+ #
187
+ # # Represents a Social Graph relationship between two Individuals (indicated by the 'a' and 'b' properties)
188
+ # # @return [RDF::Vocabulary::Term]
189
+ # attr_reader :Relationship
190
+ #
191
+ # # To Remove Something
192
+ # # @return [RDF::Vocabulary::Term]
193
+ # attr_reader :Remove
194
+ #
195
+ # # A service provided by some entity
196
+ # # @return [RDF::Vocabulary::Term]
197
+ # attr_reader :Service
198
+ #
199
+ # # Actor tentatively accepts the Object
200
+ # # @return [RDF::Vocabulary::Term]
201
+ # attr_reader :TentativeAccept
202
+ #
203
+ # # Actor tentatively rejects the object
204
+ # # @return [RDF::Vocabulary::Term]
205
+ # attr_reader :TentativeReject
206
+ #
207
+ # # A placeholder for a deleted object
208
+ # # @return [RDF::Vocabulary::Term]
209
+ # attr_reader :Tombstone
210
+ #
211
+ # # The actor is traveling to the target. The origin specifies where the actor is traveling from.
212
+ # # @return [RDF::Vocabulary::Term]
213
+ # attr_reader :Travel
214
+ #
215
+ # # To Undo Something. This would typically be used to indicate that a previous Activity has been undone.
216
+ # # @return [RDF::Vocabulary::Term]
217
+ # attr_reader :Undo
218
+ #
219
+ # # To Update/Modify Something
220
+ # # @return [RDF::Vocabulary::Term]
221
+ # attr_reader :Update
222
+ #
223
+ # # A Video document of any kind.
224
+ # # @return [RDF::Vocabulary::Term]
225
+ # attr_reader :Video
226
+ #
227
+ # # The actor viewed the object
228
+ # # @return [RDF::Vocabulary::Term]
229
+ # attr_reader :View
230
+ #
231
+ # # Specifies the accuracy around the point established by the longitude and latitude
232
+ # # @return [RDF::Vocabulary::Term]
233
+ # attr_reader :accuracy
234
+ #
235
+ # # Subproperty of as:attributedTo that identifies the primary actor
236
+ # # @return [RDF::Vocabulary::Term]
237
+ # attr_reader :actor
238
+ #
239
+ # # The altitude of a place
240
+ # # @return [RDF::Vocabulary::Term]
241
+ # attr_reader :altitude
242
+ #
243
+ # # Describes a possible inclusive answer or option for a question.
244
+ # # @return [RDF::Vocabulary::Term]
245
+ # attr_reader :anyOf
246
+ #
247
+ # # @return [RDF::Vocabulary::Term]
248
+ # attr_reader :attachment
249
+ #
250
+ # # @return [RDF::Vocabulary::Term]
251
+ # attr_reader :attachments
252
+ #
253
+ # # Identifies an entity to which an object is attributed
254
+ # # @return [RDF::Vocabulary::Term]
255
+ # attr_reader :attributedTo
256
+ #
257
+ # # @return [RDF::Vocabulary::Term]
258
+ # attr_reader :audience
259
+ #
260
+ # # Identifies the author of an object. Deprecated. Use as:attributedTo instead
261
+ # # @return [RDF::Vocabulary::Term]
262
+ # attr_reader :author
263
+ #
264
+ # # @return [RDF::Vocabulary::Term]
265
+ # attr_reader :bcc
266
+ #
267
+ # # @return [RDF::Vocabulary::Term]
268
+ # attr_reader :bto
269
+ #
270
+ # # @return [RDF::Vocabulary::Term]
271
+ # attr_reader :cc
272
+ #
273
+ # # The content of the object.
274
+ # # @return [RDF::Vocabulary::Term]
275
+ # attr_reader :content
276
+ #
277
+ # # Specifies the context within which an object exists or an activity was performed
278
+ # # @return [RDF::Vocabulary::Term]
279
+ # attr_reader :context
280
+ #
281
+ # # @return [RDF::Vocabulary::Term]
282
+ # attr_reader :current
283
+ #
284
+ # # Specifies the date and time the object was deleted
285
+ # # @return [RDF::Vocabulary::Term]
286
+ # attr_reader :deleted
287
+ #
288
+ # # On a Profile object, describes the object described by the profile
289
+ # # @return [RDF::Vocabulary::Term]
290
+ # attr_reader :describes
291
+ #
292
+ # # @return [RDF::Vocabulary::Term]
293
+ # attr_reader :downstreamDuplicates
294
+ #
295
+ # # The duration of the object
296
+ # # @return [RDF::Vocabulary::Term]
297
+ # attr_reader :duration
298
+ #
299
+ # # The ending time of the object
300
+ # # @return [RDF::Vocabulary::Term]
301
+ # attr_reader :endTime
302
+ #
303
+ # # @return [RDF::Vocabulary::Term]
304
+ # attr_reader :first
305
+ #
306
+ # # On a Tombstone object, describes the former type of the deleted object
307
+ # # @return [RDF::Vocabulary::Term]
308
+ # attr_reader :formerType
309
+ #
310
+ # # @return [RDF::Vocabulary::Term]
311
+ # attr_reader :generator
312
+ #
313
+ # # The display height expressed as device independent pixels
314
+ # # @return [RDF::Vocabulary::Term]
315
+ # attr_reader :height
316
+ #
317
+ # # The target URI of the Link
318
+ # # @return [RDF::Vocabulary::Term]
319
+ # attr_reader :href
320
+ #
321
+ # # A hint about the language of the referenced resource
322
+ # # @return [RDF::Vocabulary::Term]
323
+ # attr_reader :hreflang
324
+ #
325
+ # # @return [RDF::Vocabulary::Term]
326
+ # attr_reader :icon
327
+ #
328
+ # # @return [RDF::Vocabulary::Term]
329
+ # attr_reader :id
330
+ #
331
+ # # @return [RDF::Vocabulary::Term]
332
+ # attr_reader :image
333
+ #
334
+ # # @return [RDF::Vocabulary::Term]
335
+ # attr_reader :inReplyTo
336
+ #
337
+ # # Indentifies an object used (or to be used) to complete an activity
338
+ # # @return [RDF::Vocabulary::Term]
339
+ # attr_reader :instrument
340
+ #
341
+ # # @return [RDF::Vocabulary::Term]
342
+ # attr_reader :items
343
+ #
344
+ # # @return [RDF::Vocabulary::Term]
345
+ # attr_reader :last
346
+ #
347
+ # # The latitude
348
+ # # @return [RDF::Vocabulary::Term]
349
+ # attr_reader :latitude
350
+ #
351
+ # # @return [RDF::Vocabulary::Term]
352
+ # attr_reader :location
353
+ #
354
+ # # The longitude
355
+ # # @return [RDF::Vocabulary::Term]
356
+ # attr_reader :longitude
357
+ #
358
+ # # The MIME Media Type
359
+ # # @return [RDF::Vocabulary::Term]
360
+ # attr_reader :mediaType
361
+ #
362
+ # # @return [RDF::Vocabulary::Term]
363
+ # attr_reader :name
364
+ #
365
+ # # @return [RDF::Vocabulary::Term]
366
+ # attr_reader :next
367
+ #
368
+ # # @return [RDF::Vocabulary::Term]
369
+ # attr_reader :object
370
+ #
371
+ # # @return [RDF::Vocabulary::Term]
372
+ # attr_reader :objectType
373
+ #
374
+ # # Describes a possible exclusive answer or option for a question.
375
+ # # @return [RDF::Vocabulary::Term]
376
+ # attr_reader :oneOf
377
+ #
378
+ # # For certain activities, specifies the entity from which the action is directed.
379
+ # # @return [RDF::Vocabulary::Term]
380
+ # attr_reader :origin
381
+ #
382
+ # # @return [RDF::Vocabulary::Term]
383
+ # attr_reader :partOf
384
+ #
385
+ # # @return [RDF::Vocabulary::Term]
386
+ # attr_reader :prev
387
+ #
388
+ # # @return [RDF::Vocabulary::Term]
389
+ # attr_reader :preview
390
+ #
391
+ # # @return [RDF::Vocabulary::Term]
392
+ # attr_reader :provider
393
+ #
394
+ # # Specifies the date and time the object was published
395
+ # # @return [RDF::Vocabulary::Term]
396
+ # attr_reader :published
397
+ #
398
+ # # Specifies a radius around the point established by the longitude and latitude
399
+ # # @return [RDF::Vocabulary::Term]
400
+ # attr_reader :radius
401
+ #
402
+ # # A numeric rating (>= 0.0, <= 5.0) for the object
403
+ # # @return [RDF::Vocabulary::Term]
404
+ # attr_reader :rating
405
+ #
406
+ # # The RFC 5988 or HTML5 Link Relation associated with the Link
407
+ # # @return [RDF::Vocabulary::Term]
408
+ # attr_reader :rel
409
+ #
410
+ # # On a Relationship object, describes the type of relationship
411
+ # # @return [RDF::Vocabulary::Term]
412
+ # attr_reader :relationship
413
+ #
414
+ # # @return [RDF::Vocabulary::Term]
415
+ # attr_reader :replies
416
+ #
417
+ # # @return [RDF::Vocabulary::Term]
418
+ # attr_reader :result
419
+ #
420
+ # # In a strictly ordered logical collection, specifies the index position of the first item in the items list
421
+ # # @return [RDF::Vocabulary::Term]
422
+ # attr_reader :startIndex
423
+ #
424
+ # # The starting time of the object
425
+ # # @return [RDF::Vocabulary::Term]
426
+ # attr_reader :startTime
427
+ #
428
+ # # On a Relationship object, identifies the subject. e.g. when saying "John is connected to Sally", 'subject' refers to 'John'
429
+ # # @return [RDF::Vocabulary::Term]
430
+ # attr_reader :subject
431
+ #
432
+ # # A short summary of the object
433
+ # # @return [RDF::Vocabulary::Term]
434
+ # attr_reader :summary
435
+ #
436
+ # # @return [RDF::Vocabulary::Term]
437
+ # attr_reader :tag
438
+ #
439
+ # # @return [RDF::Vocabulary::Term]
440
+ # attr_reader :tags
441
+ #
442
+ # # @return [RDF::Vocabulary::Term]
443
+ # attr_reader :target
444
+ #
445
+ # # @return [RDF::Vocabulary::Term]
446
+ # attr_reader :to
447
+ #
448
+ # # The total number of items in a logical collection
449
+ # # @return [RDF::Vocabulary::Term]
450
+ # attr_reader :totalItems
451
+ #
452
+ # # Identifies the unit of measurement used by the radius, altitude and accuracy properties. The value can be expressed either as one of a set of predefined units or as a well-known common URI that identifies units.
453
+ # # @return [RDF::Vocabulary::Term]
454
+ # attr_reader :units
455
+ #
456
+ # # Specifies when the object was last updated
457
+ # # @return [RDF::Vocabulary::Term]
458
+ # attr_reader :updated
459
+ #
460
+ # # @return [RDF::Vocabulary::Term]
461
+ # attr_reader :upstreamDuplicates
462
+ #
463
+ # # Specifies a link to a specific representation of the Object
464
+ # # @return [RDF::Vocabulary::Term]
465
+ # attr_reader :url
466
+ #
467
+ # # @return [RDF::Vocabulary::Term]
468
+ # attr_reader :verb
469
+ #
470
+ # # Specifies the preferred display width of the content, expressed in terms of device independent pixels.
471
+ # # @return [RDF::Vocabulary::Term]
472
+ # attr_reader :width
473
+ #
9
474
  # end
10
- class AS < RDF::StrictVocabulary("https://www.w3.org/ns/activitystreams#")
475
+ AS = Class.new(RDF::StrictVocabulary("https://www.w3.org/ns/activitystreams#")) do
11
476
 
12
477
  # Ontology definition
13
478
  ontology :"https://www.w3.org/ns/activitystreams#",