rdf-vocab 2.2.9 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +5 -5
  2. data/VERSION +1 -1
  3. data/lib/rdf/vocab.rb +21 -2
  4. data/lib/rdf/vocab/acl.rb +21 -5
  5. data/lib/rdf/vocab/bf2.rb +812 -812
  6. data/lib/rdf/vocab/bibframe.rb +78 -78
  7. data/lib/rdf/vocab/bibo.rb +239 -247
  8. data/lib/rdf/vocab/cc.rb +4 -9
  9. data/lib/rdf/vocab/cert.rb +44 -45
  10. data/lib/rdf/vocab/cnt.rb +5 -5
  11. data/lib/rdf/vocab/crm.rb +344 -344
  12. data/lib/rdf/vocab/datacite.rb +152 -58
  13. data/lib/rdf/vocab/dc.rb +439 -439
  14. data/lib/rdf/vocab/dc11.rb +93 -93
  15. data/lib/rdf/vocab/dcat.rb +152 -101
  16. data/lib/rdf/vocab/dcmitype.rb +75 -75
  17. data/lib/rdf/vocab/disco.rb +169 -101
  18. data/lib/rdf/vocab/doap.rb +179 -159
  19. data/lib/rdf/vocab/dwc.rb +1648 -1648
  20. data/lib/rdf/vocab/ebucore.rb +373 -124
  21. data/lib/rdf/vocab/edm.rb +216 -139
  22. data/lib/rdf/vocab/exif.rb +208 -208
  23. data/lib/rdf/vocab/fcrepo4.rb +57 -134
  24. data/lib/rdf/vocab/foaf.rb +166 -166
  25. data/lib/rdf/vocab/geo.rb +3 -5
  26. data/lib/rdf/vocab/geojson.rb +16 -16
  27. data/lib/rdf/vocab/geonames.rb +2827 -3455
  28. data/lib/rdf/vocab/gr.rb +699 -254
  29. data/lib/rdf/vocab/gs1.rb +1765 -1761
  30. data/lib/rdf/vocab/ht.rb +23 -23
  31. data/lib/rdf/vocab/hydra.rb +104 -104
  32. data/lib/rdf/vocab/ical.rb +674 -127
  33. data/lib/rdf/vocab/identifiers.rb +120 -212
  34. data/lib/rdf/vocab/iiif.rb +25 -37
  35. data/lib/rdf/vocab/jsonld.rb +11 -11
  36. data/lib/rdf/vocab/ldp.rb +79 -69
  37. data/lib/rdf/vocab/lrmi.rb +63 -63
  38. data/lib/rdf/vocab/ma.rb +47 -132
  39. data/lib/rdf/vocab/mads.rb +83 -28
  40. data/lib/rdf/vocab/marc_relators.rb +12 -2201
  41. data/lib/rdf/vocab/mo.rb +920 -836
  42. data/lib/rdf/vocab/mods.rb +6 -13
  43. data/lib/rdf/vocab/oa.rb +82 -72
  44. data/lib/rdf/vocab/og.rb +50 -50
  45. data/lib/rdf/vocab/ogc.rb +9 -8
  46. data/lib/rdf/vocab/ore.rb +22 -19
  47. data/lib/rdf/vocab/org.rb +217 -167
  48. data/lib/rdf/vocab/pplan.rb +45 -45
  49. data/lib/rdf/vocab/premis.rb +855 -582
  50. data/lib/rdf/vocab/premis_event_type.rb +148 -70
  51. data/lib/rdf/vocab/prov.rb +842 -806
  52. data/lib/rdf/vocab/rightsstatements.rb +140 -157
  53. data/lib/rdf/vocab/rsa.rb +16 -13
  54. data/lib/rdf/vocab/rss.rb +10 -10
  55. data/lib/rdf/vocab/schema.rb +1448 -1448
  56. data/lib/rdf/vocab/sioc.rb +158 -159
  57. data/lib/rdf/vocab/sioc_services.rb +14 -14
  58. data/lib/rdf/vocab/sioct.rb +70 -70
  59. data/lib/rdf/vocab/skos.rb +97 -93
  60. data/lib/rdf/vocab/skosxl.rb +29 -24
  61. data/lib/rdf/vocab/v.rb +88 -90
  62. data/lib/rdf/vocab/vcard.rb +340 -196
  63. data/lib/rdf/vocab/vmd.rb +88 -90
  64. data/lib/rdf/vocab/vs.rb +15 -15
  65. data/lib/rdf/vocab/wdrs.rb +30 -30
  66. data/lib/rdf/vocab/wot.rb +47 -47
  67. data/lib/rdf/vocab/xhtml.rb +3 -3
  68. data/lib/rdf/vocab/xhv.rb +37 -123
  69. data/lib/rdf/vocab/xkos.rb +110 -107
  70. data/spec/vocab_spec.rb +6 -6
  71. metadata +19 -31
@@ -10,37 +10,62 @@ module RDF::Vocab
10
10
  class ICAL < RDF::StrictVocabulary("http://www.w3.org/2002/12/cal/icaltzd#")
11
11
 
12
12
  # Ontology definition
13
- ontology :"http://www.w3.org/2002/12/cal/icaltzd",
14
- :"dc11:source" => %(http://www.ietf.org/rfc/rfc2445.txt).freeze,
15
- :"owl:versionInfo" => [%($Id: icaltzd.rdf,v 1.6 2007/06/28 18:22:09 connolly Exp $).freeze, %(subject to change with notice to www-rdf-calendar@w3.org).freeze],
16
- :"rdfs:seeAlso" => [%(http://esw.w3.org/topic/RdfCalendar).freeze, %(http://lists.w3.org/Archives/Public/www-rdf-calendar/).freeze, %(http://www.w3.org/2002/12/cal/).freeze],
13
+ ontology :"http://www.w3.org/2002/12/cal/icaltzd#",
14
+ "dc11:source": "http://www.ietf.org/rfc/rfc2445.txt".freeze,
15
+ "owl:versionInfo": ["$Id: icaltzd.rdf,v 1.6 2007/06/28 18:22:09 connolly Exp $".freeze, "subject to change with notice to www-rdf-calendar@w3.org".freeze],
16
+ "rdfs:seeAlso": ["http://esw.w3.org/topic/RdfCalendar".freeze, "http://lists.w3.org/Archives/Public/www-rdf-calendar/".freeze, "http://www.w3.org/2002/12/cal/".freeze],
17
17
  type: "owl:Thing".freeze
18
18
 
19
19
  # Class definitions
20
20
  term :DomainOf_rrule,
21
- label: "DomainOf_rrule".freeze,
22
21
  type: "owl:Class".freeze
23
22
  term :List_of_Float,
24
- label: "List_of_Float".freeze,
25
23
  type: "owl:Class".freeze
26
24
  term :Valarm,
27
25
  comment: %(Provide a grouping of component properties that define an alarm.).freeze,
28
- label: "Valarm".freeze,
26
+ subClassOf: [term(
27
+ minCardinality: "0".freeze,
28
+ onProperty: "ical:action".freeze,
29
+ type: "owl:Restriction".freeze
30
+ ), term(
31
+ minCardinality: "0".freeze,
32
+ onProperty: "ical:attach".freeze,
33
+ type: "owl:Restriction".freeze
34
+ ), term(
35
+ minCardinality: "0".freeze,
36
+ onProperty: "ical:attendee".freeze,
37
+ type: "owl:Restriction".freeze
38
+ ), term(
39
+ minCardinality: "0".freeze,
40
+ onProperty: "ical:description".freeze,
41
+ type: "owl:Restriction".freeze
42
+ ), term(
43
+ minCardinality: "0".freeze,
44
+ onProperty: "ical:duration".freeze,
45
+ type: "owl:Restriction".freeze
46
+ ), term(
47
+ minCardinality: "0".freeze,
48
+ onProperty: "ical:repeat".freeze,
49
+ type: "owl:Restriction".freeze
50
+ ), term(
51
+ minCardinality: "0".freeze,
52
+ onProperty: "ical:summary".freeze,
53
+ type: "owl:Restriction".freeze
54
+ ), term(
55
+ minCardinality: "0".freeze,
56
+ onProperty: "ical:trigger".freeze,
57
+ type: "owl:Restriction".freeze
58
+ )],
29
59
  type: "owl:Class".freeze
30
60
  term :"Value_CAL-ADDRESS",
31
- label: "Value_CAL-ADDRESS".freeze,
32
61
  type: "owl:Class".freeze
33
62
  term :Value_DATE,
34
- label: "Value_DATE".freeze,
35
63
  type: "owl:Class".freeze
36
64
  term :Value_DURATION,
37
- label: "Value_DURATION".freeze,
38
65
  type: "owl:Class".freeze
39
66
  term :Value_PERIOD,
40
- label: "Value_PERIOD".freeze,
41
67
  type: "owl:Class".freeze
42
68
  term :Value_RECUR,
43
- label: "Value_RECUR".freeze,
44
69
  type: "owl:Class".freeze
45
70
  term :Vcalendar,
46
71
  label: "VCALENDAR".freeze,
@@ -48,53 +73,511 @@ module RDF::Vocab
48
73
  term :Vevent,
49
74
  comment: %(Provide a grouping of component properties that describe an event.).freeze,
50
75
  label: "Event".freeze,
76
+ subClassOf: [term(
77
+ minCardinality: "0".freeze,
78
+ onProperty: "ical:attach".freeze,
79
+ type: "owl:Restriction".freeze
80
+ ), term(
81
+ minCardinality: "0".freeze,
82
+ onProperty: "ical:attendee".freeze,
83
+ type: "owl:Restriction".freeze
84
+ ), term(
85
+ minCardinality: "0".freeze,
86
+ onProperty: "ical:categories".freeze,
87
+ type: "owl:Restriction".freeze
88
+ ), term(
89
+ minCardinality: "0".freeze,
90
+ onProperty: "ical:class".freeze,
91
+ type: "owl:Restriction".freeze
92
+ ), term(
93
+ minCardinality: "0".freeze,
94
+ onProperty: "ical:comment".freeze,
95
+ type: "owl:Restriction".freeze
96
+ ), term(
97
+ minCardinality: "0".freeze,
98
+ onProperty: "ical:contact".freeze,
99
+ type: "owl:Restriction".freeze
100
+ ), term(
101
+ minCardinality: "0".freeze,
102
+ onProperty: "ical:created".freeze,
103
+ type: "owl:Restriction".freeze
104
+ ), term(
105
+ minCardinality: "0".freeze,
106
+ onProperty: "ical:description".freeze,
107
+ type: "owl:Restriction".freeze
108
+ ), term(
109
+ minCardinality: "0".freeze,
110
+ onProperty: "ical:dtend".freeze,
111
+ type: "owl:Restriction".freeze
112
+ ), term(
113
+ minCardinality: "0".freeze,
114
+ onProperty: "ical:dtstamp".freeze,
115
+ type: "owl:Restriction".freeze
116
+ ), term(
117
+ minCardinality: "0".freeze,
118
+ onProperty: "ical:dtstart".freeze,
119
+ type: "owl:Restriction".freeze
120
+ ), term(
121
+ minCardinality: "0".freeze,
122
+ onProperty: "ical:duration".freeze,
123
+ type: "owl:Restriction".freeze
124
+ ), term(
125
+ minCardinality: "0".freeze,
126
+ onProperty: "ical:exdate".freeze,
127
+ type: "owl:Restriction".freeze
128
+ ), term(
129
+ minCardinality: "0".freeze,
130
+ onProperty: "ical:exrule".freeze,
131
+ type: "owl:Restriction".freeze
132
+ ), term(
133
+ minCardinality: "0".freeze,
134
+ onProperty: "ical:geo".freeze,
135
+ type: "owl:Restriction".freeze
136
+ ), term(
137
+ minCardinality: "0".freeze,
138
+ onProperty: "ical:lastModified".freeze,
139
+ type: "owl:Restriction".freeze
140
+ ), term(
141
+ minCardinality: "0".freeze,
142
+ onProperty: "ical:location".freeze,
143
+ type: "owl:Restriction".freeze
144
+ ), term(
145
+ minCardinality: "0".freeze,
146
+ onProperty: "ical:organizer".freeze,
147
+ type: "owl:Restriction".freeze
148
+ ), term(
149
+ minCardinality: "0".freeze,
150
+ onProperty: "ical:priority".freeze,
151
+ type: "owl:Restriction".freeze
152
+ ), term(
153
+ minCardinality: "0".freeze,
154
+ onProperty: "ical:rdate".freeze,
155
+ type: "owl:Restriction".freeze
156
+ ), term(
157
+ minCardinality: "0".freeze,
158
+ onProperty: "ical:recurrenceId".freeze,
159
+ type: "owl:Restriction".freeze
160
+ ), term(
161
+ minCardinality: "0".freeze,
162
+ onProperty: "ical:relatedTo".freeze,
163
+ type: "owl:Restriction".freeze
164
+ ), term(
165
+ minCardinality: "0".freeze,
166
+ onProperty: "ical:requestStatus".freeze,
167
+ type: "owl:Restriction".freeze
168
+ ), term(
169
+ minCardinality: "0".freeze,
170
+ onProperty: "ical:resources".freeze,
171
+ type: "owl:Restriction".freeze
172
+ ), term(
173
+ minCardinality: "0".freeze,
174
+ onProperty: "ical:rrule".freeze,
175
+ type: "owl:Restriction".freeze
176
+ ), term(
177
+ minCardinality: "0".freeze,
178
+ onProperty: "ical:sequence".freeze,
179
+ type: "owl:Restriction".freeze
180
+ ), term(
181
+ minCardinality: "0".freeze,
182
+ onProperty: "ical:status".freeze,
183
+ type: "owl:Restriction".freeze
184
+ ), term(
185
+ minCardinality: "0".freeze,
186
+ onProperty: "ical:summary".freeze,
187
+ type: "owl:Restriction".freeze
188
+ ), term(
189
+ minCardinality: "0".freeze,
190
+ onProperty: "ical:transp".freeze,
191
+ type: "owl:Restriction".freeze
192
+ ), term(
193
+ minCardinality: "0".freeze,
194
+ onProperty: "ical:trigger".freeze,
195
+ type: "owl:Restriction".freeze
196
+ ), term(
197
+ minCardinality: "0".freeze,
198
+ onProperty: "ical:uid".freeze,
199
+ type: "owl:Restriction".freeze
200
+ ), term(
201
+ minCardinality: "0".freeze,
202
+ onProperty: "ical:url".freeze,
203
+ type: "owl:Restriction".freeze
204
+ )],
51
205
  type: "owl:Class".freeze
52
206
  term :Vfreebusy,
53
207
  comment: %(Provide a grouping of component properties that describe either a request for free/busy time, describe a response to a request for free/busy time or describe a published set of busy time.).freeze,
54
- label: "Vfreebusy".freeze,
208
+ subClassOf: [term(
209
+ minCardinality: "0".freeze,
210
+ onProperty: "ical:attendee".freeze,
211
+ type: "owl:Restriction".freeze
212
+ ), term(
213
+ minCardinality: "0".freeze,
214
+ onProperty: "ical:comment".freeze,
215
+ type: "owl:Restriction".freeze
216
+ ), term(
217
+ minCardinality: "0".freeze,
218
+ onProperty: "ical:contact".freeze,
219
+ type: "owl:Restriction".freeze
220
+ ), term(
221
+ minCardinality: "0".freeze,
222
+ onProperty: "ical:dtend".freeze,
223
+ type: "owl:Restriction".freeze
224
+ ), term(
225
+ minCardinality: "0".freeze,
226
+ onProperty: "ical:dtstamp".freeze,
227
+ type: "owl:Restriction".freeze
228
+ ), term(
229
+ minCardinality: "0".freeze,
230
+ onProperty: "ical:dtstart".freeze,
231
+ type: "owl:Restriction".freeze
232
+ ), term(
233
+ minCardinality: "0".freeze,
234
+ onProperty: "ical:duration".freeze,
235
+ type: "owl:Restriction".freeze
236
+ ), term(
237
+ minCardinality: "0".freeze,
238
+ onProperty: "ical:freebusy".freeze,
239
+ type: "owl:Restriction".freeze
240
+ ), term(
241
+ minCardinality: "0".freeze,
242
+ onProperty: "ical:organizer".freeze,
243
+ type: "owl:Restriction".freeze
244
+ ), term(
245
+ minCardinality: "0".freeze,
246
+ onProperty: "ical:requestStatus".freeze,
247
+ type: "owl:Restriction".freeze
248
+ ), term(
249
+ minCardinality: "0".freeze,
250
+ onProperty: "ical:uid".freeze,
251
+ type: "owl:Restriction".freeze
252
+ ), term(
253
+ minCardinality: "0".freeze,
254
+ onProperty: "ical:url".freeze,
255
+ type: "owl:Restriction".freeze
256
+ )],
55
257
  type: "owl:Class".freeze
56
258
  term :Vjournal,
57
259
  comment: %(Provide a grouping of component properties that describe a journal entry.).freeze,
58
- label: "Vjournal".freeze,
260
+ subClassOf: [term(
261
+ minCardinality: "0".freeze,
262
+ onProperty: "ical:attach".freeze,
263
+ type: "owl:Restriction".freeze
264
+ ), term(
265
+ minCardinality: "0".freeze,
266
+ onProperty: "ical:attendee".freeze,
267
+ type: "owl:Restriction".freeze
268
+ ), term(
269
+ minCardinality: "0".freeze,
270
+ onProperty: "ical:categories".freeze,
271
+ type: "owl:Restriction".freeze
272
+ ), term(
273
+ minCardinality: "0".freeze,
274
+ onProperty: "ical:class".freeze,
275
+ type: "owl:Restriction".freeze
276
+ ), term(
277
+ minCardinality: "0".freeze,
278
+ onProperty: "ical:comment".freeze,
279
+ type: "owl:Restriction".freeze
280
+ ), term(
281
+ minCardinality: "0".freeze,
282
+ onProperty: "ical:contact".freeze,
283
+ type: "owl:Restriction".freeze
284
+ ), term(
285
+ minCardinality: "0".freeze,
286
+ onProperty: "ical:created".freeze,
287
+ type: "owl:Restriction".freeze
288
+ ), term(
289
+ minCardinality: "0".freeze,
290
+ onProperty: "ical:description".freeze,
291
+ type: "owl:Restriction".freeze
292
+ ), term(
293
+ minCardinality: "0".freeze,
294
+ onProperty: "ical:dtstamp".freeze,
295
+ type: "owl:Restriction".freeze
296
+ ), term(
297
+ minCardinality: "0".freeze,
298
+ onProperty: "ical:exdate".freeze,
299
+ type: "owl:Restriction".freeze
300
+ ), term(
301
+ minCardinality: "0".freeze,
302
+ onProperty: "ical:exrule".freeze,
303
+ type: "owl:Restriction".freeze
304
+ ), term(
305
+ minCardinality: "0".freeze,
306
+ onProperty: "ical:lastModified".freeze,
307
+ type: "owl:Restriction".freeze
308
+ ), term(
309
+ minCardinality: "0".freeze,
310
+ onProperty: "ical:organizer".freeze,
311
+ type: "owl:Restriction".freeze
312
+ ), term(
313
+ minCardinality: "0".freeze,
314
+ onProperty: "ical:rdate".freeze,
315
+ type: "owl:Restriction".freeze
316
+ ), term(
317
+ minCardinality: "0".freeze,
318
+ onProperty: "ical:recurrenceId".freeze,
319
+ type: "owl:Restriction".freeze
320
+ ), term(
321
+ minCardinality: "0".freeze,
322
+ onProperty: "ical:relatedTo".freeze,
323
+ type: "owl:Restriction".freeze
324
+ ), term(
325
+ minCardinality: "0".freeze,
326
+ onProperty: "ical:requestStatus".freeze,
327
+ type: "owl:Restriction".freeze
328
+ ), term(
329
+ minCardinality: "0".freeze,
330
+ onProperty: "ical:rrule".freeze,
331
+ type: "owl:Restriction".freeze
332
+ ), term(
333
+ minCardinality: "0".freeze,
334
+ onProperty: "ical:sequence".freeze,
335
+ type: "owl:Restriction".freeze
336
+ ), term(
337
+ minCardinality: "0".freeze,
338
+ onProperty: "ical:status".freeze,
339
+ type: "owl:Restriction".freeze
340
+ ), term(
341
+ minCardinality: "0".freeze,
342
+ onProperty: "ical:summary".freeze,
343
+ type: "owl:Restriction".freeze
344
+ ), term(
345
+ minCardinality: "0".freeze,
346
+ onProperty: "ical:uid".freeze,
347
+ type: "owl:Restriction".freeze
348
+ ), term(
349
+ minCardinality: "0".freeze,
350
+ onProperty: "ical:url".freeze,
351
+ type: "owl:Restriction".freeze
352
+ )],
59
353
  type: "owl:Class".freeze
60
354
  term :Vtimezone,
61
355
  comment: %(Provide a grouping of component properties that defines a time zone.).freeze,
62
- label: "Vtimezone".freeze,
356
+ subClassOf: [term(
357
+ minCardinality: "0".freeze,
358
+ onProperty: "ical:comment".freeze,
359
+ type: "owl:Restriction".freeze
360
+ ), term(
361
+ minCardinality: "0".freeze,
362
+ onProperty: "ical:dtstart".freeze,
363
+ type: "owl:Restriction".freeze
364
+ ), term(
365
+ minCardinality: "0".freeze,
366
+ onProperty: "ical:exdate".freeze,
367
+ type: "owl:Restriction".freeze
368
+ ), term(
369
+ minCardinality: "0".freeze,
370
+ onProperty: "ical:lastModified".freeze,
371
+ type: "owl:Restriction".freeze
372
+ ), term(
373
+ minCardinality: "0".freeze,
374
+ onProperty: "ical:rdate".freeze,
375
+ type: "owl:Restriction".freeze
376
+ ), term(
377
+ minCardinality: "0".freeze,
378
+ onProperty: "ical:recurrenceId".freeze,
379
+ type: "owl:Restriction".freeze
380
+ ), term(
381
+ minCardinality: "0".freeze,
382
+ onProperty: "ical:rrule".freeze,
383
+ type: "owl:Restriction".freeze
384
+ ), term(
385
+ minCardinality: "0".freeze,
386
+ onProperty: "ical:tzid".freeze,
387
+ type: "owl:Restriction".freeze
388
+ ), term(
389
+ minCardinality: "0".freeze,
390
+ onProperty: "ical:tzname".freeze,
391
+ type: "owl:Restriction".freeze
392
+ ), term(
393
+ minCardinality: "0".freeze,
394
+ onProperty: "ical:tzoffsetfrom".freeze,
395
+ type: "owl:Restriction".freeze
396
+ ), term(
397
+ minCardinality: "0".freeze,
398
+ onProperty: "ical:tzoffsetto".freeze,
399
+ type: "owl:Restriction".freeze
400
+ ), term(
401
+ minCardinality: "0".freeze,
402
+ onProperty: "ical:tzurl".freeze,
403
+ type: "owl:Restriction".freeze
404
+ )],
63
405
  type: "owl:Class".freeze
64
406
  term :Vtodo,
65
407
  comment: %(Provide a grouping of calendar properties that describe a to-do.).freeze,
66
408
  label: "To-do".freeze,
409
+ subClassOf: [term(
410
+ minCardinality: "0".freeze,
411
+ onProperty: "ical:attach".freeze,
412
+ type: "owl:Restriction".freeze
413
+ ), term(
414
+ minCardinality: "0".freeze,
415
+ onProperty: "ical:attendee".freeze,
416
+ type: "owl:Restriction".freeze
417
+ ), term(
418
+ minCardinality: "0".freeze,
419
+ onProperty: "ical:categories".freeze,
420
+ type: "owl:Restriction".freeze
421
+ ), term(
422
+ minCardinality: "0".freeze,
423
+ onProperty: "ical:class".freeze,
424
+ type: "owl:Restriction".freeze
425
+ ), term(
426
+ minCardinality: "0".freeze,
427
+ onProperty: "ical:comment".freeze,
428
+ type: "owl:Restriction".freeze
429
+ ), term(
430
+ minCardinality: "0".freeze,
431
+ onProperty: "ical:completed".freeze,
432
+ type: "owl:Restriction".freeze
433
+ ), term(
434
+ minCardinality: "0".freeze,
435
+ onProperty: "ical:contact".freeze,
436
+ type: "owl:Restriction".freeze
437
+ ), term(
438
+ minCardinality: "0".freeze,
439
+ onProperty: "ical:created".freeze,
440
+ type: "owl:Restriction".freeze
441
+ ), term(
442
+ minCardinality: "0".freeze,
443
+ onProperty: "ical:description".freeze,
444
+ type: "owl:Restriction".freeze
445
+ ), term(
446
+ minCardinality: "0".freeze,
447
+ onProperty: "ical:dtstamp".freeze,
448
+ type: "owl:Restriction".freeze
449
+ ), term(
450
+ minCardinality: "0".freeze,
451
+ onProperty: "ical:dtstart".freeze,
452
+ type: "owl:Restriction".freeze
453
+ ), term(
454
+ minCardinality: "0".freeze,
455
+ onProperty: "ical:due".freeze,
456
+ type: "owl:Restriction".freeze
457
+ ), term(
458
+ minCardinality: "0".freeze,
459
+ onProperty: "ical:duration".freeze,
460
+ type: "owl:Restriction".freeze
461
+ ), term(
462
+ minCardinality: "0".freeze,
463
+ onProperty: "ical:exdate".freeze,
464
+ type: "owl:Restriction".freeze
465
+ ), term(
466
+ minCardinality: "0".freeze,
467
+ onProperty: "ical:exrule".freeze,
468
+ type: "owl:Restriction".freeze
469
+ ), term(
470
+ minCardinality: "0".freeze,
471
+ onProperty: "ical:geo".freeze,
472
+ type: "owl:Restriction".freeze
473
+ ), term(
474
+ minCardinality: "0".freeze,
475
+ onProperty: "ical:lastModified".freeze,
476
+ type: "owl:Restriction".freeze
477
+ ), term(
478
+ minCardinality: "0".freeze,
479
+ onProperty: "ical:location".freeze,
480
+ type: "owl:Restriction".freeze
481
+ ), term(
482
+ minCardinality: "0".freeze,
483
+ onProperty: "ical:organizer".freeze,
484
+ type: "owl:Restriction".freeze
485
+ ), term(
486
+ minCardinality: "0".freeze,
487
+ onProperty: "ical:percentComplete".freeze,
488
+ type: "owl:Restriction".freeze
489
+ ), term(
490
+ minCardinality: "0".freeze,
491
+ onProperty: "ical:priority".freeze,
492
+ type: "owl:Restriction".freeze
493
+ ), term(
494
+ minCardinality: "0".freeze,
495
+ onProperty: "ical:rdate".freeze,
496
+ type: "owl:Restriction".freeze
497
+ ), term(
498
+ minCardinality: "0".freeze,
499
+ onProperty: "ical:recurrenceId".freeze,
500
+ type: "owl:Restriction".freeze
501
+ ), term(
502
+ minCardinality: "0".freeze,
503
+ onProperty: "ical:relatedTo".freeze,
504
+ type: "owl:Restriction".freeze
505
+ ), term(
506
+ minCardinality: "0".freeze,
507
+ onProperty: "ical:requestStatus".freeze,
508
+ type: "owl:Restriction".freeze
509
+ ), term(
510
+ minCardinality: "0".freeze,
511
+ onProperty: "ical:resources".freeze,
512
+ type: "owl:Restriction".freeze
513
+ ), term(
514
+ minCardinality: "0".freeze,
515
+ onProperty: "ical:rrule".freeze,
516
+ type: "owl:Restriction".freeze
517
+ ), term(
518
+ minCardinality: "0".freeze,
519
+ onProperty: "ical:sequence".freeze,
520
+ type: "owl:Restriction".freeze
521
+ ), term(
522
+ minCardinality: "0".freeze,
523
+ onProperty: "ical:status".freeze,
524
+ type: "owl:Restriction".freeze
525
+ ), term(
526
+ minCardinality: "0".freeze,
527
+ onProperty: "ical:summary".freeze,
528
+ type: "owl:Restriction".freeze
529
+ ), term(
530
+ minCardinality: "0".freeze,
531
+ onProperty: "ical:trigger".freeze,
532
+ type: "owl:Restriction".freeze
533
+ ), term(
534
+ minCardinality: "0".freeze,
535
+ onProperty: "ical:uid".freeze,
536
+ type: "owl:Restriction".freeze
537
+ ), term(
538
+ minCardinality: "0".freeze,
539
+ onProperty: "ical:url".freeze,
540
+ type: "owl:Restriction".freeze
541
+ )],
67
542
  type: "owl:Class".freeze
68
543
 
69
544
  # Property definitions
70
545
  property :"X-",
71
546
  comment: [%(
72
547
  value type: TEXT).freeze, %(This class of property provides a framework for defining non-standard properties.).freeze],
73
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
74
- label: "X-".freeze,
548
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
75
549
  range: "xsd:string".freeze,
76
550
  type: "owl:DatatypeProperty".freeze
77
551
  property :action,
78
552
  comment: [%(
79
553
  value type: TEXT).freeze, %(This property defines the action to be invoked when an alarm is triggered.).freeze],
80
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
81
- label: "action".freeze,
554
+ domain: term(
555
+ unionOf: list("ical:Valarm".freeze, "ical:Valarm".freeze),
556
+ type: "owl:Class".freeze
557
+ ),
558
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
82
559
  range: "xsd:string".freeze,
83
560
  type: "owl:DatatypeProperty".freeze
84
561
  property :altrep,
85
562
  comment: %(To specify an alternate text representation for the property value.).freeze,
86
- label: "altrep".freeze,
87
563
  type: "owl:DatatypeProperty".freeze
88
564
  property :attach,
89
565
  comment: [%(
90
566
  default value type: URI).freeze, %(The property provides the capability to associate a document object with a calendar component.).freeze],
91
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(URI).freeze,
92
- label: "attach".freeze,
567
+ domain: term(
568
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Valarm".freeze, "ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Valarm".freeze),
569
+ type: "owl:Class".freeze
570
+ ),
571
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "URI".freeze,
93
572
  type: "owl:ObjectProperty".freeze
94
573
  property :attendee,
95
574
  comment: [%(
96
575
  value type: CAL-ADDRESS).freeze, %(The property defines an "Attendee" within a calendar component.).freeze],
97
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(CAL-ADDRESS).freeze,
576
+ domain: term(
577
+ unionOf: list("ical:Valarm".freeze, "ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Vfreebusy".freeze, "ical:Valarm".freeze),
578
+ type: "owl:Class".freeze
579
+ ),
580
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "CAL-ADDRESS".freeze,
98
581
  label: "attendee".freeze,
99
582
  range: "ical:Value_CAL-ADDRESS".freeze,
100
583
  type: "owl:ObjectProperty".freeze
@@ -123,56 +606,63 @@ module RDF::Vocab
123
606
  label: "BYYEARDAY".freeze,
124
607
  type: "owl:DatatypeProperty".freeze
125
608
  property :calAddress,
126
- label: "calAddress".freeze,
127
609
  type: "owl:ObjectProperty".freeze
128
610
  property :calscale,
129
611
  comment: [%(
130
612
  value type: TEXT).freeze, %(This property defines the calendar scale used for the calendar information specified in the iCalendar object.).freeze],
131
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
132
- label: "calscale".freeze,
613
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
133
614
  range: "xsd:string".freeze,
134
615
  type: "owl:DatatypeProperty".freeze
135
616
  property :categories,
136
617
  comment: [%(
137
618
  value type: TEXT).freeze, %(This property defines the categories for a calendar component.).freeze],
138
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
139
- label: "categories".freeze,
619
+ domain: term(
620
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze),
621
+ type: "owl:Class".freeze
622
+ ),
623
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
140
624
  range: "xsd:string".freeze,
141
625
  type: "owl:DatatypeProperty".freeze
142
626
  property :class,
143
627
  comment: [%(
144
628
  value type: TEXT).freeze, %(This property defines the access classification for a calendar component.).freeze],
145
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
146
- label: "class".freeze,
629
+ domain: term(
630
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze),
631
+ type: "owl:Class".freeze
632
+ ),
633
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
147
634
  range: "xsd:string".freeze,
148
635
  type: "owl:DatatypeProperty".freeze
149
636
  property :cn,
150
637
  comment: %(To specify the common name to be associated with the calendar user specified by the property.).freeze,
151
- label: "cn".freeze,
152
638
  type: "owl:DatatypeProperty".freeze
153
639
  property :comment,
154
640
  comment: [%(
155
641
  value type: TEXT).freeze, %(This property specifies non-processing information intended to provide a comment to the calendar user.).freeze],
156
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
157
- label: "comment".freeze,
642
+ domain: term(
643
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Vtimezone".freeze, "ical:Vfreebusy".freeze),
644
+ type: "owl:Class".freeze
645
+ ),
646
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
158
647
  range: "xsd:string".freeze,
159
648
  type: "owl:DatatypeProperty".freeze
160
649
  property :completed,
161
650
  comment: [%(
162
651
  value type: DATE-TIME).freeze, %(This property defines the date and time that a to-do was actually completed.).freeze],
163
652
  domain: "ical:Vtodo".freeze,
164
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
165
- label: "completed".freeze,
653
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "DATE-TIME".freeze,
166
654
  range: "ical:Value_DATE-TIME".freeze,
167
655
  type: "owl:DatatypeProperty".freeze
168
656
  property :component,
169
- label: "component".freeze,
170
657
  type: "owl:ObjectProperty".freeze
171
658
  property :contact,
172
659
  comment: [%(
173
660
  value type: TEXT).freeze, %(The property is used to represent contact information or alternately a reference to contact information associated with the calendar component.).freeze],
174
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
175
- label: "contact".freeze,
661
+ domain: term(
662
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Vfreebusy".freeze),
663
+ type: "owl:Class".freeze
664
+ ),
665
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
176
666
  range: "xsd:string".freeze,
177
667
  type: "owl:DatatypeProperty".freeze
178
668
  property :count,
@@ -181,100 +671,117 @@ module RDF::Vocab
181
671
  property :created,
182
672
  comment: [%(
183
673
  value type: DATE-TIME).freeze, %(This property specifies the date and time that the calendar information was created by the calendar user agent in the calendar store. Note: This is analogous to the creation date and time for a file in the file system.).freeze],
184
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
185
- label: "created".freeze,
674
+ domain: term(
675
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze),
676
+ type: "owl:Class".freeze
677
+ ),
678
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "DATE-TIME".freeze,
186
679
  range: "ical:Value_DATE-TIME".freeze,
187
680
  type: "owl:DatatypeProperty".freeze
188
681
  property :cutype,
189
682
  comment: %(To specify the type of calendar user specified by the property.).freeze,
190
- label: "cutype".freeze,
191
683
  type: "owl:DatatypeProperty".freeze
192
684
  property :daylight,
193
685
  label: "DAYLIGHT".freeze,
194
686
  type: "owl:ObjectProperty".freeze
195
687
  property :delegatedFrom,
196
688
  comment: %(To specify the calendar users that have delegated their participation to the calendar user specified by the property.).freeze,
197
- label: "delegatedFrom".freeze,
198
689
  type: "owl:DatatypeProperty".freeze
199
690
  property :delegatedTo,
200
691
  comment: %(To specify the calendar users to whom the calendar user specified by the property has delegated participation.).freeze,
201
- label: "delegatedTo".freeze,
202
692
  type: "owl:DatatypeProperty".freeze
203
693
  property :description,
204
694
  comment: [%(
205
695
  value type: TEXT).freeze, %(This property provides a more complete description of the calendar component, than that provided by the "SUMMARY" property.).freeze],
206
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
207
- label: "description".freeze,
696
+ domain: term(
697
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Valarm".freeze, "ical:Vjournal".freeze, "ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Valarm".freeze),
698
+ type: "owl:Class".freeze
699
+ ),
700
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
208
701
  range: "xsd:string".freeze,
209
702
  type: "owl:DatatypeProperty".freeze
210
703
  property :dir,
211
704
  comment: %(To specify reference to a directory entry associated with the calendar user specified by the property.).freeze,
212
- label: "dir".freeze,
213
705
  type: "owl:DatatypeProperty".freeze
214
706
  property :dtend,
215
707
  comment: [%(
216
708
  default value type: DATE-TIME).freeze, %(This property specifies the date and time that a calendar component ends.).freeze],
217
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
709
+ domain: term(
710
+ unionOf: list("ical:Vevent".freeze, "ical:Vfreebusy".freeze, "ical:Vevent".freeze, "ical:Vfreebusy".freeze),
711
+ type: "owl:Class".freeze
712
+ ),
713
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "DATE-TIME".freeze,
218
714
  label: "end".freeze,
219
715
  type: "owl:DatatypeProperty".freeze
220
716
  property :dtstamp,
221
717
  comment: [%(
222
718
  value type: DATE-TIME).freeze, %(The property indicates the date/time that the instance of the iCalendar object was created.).freeze],
223
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
224
- label: "dtstamp".freeze,
719
+ domain: term(
720
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Vfreebusy".freeze),
721
+ type: "owl:Class".freeze
722
+ ),
723
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "DATE-TIME".freeze,
225
724
  range: "ical:Value_DATE-TIME".freeze,
226
725
  type: "owl:DatatypeProperty".freeze
227
726
  property :dtstart,
228
727
  comment: [%(
229
728
  default value type: DATE-TIME).freeze, %(This property specifies when the calendar component begins.).freeze],
230
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
729
+ domain: term(
730
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vfreebusy".freeze, "ical:Vtimezone".freeze, "ical:Vevent".freeze, "ical:Vevent".freeze, "ical:Vfreebusy".freeze, "ical:Vtimezone".freeze, "ical:Vtimezone".freeze),
731
+ type: "owl:Class".freeze
732
+ ),
733
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "DATE-TIME".freeze,
231
734
  label: "start".freeze,
232
735
  type: "owl:DatatypeProperty".freeze
233
736
  property :due,
234
737
  comment: [%(
235
738
  default value type: DATE-TIME).freeze, %(This property defines the date and time that a to-do is expected to be completed.).freeze],
236
739
  domain: "ical:Vtodo".freeze,
237
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
238
- label: "due".freeze,
740
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "DATE-TIME".freeze,
239
741
  type: "owl:DatatypeProperty".freeze
240
742
  property :duration,
241
743
  comment: [%(
242
744
  value type: DURATION).freeze, %(The property specifies a positive duration of time.).freeze],
243
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DURATION).freeze,
244
- label: "duration".freeze,
745
+ domain: term(
746
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vfreebusy".freeze, "ical:Valarm".freeze, "ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vfreebusy".freeze, "ical:Valarm".freeze),
747
+ type: "owl:Class".freeze
748
+ ),
749
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "DURATION".freeze,
245
750
  range: "ical:Value_DURATION".freeze,
246
751
  type: "owl:ObjectProperty".freeze
247
752
  property :encoding,
248
753
  comment: %(To specify an alternate inline encoding for the property value.).freeze,
249
- label: "encoding".freeze,
250
754
  type: "owl:DatatypeProperty".freeze
251
755
  property :exdate,
252
756
  comment: [%(
253
757
  default value type: DATE-TIME).freeze, %(This property defines the list of date/time exceptions for a recurring calendar component.).freeze],
254
758
  domain: "ical:DomainOf_rrule".freeze,
255
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
256
- label: "exdate".freeze,
759
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "DATE-TIME".freeze,
257
760
  type: "owl:DatatypeProperty".freeze
258
761
  property :exrule,
259
762
  comment: [%(
260
763
  value type: RECUR).freeze, %(This property defines a rule or repeating pattern for an exception to a recurrence set.).freeze],
261
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(RECUR).freeze,
262
- label: "exrule".freeze,
764
+ domain: term(
765
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze),
766
+ type: "owl:Class".freeze
767
+ ),
768
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "RECUR".freeze,
263
769
  range: "ical:Value_RECUR".freeze,
264
770
  type: "owl:ObjectProperty".freeze
265
771
  property :fbtype,
266
772
  comment: %(To specify the free or busy time type.).freeze,
267
- label: "fbtype".freeze,
268
773
  type: "owl:DatatypeProperty".freeze
269
774
  property :fmttype,
270
775
  comment: %(To specify the content type of a referenced object.).freeze,
271
- label: "fmttype".freeze,
272
776
  type: "owl:DatatypeProperty".freeze
273
777
  property :freebusy,
274
778
  comment: [%(
275
779
  value type: PERIOD).freeze, %(The property defines one or more free or busy time intervals.).freeze],
276
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(PERIOD).freeze,
277
- label: "freebusy".freeze,
780
+ domain: term(
781
+ unionOf: list("ical:Vfreebusy".freeze, "ical:Vfreebusy".freeze),
782
+ type: "owl:Class".freeze
783
+ ),
784
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "PERIOD".freeze,
278
785
  range: "ical:Value_PERIOD".freeze,
279
786
  type: "owl:ObjectProperty".freeze
280
787
  property :freq,
@@ -283,8 +790,11 @@ module RDF::Vocab
283
790
  property :geo,
284
791
  comment: [%(
285
792
  value type: list of FLOAT).freeze, %(This property specifies information related to the global position for the activity specified by a calendar component.).freeze],
286
- :"http://www.w3.org/2002/12/cal/icalSpec#valueListType" => %(FLOAT).freeze,
287
- label: "geo".freeze,
793
+ domain: term(
794
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze),
795
+ type: "owl:Class".freeze
796
+ ),
797
+ "http://www.w3.org/2002/12/cal/icalSpec#valueListType": "FLOAT".freeze,
288
798
  range: "ical:List_of_Float".freeze,
289
799
  type: "owl:ObjectProperty".freeze
290
800
  property :interval,
@@ -292,144 +802,161 @@ module RDF::Vocab
292
802
  type: "owl:DatatypeProperty".freeze
293
803
  property :language,
294
804
  comment: %(To specify the language for text values in a property or property parameter.).freeze,
295
- label: "language".freeze,
296
805
  type: "owl:DatatypeProperty".freeze
297
806
  property :lastModified,
298
807
  comment: [%(
299
808
  value type: DATE-TIME).freeze, %(The property specifies the date and time that the information associated with the calendar component was last revised in the calendar store. Note: This is analogous to the modification date and time for a file in the file system.).freeze],
300
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
301
- label: "lastModified".freeze,
809
+ domain: term(
810
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Vtimezone".freeze),
811
+ type: "owl:Class".freeze
812
+ ),
813
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "DATE-TIME".freeze,
302
814
  range: "ical:Value_DATE-TIME".freeze,
303
815
  type: "owl:DatatypeProperty".freeze
304
816
  property :location,
305
817
  comment: [%(
306
818
  value type: TEXT).freeze, %(The property defines the intended venue for the activity defined by a calendar component.).freeze],
307
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
819
+ domain: term(
820
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze),
821
+ type: "owl:Class".freeze
822
+ ),
823
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
308
824
  label: "location".freeze,
309
825
  range: "xsd:string".freeze,
310
826
  type: "owl:DatatypeProperty".freeze
311
827
  property :member,
312
828
  comment: %(To specify the group or list membership of the calendar user specified by the property.).freeze,
313
- label: "member".freeze,
314
829
  type: "owl:DatatypeProperty".freeze
315
830
  property :method,
316
831
  comment: [%(
317
832
  value type: TEXT).freeze, %(This property defines the iCalendar object method associated with the calendar object.).freeze],
318
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
319
- label: "method".freeze,
833
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
320
834
  range: "xsd:string".freeze,
321
835
  type: "owl:DatatypeProperty".freeze
322
836
  property :organizer,
323
837
  comment: [%(
324
838
  value type: CAL-ADDRESS).freeze, %(The property defines the organizer for a calendar component.).freeze],
325
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(CAL-ADDRESS).freeze,
326
- label: "organizer".freeze,
839
+ domain: term(
840
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Vfreebusy".freeze, "ical:Vfreebusy".freeze),
841
+ type: "owl:Class".freeze
842
+ ),
843
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "CAL-ADDRESS".freeze,
327
844
  range: "ical:Value_CAL-ADDRESS".freeze,
328
845
  type: "owl:ObjectProperty".freeze
329
846
  property :partstat,
330
847
  comment: %(To specify the participation status for the calendar user specified by the property.).freeze,
331
- label: "partstat".freeze,
332
848
  type: "owl:DatatypeProperty".freeze
333
849
  property :percentComplete,
334
850
  comment: [%(
335
851
  value type: INTEGER).freeze, %(This property is used by an assignee or delegatee of a to-do to convey the percent completion of a to-do to the Organizer.).freeze],
336
852
  domain: "ical:Vtodo".freeze,
337
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(INTEGER).freeze,
338
- label: "percentComplete".freeze,
853
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "INTEGER".freeze,
339
854
  range: "xsd:integer".freeze,
340
855
  type: "owl:DatatypeProperty".freeze
341
856
  property :priority,
342
857
  comment: [%(
343
858
  value type: INTEGER).freeze, %(The property defines the relative priority for a calendar component.).freeze],
344
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(INTEGER).freeze,
345
- label: "priority".freeze,
859
+ domain: term(
860
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vevent".freeze, "ical:Vtodo".freeze),
861
+ type: "owl:Class".freeze
862
+ ),
863
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "INTEGER".freeze,
346
864
  range: "xsd:integer".freeze,
347
865
  type: "owl:DatatypeProperty".freeze
348
866
  property :prodid,
349
867
  comment: [%(
350
868
  value type: TEXT).freeze, %(This property specifies the identifier for the product that created the iCalendar object.).freeze],
351
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
352
- label: "prodid".freeze,
869
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
353
870
  range: "xsd:string".freeze,
354
871
  type: "owl:DatatypeProperty".freeze
355
872
  property :range,
356
873
  comment: %(To specify the effective range of recurrence instances from the instance specified by the recurrence identifier specified by the property.).freeze,
357
- label: "range".freeze,
358
874
  type: "owl:DatatypeProperty".freeze
359
875
  property :rdate,
360
876
  comment: [%(
361
877
  default value type: DATE-TIME).freeze, %(This property defines the list of date/times for a recurrence set.).freeze],
362
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
363
- label: "rdate".freeze,
878
+ domain: term(
879
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Vtimezone".freeze),
880
+ type: "owl:Class".freeze
881
+ ),
882
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "DATE-TIME".freeze,
364
883
  type: "owl:DatatypeProperty".freeze
365
884
  property :recurrenceId,
366
885
  comment: [%(
367
886
  default value type: DATE-TIME).freeze, %(This property is used in conjunction with the "UID" and "SEQUENCE" property to identify a specific instance of a recurring "VEVENT", "VTODO" or "VJOURNAL" calendar component. The property value is the effective value of the "DTSTART" property of the recurrence instance.).freeze],
368
887
  domain: "ical:DomainOf_rrule".freeze,
369
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
370
- label: "recurrenceId".freeze,
888
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "DATE-TIME".freeze,
371
889
  type: "owl:DatatypeProperty".freeze
372
890
  property :related,
373
891
  comment: %(To specify the relationship of the alarm trigger with respect to the start or end of the calendar component.).freeze,
374
- label: "related".freeze,
375
892
  type: "owl:DatatypeProperty".freeze
376
893
  property :relatedTo,
377
894
  comment: [%(
378
895
  value type: TEXT).freeze, %(The property is used to represent a relationship or reference between one calendar component and another.).freeze],
379
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
380
- label: "relatedTo".freeze,
896
+ domain: term(
897
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze),
898
+ type: "owl:Class".freeze
899
+ ),
900
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
381
901
  range: "xsd:string".freeze,
382
902
  type: "owl:DatatypeProperty".freeze
383
903
  property :reltype,
384
904
  comment: %(To specify the type of hierarchical relationship associated with the calendar component specified by the property.).freeze,
385
- label: "reltype".freeze,
386
905
  type: "owl:DatatypeProperty".freeze
387
906
  property :repeat,
388
907
  comment: [%(
389
908
  value type: INTEGER).freeze, %(This property defines the number of time the alarm should be repeated, after the initial trigger.).freeze],
390
909
  domain: "ical:Valarm".freeze,
391
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(INTEGER).freeze,
392
- label: "repeat".freeze,
910
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "INTEGER".freeze,
393
911
  range: "xsd:integer".freeze,
394
912
  type: "owl:DatatypeProperty".freeze
395
913
  property :requestStatus,
396
914
  comment: [%(
397
915
  value type: TEXT).freeze, %(This property defines the status code returned for a scheduling request.).freeze],
398
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
399
- label: "requestStatus".freeze,
916
+ domain: term(
917
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Vfreebusy".freeze),
918
+ type: "owl:Class".freeze
919
+ ),
920
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
400
921
  range: "xsd:string".freeze,
401
922
  type: "owl:DatatypeProperty".freeze
402
923
  property :resources,
403
924
  comment: [%(
404
925
  value type: TEXT).freeze, %(This property defines the equipment or resources anticipated for an activity specified by a calendar entity..).freeze],
405
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
406
- label: "resources".freeze,
926
+ domain: term(
927
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze),
928
+ type: "owl:Class".freeze
929
+ ),
930
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
407
931
  range: "xsd:string".freeze,
408
932
  type: "owl:DatatypeProperty".freeze
409
933
  property :role,
410
934
  comment: %(To specify the participation role for the calendar user specified by the property.).freeze,
411
- label: "role".freeze,
412
935
  type: "owl:DatatypeProperty".freeze
413
936
  property :rrule,
414
937
  comment: [%(
415
938
  value type: RECUR).freeze, %(This property defines a rule or repeating pattern for recurring events, to-dos, or time zone definitions.).freeze],
416
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(RECUR).freeze,
417
- label: "rrule".freeze,
939
+ domain: term(
940
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Vtimezone".freeze, "ical:Vtimezone".freeze, "ical:Vtimezone".freeze, "ical:Vtimezone".freeze),
941
+ type: "owl:Class".freeze
942
+ ),
943
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "RECUR".freeze,
418
944
  range: "ical:Value_RECUR".freeze,
419
945
  type: "owl:ObjectProperty".freeze
420
946
  property :rsvp,
421
947
  comment: %(To specify whether there is an expectation of a favor of a reply from the calendar user specified by the property value.).freeze,
422
- label: "rsvp".freeze,
423
948
  type: "owl:DatatypeProperty".freeze
424
949
  property :sentBy,
425
950
  comment: %(To specify the calendar user that is acting on behalf of the calendar user specified by the property.).freeze,
426
- label: "sentBy".freeze,
427
951
  type: "owl:DatatypeProperty".freeze
428
952
  property :sequence,
429
953
  comment: [%(
430
954
  value type: integer).freeze, %(This property defines the revision sequence number of the calendar component within a sequence of revisions.).freeze],
431
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(integer).freeze,
432
- label: "sequence".freeze,
955
+ domain: term(
956
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze),
957
+ type: "owl:Class".freeze
958
+ ),
959
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "integer".freeze,
433
960
  range: "xsd:integer".freeze,
434
961
  type: "owl:DatatypeProperty".freeze
435
962
  property :standard,
@@ -438,14 +965,21 @@ module RDF::Vocab
438
965
  property :status,
439
966
  comment: [%(
440
967
  value type: TEXT).freeze, %(This property defines the overall status or confirmation for the calendar component.).freeze],
441
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
442
- label: "status".freeze,
968
+ domain: term(
969
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze),
970
+ type: "owl:Class".freeze
971
+ ),
972
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
443
973
  range: "xsd:string".freeze,
444
974
  type: "owl:DatatypeProperty".freeze
445
975
  property :summary,
446
976
  comment: [%(
447
977
  value type: TEXT).freeze, %(This property defines a short summary or subject for the calendar component.).freeze],
448
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
978
+ domain: term(
979
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Valarm".freeze, "ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Valarm".freeze),
980
+ type: "owl:Class".freeze
981
+ ),
982
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
449
983
  label: "summary".freeze,
450
984
  range: "xsd:string".freeze,
451
985
  subPropertyOf: "rdfs:label".freeze,
@@ -454,58 +988,70 @@ module RDF::Vocab
454
988
  comment: [%(
455
989
  value type: TEXT).freeze, %(This property defines whether an event is transparent or not to busy time searches.).freeze],
456
990
  domain: "ical:Vevent".freeze,
457
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
458
- label: "transp".freeze,
991
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
459
992
  range: "xsd:string".freeze,
460
993
  type: "owl:DatatypeProperty".freeze
461
994
  property :trigger,
462
995
  comment: [%(
463
996
  default value type: DURATION).freeze, %(This property specifies when an alarm will trigger.).freeze],
464
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DURATION).freeze,
465
- label: "trigger".freeze,
997
+ domain: term(
998
+ unionOf: list("ical:Valarm".freeze, "ical:Valarm".freeze, "ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vevent".freeze, "ical:Vtodo".freeze),
999
+ type: "owl:Class".freeze
1000
+ ),
1001
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "DURATION".freeze,
1002
+ range: term(
1003
+ unionOf: list("ical:Value_DURATION".freeze, "ical:Value_DATE".freeze, "ical:Value_DATE".freeze),
1004
+ type: "owl:Class".freeze
1005
+ ),
466
1006
  type: "owl:ObjectProperty".freeze
467
1007
  property :tzid,
468
1008
  comment: [%(
469
1009
  value type: TEXT).freeze, %(This property specifies the text value that uniquely identifies the "VTIMEZONE" calendar component.).freeze, %(To specify the identifier for the time zone definition for a time component in the property value.).freeze],
470
1010
  domain: "ical:Vtimezone".freeze,
471
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
472
- label: "tzid".freeze,
1011
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
473
1012
  range: "xsd:string".freeze,
474
1013
  type: "owl:DatatypeProperty".freeze
475
1014
  property :tzname,
476
1015
  comment: [%(
477
1016
  value type: TEXT).freeze, %(This property specifies the customary designation for a time zone description.).freeze],
478
1017
  domain: "ical:Vtimezone".freeze,
479
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
480
- label: "tzname".freeze,
1018
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
481
1019
  range: "xsd:string".freeze,
482
1020
  type: "owl:DatatypeProperty".freeze
483
1021
  property :tzoffsetfrom,
484
1022
  comment: [%(
485
1023
  value type: UTC-OFFSET).freeze, %(This property specifies the offset which is in use prior to this time zone observance.).freeze],
486
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(UTC-OFFSET).freeze,
487
- label: "tzoffsetfrom".freeze,
1024
+ domain: term(
1025
+ unionOf: list("ical:Vtimezone".freeze, "ical:Vtimezone".freeze, "ical:Vtimezone".freeze),
1026
+ type: "owl:Class".freeze
1027
+ ),
1028
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "UTC-OFFSET".freeze,
488
1029
  range: "xsd:string".freeze,
489
1030
  type: "owl:DatatypeProperty".freeze
490
1031
  property :tzoffsetto,
491
1032
  comment: [%(
492
1033
  value type: UTC-OFFSET).freeze, %(This property specifies the offset which is in use in this time zone observance.).freeze],
493
1034
  domain: "ical:Vtimezone".freeze,
494
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(UTC-OFFSET).freeze,
495
- label: "tzoffsetto".freeze,
1035
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "UTC-OFFSET".freeze,
496
1036
  range: "xsd:string".freeze,
497
1037
  type: "owl:DatatypeProperty".freeze
498
1038
  property :tzurl,
499
1039
  comment: [%(
500
1040
  value type: URI).freeze, %(The TZURL provides a means for a VTIMEZONE component to point to a network location that can be used to retrieve an up-to- date version of itself.).freeze],
501
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(URI).freeze,
502
- label: "tzurl".freeze,
1041
+ domain: term(
1042
+ unionOf: list("ical:Vtimezone".freeze, "ical:Vtimezone".freeze, "ical:Vtimezone".freeze),
1043
+ type: "owl:Class".freeze
1044
+ ),
1045
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "URI".freeze,
503
1046
  type: "owl:ObjectProperty".freeze
504
1047
  property :uid,
505
1048
  comment: [%(
506
1049
  value type: TEXT).freeze, %(This property defines the persistent, globally unique identifier for the calendar component.).freeze],
507
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
508
- label: "uid".freeze,
1050
+ domain: term(
1051
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Vfreebusy".freeze, "ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze),
1052
+ type: "owl:Class".freeze
1053
+ ),
1054
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
509
1055
  range: "xsd:string".freeze,
510
1056
  type: "owl:DatatypeProperty".freeze
511
1057
  property :until,
@@ -514,14 +1060,17 @@ module RDF::Vocab
514
1060
  property :url,
515
1061
  comment: [%(
516
1062
  value type: URI).freeze, %(This property defines a Uniform Resource Locator \(URL\) associated with the iCalendar object.).freeze],
517
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(URI).freeze,
1063
+ domain: term(
1064
+ unionOf: list("ical:Vevent".freeze, "ical:Vtodo".freeze, "ical:Vjournal".freeze, "ical:Vfreebusy".freeze),
1065
+ type: "owl:Class".freeze
1066
+ ),
1067
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "URI".freeze,
518
1068
  label: "see also".freeze,
519
1069
  type: "owl:ObjectProperty".freeze
520
1070
  property :version,
521
1071
  comment: [%(
522
1072
  value type: TEXT).freeze, %(This property specifies the identifier corresponding to the highest version number or the minimum and maximum range of the iCalendar specification that is required in order to interpret the iCalendar object.).freeze],
523
- :"http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
524
- label: "version".freeze,
1073
+ "http://www.w3.org/2002/12/cal/icalSpec#valueType": "TEXT".freeze,
525
1074
  range: "xsd:string".freeze,
526
1075
  type: "owl:DatatypeProperty".freeze
527
1076
  property :wkst,
@@ -530,10 +1079,8 @@ module RDF::Vocab
530
1079
 
531
1080
  # Datatype definitions
532
1081
  term :"Value_DATE-TIME",
533
- label: "Value_DATE-TIME".freeze,
534
1082
  type: "rdfs:Datatype".freeze
535
1083
  term :dateTime,
536
- label: "dateTime".freeze,
537
1084
  type: "rdfs:Datatype".freeze
538
1085
  end
539
1086
  end