rdf-vocab 3.1.5 → 3.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rdf/vocab.rb +35 -14
- data/lib/rdf/vocab/bf2.rb +78 -78
- data/lib/rdf/vocab/cert.rb +1 -1
- data/lib/rdf/vocab/dc.rb +386 -0
- data/lib/rdf/vocab/dcat.rb +1 -1
- data/lib/rdf/vocab/dcmitype.rb +50 -0
- data/lib/rdf/vocab/earl.rb +1 -1
- data/lib/rdf/vocab/ebucore.rb +271 -271
- data/lib/rdf/vocab/extensions.rb +7 -3
- data/lib/rdf/vocab/geonames.rb +2 -2
- data/lib/rdf/vocab/gs1.rb +2 -2
- data/lib/rdf/vocab/ht.rb +1 -1
- data/lib/rdf/vocab/ical.rb +61 -61
- data/lib/rdf/vocab/jsonld.rb +13 -3
- data/lib/rdf/vocab/ldp.rb +3 -3
- data/lib/rdf/vocab/lrmi.rb +68 -0
- data/lib/rdf/vocab/mads.rb +9 -9
- data/lib/rdf/vocab/og.rb +22 -0
- data/lib/rdf/vocab/premis.rb +206 -206
- data/lib/rdf/vocab/prov.rb +13 -13
- data/lib/rdf/vocab/rsa.rb +1 -1
- data/lib/rdf/vocab/rss.rb +41 -0
- data/lib/rdf/vocab/schema.rb +1649 -759
- data/lib/rdf/vocab/sh.rb +1 -1
- data/lib/rdf/vocab/skos.rb +2 -2
- data/lib/rdf/vocab/xkos.rb +4 -4
- metadata +2 -2
data/lib/rdf/vocab/extensions.rb
CHANGED
@@ -30,11 +30,14 @@ module RDF
|
|
30
30
|
end
|
31
31
|
|
32
32
|
##
|
33
|
-
# A hash of all vocabularies by prefix showing relevant URI and
|
33
|
+
# A hash of all vocabularies by prefix showing relevant URI and
|
34
|
+
# associated vocabulary Class Name
|
35
|
+
#
|
34
36
|
# @return [Hash{Symbol => Hash{Symbol => String}}]
|
35
37
|
#alias_method :_orig_vocab_map, :vocab_map
|
36
38
|
def vocab_map
|
37
|
-
@vocab_map ||= RDF::VOCABS.merge(
|
39
|
+
@vocab_map ||= RDF::VOCABS.transform_values(&:freeze).merge(
|
40
|
+
RDF::Vocab::VOCABS.transform_values(&:freeze))
|
38
41
|
end
|
39
42
|
|
40
43
|
##
|
@@ -44,7 +47,8 @@ module RDF
|
|
44
47
|
# @return [RDF::Vocabulary]
|
45
48
|
alias_method :_orig_from_sym, :from_sym
|
46
49
|
def from_sym(sym)
|
47
|
-
RDF::Vocab.const_defined?(sym.to_sym) ?
|
50
|
+
RDF::Vocab.const_defined?(sym.to_sym) ?
|
51
|
+
RDF::Vocab.const_get(sym.to_sym) : _orig_from_sym(sym)
|
48
52
|
end
|
49
53
|
|
50
54
|
##
|
data/lib/rdf/vocab/geonames.rb
CHANGED
@@ -87,9 +87,9 @@ module RDF::Vocab
|
|
87
87
|
# # @return [RDF::Vocabulary::Term]
|
88
88
|
# attr_reader :colloquialName
|
89
89
|
#
|
90
|
-
# # The countryCode value for a Geoname Feature is equal to the countryCode value of the parentCountry value.
|
91
|
-
# #
|
92
90
|
# # A two letters country code in the ISO 3166 list
|
91
|
+
# #
|
92
|
+
# # The countryCode value for a Geoname Feature is equal to the countryCode value of the parentCountry value.
|
93
93
|
# # @return [RDF::Vocabulary::Term]
|
94
94
|
# attr_reader :countryCode
|
95
95
|
#
|
data/lib/rdf/vocab/gs1.rb
CHANGED
@@ -455,9 +455,9 @@ module RDF::Vocab
|
|
455
455
|
# # @return [RDF::Vocabulary::Term]
|
456
456
|
# attr_reader :copperPerNutrientBasis
|
457
457
|
#
|
458
|
-
# # Code specifying the country for the address using ISO 3166-1.
|
459
|
-
# #
|
460
458
|
# # A short text string code (see values defined in ISO 3166) specifying the country in which a processing or other activity is performed, for example processing, bottling, manufacturing.
|
459
|
+
# #
|
460
|
+
# # Code specifying the country for the address using ISO 3166-1.
|
461
461
|
# # @return [RDF::Vocabulary::Term]
|
462
462
|
# attr_reader :countryCode
|
463
463
|
#
|
data/lib/rdf/vocab/ht.rb
CHANGED
@@ -10,8 +10,8 @@ module RDF::Vocab
|
|
10
10
|
# #
|
11
11
|
# # A namespace for describing HTTP messages (http://www.w3.org/Protocols/rfc2616/rfc2616.html)
|
12
12
|
# # @version Working Draft 29 April 2011
|
13
|
-
# # @see http://www.w3.org/TR/Content-in-RDF/
|
14
13
|
# # @see http://www.w3.org/WAI/intro/earl
|
14
|
+
# # @see http://www.w3.org/TR/Content-in-RDF/
|
15
15
|
# class HT < RDF::StrictVocabulary
|
16
16
|
# # A connection used for HTTP transfer.
|
17
17
|
# # @return [RDF::Vocabulary::Term]
|
data/lib/rdf/vocab/ical.rb
CHANGED
@@ -6,8 +6,8 @@ module RDF::Vocab
|
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://www.w3.org/2002/12/cal/icaltzd#>
|
8
8
|
# #
|
9
|
-
# # @version $Id: icaltzd.rdf,v 1.6 2007/06/28 18:22:09 connolly Exp $
|
10
9
|
# # @version subject to change with notice to www-rdf-calendar@w3.org
|
10
|
+
# # @version $Id: icaltzd.rdf,v 1.6 2007/06/28 18:22:09 connolly Exp $
|
11
11
|
# # @see http://www.w3.org/2002/12/cal/
|
12
12
|
# # @see http://esw.w3.org/topic/RdfCalendar
|
13
13
|
# # @see http://lists.w3.org/Archives/Public/www-rdf-calendar/
|
@@ -57,9 +57,9 @@ module RDF::Vocab
|
|
57
57
|
# # @return [RDF::Vocabulary::Term]
|
58
58
|
# attr_reader :Vtodo
|
59
59
|
#
|
60
|
-
# # value type: TEXT
|
61
|
-
# #
|
62
60
|
# # This property defines the action to be invoked when an alarm is triggered.
|
61
|
+
# #
|
62
|
+
# # value type: TEXT
|
63
63
|
# # @return [RDF::Vocabulary::Term]
|
64
64
|
# attr_reader :action
|
65
65
|
#
|
@@ -73,9 +73,9 @@ module RDF::Vocab
|
|
73
73
|
# # @return [RDF::Vocabulary::Term]
|
74
74
|
# attr_reader :attach
|
75
75
|
#
|
76
|
-
# # value type: CAL-ADDRESS
|
77
|
-
# #
|
78
76
|
# # The property defines an "Attendee" within a calendar component.
|
77
|
+
# #
|
78
|
+
# # value type: CAL-ADDRESS
|
79
79
|
# # @return [RDF::Vocabulary::Term]
|
80
80
|
# attr_reader :attendee
|
81
81
|
#
|
@@ -106,9 +106,9 @@ module RDF::Vocab
|
|
106
106
|
# # @return [RDF::Vocabulary::Term]
|
107
107
|
# attr_reader :calAddress
|
108
108
|
#
|
109
|
-
# # value type: TEXT
|
110
|
-
# #
|
111
109
|
# # This property defines the calendar scale used for the calendar information specified in the iCalendar object.
|
110
|
+
# #
|
111
|
+
# # value type: TEXT
|
112
112
|
# # @return [RDF::Vocabulary::Term]
|
113
113
|
# attr_reader :calscale
|
114
114
|
#
|
@@ -118,9 +118,9 @@ module RDF::Vocab
|
|
118
118
|
# # @return [RDF::Vocabulary::Term]
|
119
119
|
# attr_reader :categories
|
120
120
|
#
|
121
|
-
# # value type: TEXT
|
122
|
-
# #
|
123
121
|
# # This property defines the access classification for a calendar component.
|
122
|
+
# #
|
123
|
+
# # value type: TEXT
|
124
124
|
# # @return [RDF::Vocabulary::Term]
|
125
125
|
# attr_reader :class
|
126
126
|
#
|
@@ -128,33 +128,33 @@ module RDF::Vocab
|
|
128
128
|
# # @return [RDF::Vocabulary::Term]
|
129
129
|
# attr_reader :cn
|
130
130
|
#
|
131
|
-
# # value type: TEXT
|
132
|
-
# #
|
133
131
|
# # This property specifies non-processing information intended to provide a comment to the calendar user.
|
132
|
+
# #
|
133
|
+
# # value type: TEXT
|
134
134
|
# # @return [RDF::Vocabulary::Term]
|
135
135
|
# attr_reader :comment
|
136
136
|
#
|
137
|
-
# # This property defines the date and time that a to-do was actually completed.
|
138
|
-
# #
|
139
137
|
# # value type: DATE-TIME
|
138
|
+
# #
|
139
|
+
# # This property defines the date and time that a to-do was actually completed.
|
140
140
|
# # @return [RDF::Vocabulary::Term]
|
141
141
|
# attr_reader :completed
|
142
142
|
#
|
143
143
|
# # @return [RDF::Vocabulary::Term]
|
144
144
|
# attr_reader :component
|
145
145
|
#
|
146
|
-
# # value type: TEXT
|
147
|
-
# #
|
148
146
|
# # The property is used to represent contact information or alternately a reference to contact information associated with the calendar component.
|
147
|
+
# #
|
148
|
+
# # value type: TEXT
|
149
149
|
# # @return [RDF::Vocabulary::Term]
|
150
150
|
# attr_reader :contact
|
151
151
|
#
|
152
152
|
# # @return [RDF::Vocabulary::Term]
|
153
153
|
# attr_reader :count
|
154
154
|
#
|
155
|
-
# # 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.
|
156
|
-
# #
|
157
155
|
# # value type: DATE-TIME
|
156
|
+
# #
|
157
|
+
# # 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.
|
158
158
|
# # @return [RDF::Vocabulary::Term]
|
159
159
|
# attr_reader :created
|
160
160
|
#
|
@@ -183,9 +183,9 @@ module RDF::Vocab
|
|
183
183
|
# # @return [RDF::Vocabulary::Term]
|
184
184
|
# attr_reader :dir
|
185
185
|
#
|
186
|
-
# # This property specifies the date and time that a calendar component ends.
|
187
|
-
# #
|
188
186
|
# # default value type: DATE-TIME
|
187
|
+
# #
|
188
|
+
# # This property specifies the date and time that a calendar component ends.
|
189
189
|
# # @return [RDF::Vocabulary::Term]
|
190
190
|
# attr_reader :dtend
|
191
191
|
#
|
@@ -201,9 +201,9 @@ module RDF::Vocab
|
|
201
201
|
# # @return [RDF::Vocabulary::Term]
|
202
202
|
# attr_reader :dtstart
|
203
203
|
#
|
204
|
-
# # default value type: DATE-TIME
|
205
|
-
# #
|
206
204
|
# # This property defines the date and time that a to-do is expected to be completed.
|
205
|
+
# #
|
206
|
+
# # default value type: DATE-TIME
|
207
207
|
# # @return [RDF::Vocabulary::Term]
|
208
208
|
# attr_reader :due
|
209
209
|
#
|
@@ -217,15 +217,15 @@ module RDF::Vocab
|
|
217
217
|
# # @return [RDF::Vocabulary::Term]
|
218
218
|
# attr_reader :encoding
|
219
219
|
#
|
220
|
-
# # default value type: DATE-TIME
|
221
|
-
# #
|
222
220
|
# # This property defines the list of date/time exceptions for a recurring calendar component.
|
221
|
+
# #
|
222
|
+
# # default value type: DATE-TIME
|
223
223
|
# # @return [RDF::Vocabulary::Term]
|
224
224
|
# attr_reader :exdate
|
225
225
|
#
|
226
|
-
# # value type: RECUR
|
227
|
-
# #
|
228
226
|
# # This property defines a rule or repeating pattern for an exception to a recurrence set.
|
227
|
+
# #
|
228
|
+
# # value type: RECUR
|
229
229
|
# # @return [RDF::Vocabulary::Term]
|
230
230
|
# attr_reader :exrule
|
231
231
|
#
|
@@ -237,9 +237,9 @@ module RDF::Vocab
|
|
237
237
|
# # @return [RDF::Vocabulary::Term]
|
238
238
|
# attr_reader :fmttype
|
239
239
|
#
|
240
|
-
# # value type: PERIOD
|
241
|
-
# #
|
242
240
|
# # The property defines one or more free or busy time intervals.
|
241
|
+
# #
|
242
|
+
# # value type: PERIOD
|
243
243
|
# # @return [RDF::Vocabulary::Term]
|
244
244
|
# attr_reader :freebusy
|
245
245
|
#
|
@@ -259,15 +259,15 @@ module RDF::Vocab
|
|
259
259
|
# # @return [RDF::Vocabulary::Term]
|
260
260
|
# attr_reader :language
|
261
261
|
#
|
262
|
-
# # 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.
|
263
|
-
# #
|
264
262
|
# # value type: DATE-TIME
|
263
|
+
# #
|
264
|
+
# # 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.
|
265
265
|
# # @return [RDF::Vocabulary::Term]
|
266
266
|
# attr_reader :lastModified
|
267
267
|
#
|
268
|
-
# # value type: TEXT
|
269
|
-
# #
|
270
268
|
# # The property defines the intended venue for the activity defined by a calendar component.
|
269
|
+
# #
|
270
|
+
# # value type: TEXT
|
271
271
|
# # @return [RDF::Vocabulary::Term]
|
272
272
|
# attr_reader :location
|
273
273
|
#
|
@@ -281,9 +281,9 @@ module RDF::Vocab
|
|
281
281
|
# # @return [RDF::Vocabulary::Term]
|
282
282
|
# attr_reader :method
|
283
283
|
#
|
284
|
-
# # The property defines the organizer for a calendar component.
|
285
|
-
# #
|
286
284
|
# # value type: CAL-ADDRESS
|
285
|
+
# #
|
286
|
+
# # The property defines the organizer for a calendar component.
|
287
287
|
# # @return [RDF::Vocabulary::Term]
|
288
288
|
# attr_reader :organizer
|
289
289
|
#
|
@@ -297,9 +297,9 @@ module RDF::Vocab
|
|
297
297
|
# # @return [RDF::Vocabulary::Term]
|
298
298
|
# attr_reader :percentComplete
|
299
299
|
#
|
300
|
-
# # The property defines the relative priority for a calendar component.
|
301
|
-
# #
|
302
300
|
# # value type: INTEGER
|
301
|
+
# #
|
302
|
+
# # The property defines the relative priority for a calendar component.
|
303
303
|
# # @return [RDF::Vocabulary::Term]
|
304
304
|
# attr_reader :priority
|
305
305
|
#
|
@@ -313,15 +313,15 @@ module RDF::Vocab
|
|
313
313
|
# # @return [RDF::Vocabulary::Term]
|
314
314
|
# attr_reader :range
|
315
315
|
#
|
316
|
-
# # default value type: DATE-TIME
|
317
|
-
# #
|
318
316
|
# # This property defines the list of date/times for a recurrence set.
|
317
|
+
# #
|
318
|
+
# # default value type: DATE-TIME
|
319
319
|
# # @return [RDF::Vocabulary::Term]
|
320
320
|
# attr_reader :rdate
|
321
321
|
#
|
322
|
-
# # 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.
|
323
|
-
# #
|
324
322
|
# # default value type: DATE-TIME
|
323
|
+
# #
|
324
|
+
# # 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.
|
325
325
|
# # @return [RDF::Vocabulary::Term]
|
326
326
|
# attr_reader :recurrenceId
|
327
327
|
#
|
@@ -339,21 +339,21 @@ module RDF::Vocab
|
|
339
339
|
# # @return [RDF::Vocabulary::Term]
|
340
340
|
# attr_reader :reltype
|
341
341
|
#
|
342
|
-
# # This property defines the number of time the alarm should be repeated, after the initial trigger.
|
343
|
-
# #
|
344
342
|
# # value type: INTEGER
|
343
|
+
# #
|
344
|
+
# # This property defines the number of time the alarm should be repeated, after the initial trigger.
|
345
345
|
# # @return [RDF::Vocabulary::Term]
|
346
346
|
# attr_reader :repeat
|
347
347
|
#
|
348
|
-
# # value type: TEXT
|
349
|
-
# #
|
350
348
|
# # This property defines the status code returned for a scheduling request.
|
349
|
+
# #
|
350
|
+
# # value type: TEXT
|
351
351
|
# # @return [RDF::Vocabulary::Term]
|
352
352
|
# attr_reader :requestStatus
|
353
353
|
#
|
354
|
-
# # value type: TEXT
|
355
|
-
# #
|
356
354
|
# # This property defines the equipment or resources anticipated for an activity specified by a calendar entity..
|
355
|
+
# #
|
356
|
+
# # value type: TEXT
|
357
357
|
# # @return [RDF::Vocabulary::Term]
|
358
358
|
# attr_reader :resources
|
359
359
|
#
|
@@ -361,9 +361,9 @@ module RDF::Vocab
|
|
361
361
|
# # @return [RDF::Vocabulary::Term]
|
362
362
|
# attr_reader :role
|
363
363
|
#
|
364
|
-
# # value type: RECUR
|
365
|
-
# #
|
366
364
|
# # This property defines a rule or repeating pattern for recurring events, to-dos, or time zone definitions.
|
365
|
+
# #
|
366
|
+
# # value type: RECUR
|
367
367
|
# # @return [RDF::Vocabulary::Term]
|
368
368
|
# attr_reader :rrule
|
369
369
|
#
|
@@ -375,9 +375,9 @@ module RDF::Vocab
|
|
375
375
|
# # @return [RDF::Vocabulary::Term]
|
376
376
|
# attr_reader :sentBy
|
377
377
|
#
|
378
|
-
# # value type: integer
|
379
|
-
# #
|
380
378
|
# # This property defines the revision sequence number of the calendar component within a sequence of revisions.
|
379
|
+
# #
|
380
|
+
# # value type: integer
|
381
381
|
# # @return [RDF::Vocabulary::Term]
|
382
382
|
# attr_reader :sequence
|
383
383
|
#
|
@@ -396,23 +396,23 @@ module RDF::Vocab
|
|
396
396
|
# # @return [RDF::Vocabulary::Term]
|
397
397
|
# attr_reader :summary
|
398
398
|
#
|
399
|
-
# # value type: TEXT
|
400
|
-
# #
|
401
399
|
# # This property defines whether an event is transparent or not to busy time searches.
|
400
|
+
# #
|
401
|
+
# # value type: TEXT
|
402
402
|
# # @return [RDF::Vocabulary::Term]
|
403
403
|
# attr_reader :transp
|
404
404
|
#
|
405
|
-
# # This property specifies when an alarm will trigger.
|
406
|
-
# #
|
407
405
|
# # default value type: DURATION
|
406
|
+
# #
|
407
|
+
# # This property specifies when an alarm will trigger.
|
408
408
|
# # @return [RDF::Vocabulary::Term]
|
409
409
|
# attr_reader :trigger
|
410
410
|
#
|
411
|
-
# #
|
411
|
+
# # This property specifies the text value that uniquely identifies the "VTIMEZONE" calendar component.
|
412
412
|
# #
|
413
413
|
# # To specify the identifier for the time zone definition for a time component in the property value.
|
414
414
|
# #
|
415
|
-
# #
|
415
|
+
# # value type: TEXT
|
416
416
|
# # @return [RDF::Vocabulary::Term]
|
417
417
|
# attr_reader :tzid
|
418
418
|
#
|
@@ -440,24 +440,24 @@ module RDF::Vocab
|
|
440
440
|
# # @return [RDF::Vocabulary::Term]
|
441
441
|
# attr_reader :tzurl
|
442
442
|
#
|
443
|
-
# # value type: TEXT
|
444
|
-
# #
|
445
443
|
# # This property defines the persistent, globally unique identifier for the calendar component.
|
444
|
+
# #
|
445
|
+
# # value type: TEXT
|
446
446
|
# # @return [RDF::Vocabulary::Term]
|
447
447
|
# attr_reader :uid
|
448
448
|
#
|
449
449
|
# # @return [RDF::Vocabulary::Term]
|
450
450
|
# attr_reader :until
|
451
451
|
#
|
452
|
-
# # This property defines a Uniform Resource Locator (URL) associated with the iCalendar object.
|
453
|
-
# #
|
454
452
|
# # value type: URI
|
453
|
+
# #
|
454
|
+
# # This property defines a Uniform Resource Locator (URL) associated with the iCalendar object.
|
455
455
|
# # @return [RDF::Vocabulary::Term]
|
456
456
|
# attr_reader :url
|
457
457
|
#
|
458
|
-
# # value type: TEXT
|
459
|
-
# #
|
460
458
|
# # 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.
|
459
|
+
# #
|
460
|
+
# # value type: TEXT
|
461
461
|
# # @return [RDF::Vocabulary::Term]
|
462
462
|
# attr_reader :version
|
463
463
|
#
|
data/lib/rdf/vocab/jsonld.rb
CHANGED
@@ -9,7 +9,7 @@ module RDF::Vocab
|
|
9
9
|
# # The JSON-LD Vocabulary
|
10
10
|
# #
|
11
11
|
# # This is a vocabulary document and is used to achieve certain features of the JSON-LD language.
|
12
|
-
# # @version https://github.com/w3c/json-ld-wg/commit/
|
12
|
+
# # @version https://github.com/w3c/json-ld-wg/commit/dfd1827c95a66bc36c01368e10b6e4f4bbb5c8b3
|
13
13
|
# # @see http://www.w3.org/TR/json-ld11
|
14
14
|
# class JSONLD < RDF::StrictVocabulary
|
15
15
|
# # Defines term definitions and other aspects of a JSON-LD `Context`. A [context definition](https://www.w3.org/TR/json-ld11/#dfn-context-definition) MUST be a map whose keys MUST be either _terms_, _compact IRIs_, _IRIs_, or one of the keywords `@base`, `@import`, `@language`, `@propagate`, `@protected`, `@type`, `@version`, or `@vocab`.
|
@@ -136,6 +136,10 @@ module RDF::Vocab
|
|
136
136
|
# # @return [RDF::Vocabulary::Term]
|
137
137
|
# attr_reader :setContainerType
|
138
138
|
#
|
139
|
+
# # This profile URI is used to request or specify streaming JSON-LD document form.
|
140
|
+
# # @return [RDF::Vocabulary::Term]
|
141
|
+
# attr_reader :streaming
|
142
|
+
#
|
139
143
|
# # If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.
|
140
144
|
# # @return [RDF::Vocabulary::Term]
|
141
145
|
# attr_reader :typeContainerType
|
@@ -145,10 +149,10 @@ module RDF::Vocab
|
|
145
149
|
|
146
150
|
# Ontology definition
|
147
151
|
ontology :"http://www.w3.org/ns/json-ld#",
|
148
|
-
"dc:date": "2020-
|
152
|
+
"dc:date": "2020-03-30".freeze,
|
149
153
|
"dc:description": "This is a vocabulary document and is used to achieve certain features of the JSON-LD language.".freeze,
|
150
154
|
"dc:title": "The JSON-LD Vocabulary".freeze,
|
151
|
-
"owl:versionInfo": "https://github.com/w3c/json-ld-wg/commit/
|
155
|
+
"owl:versionInfo": "https://github.com/w3c/json-ld-wg/commit/dfd1827c95a66bc36c01368e10b6e4f4bbb5c8b3".freeze,
|
152
156
|
"rdfs:seeAlso": "http://www.w3.org/TR/json-ld11".freeze,
|
153
157
|
type: "owl:Ontology".freeze
|
154
158
|
|
@@ -393,6 +397,12 @@ If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded
|
|
393
397
|
label: "@set".freeze,
|
394
398
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
395
399
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
400
|
+
term :streaming,
|
401
|
+
comment: %(This profile URI is used to request or specify streaming JSON-LD document form.).freeze,
|
402
|
+
isDefinedBy: "jsonld:".freeze,
|
403
|
+
label: "streaming".freeze,
|
404
|
+
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11-streaming/#streaming-profile".freeze,
|
405
|
+
type: "owl:NamedIndividual".freeze
|
396
406
|
term :typeContainerType,
|
397
407
|
comment: %(If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions\) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.).freeze,
|
398
408
|
isDefinedBy: "jsonld:".freeze,
|
data/lib/rdf/vocab/ldp.rb
CHANGED
@@ -13,11 +13,11 @@ module RDF::Vocab
|
|
13
13
|
# # This ontology provides an informal representation of the concepts and terms as defined in the LDP specification. Consult the LDP specification for normative reference.
|
14
14
|
# #
|
15
15
|
# # Vocabulary URIs defined in the Linked Data Platform (LDP) namespace.
|
16
|
-
# # @see http://www.w3.org/
|
17
|
-
# # @see http://www.w3.org/TR/ldp-ucr/
|
16
|
+
# # @see http://www.w3.org/2011/09/LinkedData/
|
18
17
|
# # @see http://www.w3.org/TR/ldp-paging/
|
18
|
+
# # @see http://www.w3.org/TR/ldp-ucr/
|
19
19
|
# # @see http://www.w3.org/2012/ldp
|
20
|
-
# # @see http://www.w3.org/
|
20
|
+
# # @see http://www.w3.org/TR/ldp/
|
21
21
|
# class LDP < RDF::Vocabulary
|
22
22
|
# # An LDPC that uses a predefined predicate to simply link to its contained resources.
|
23
23
|
# # @return [RDF::Vocabulary::Term]
|
data/lib/rdf/vocab/lrmi.rb
CHANGED
@@ -5,7 +5,75 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://purl.org/dcx/lrmi-terms/>
|
8
|
+
# #
|
9
|
+
# # LRMI RDF Specification
|
10
|
+
# #
|
11
|
+
# # The LRMI specification is a collection of classes and properties for markup and description of educational resources. The specification builds on the extensive vocabulary provided by Schema.org and other standards.
|
8
12
|
# class LRMI < RDF::Vocabulary
|
13
|
+
# # An intangible item that describes an alignment between a learning resource and a node in an educational framework.
|
14
|
+
# # @return [RDF::Vocabulary::Term]
|
15
|
+
# attr_reader :AlignmentObject
|
16
|
+
#
|
17
|
+
# # An individual or group for whom the learning resource was created or useful.
|
18
|
+
# # @return [RDF::Vocabulary::Term]
|
19
|
+
# attr_reader :EducationalAudience
|
20
|
+
#
|
21
|
+
# # A category of alignment between the learning resource and the framework node.
|
22
|
+
# # @return [RDF::Vocabulary::Term]
|
23
|
+
# attr_reader :alignmentType
|
24
|
+
#
|
25
|
+
# # An alignment to an established educational framework.
|
26
|
+
# # @return [RDF::Vocabulary::Term]
|
27
|
+
# attr_reader :educationalAlignment
|
28
|
+
#
|
29
|
+
# # The framework to which the resource being described is aligned.
|
30
|
+
# # @return [RDF::Vocabulary::Term]
|
31
|
+
# attr_reader :educationalFramework
|
32
|
+
#
|
33
|
+
# # The role that describes the target audience of the content.
|
34
|
+
# # @return [RDF::Vocabulary::Term]
|
35
|
+
# attr_reader :educationalRole
|
36
|
+
#
|
37
|
+
# # The purpose of a work in the context of education.
|
38
|
+
# # @return [RDF::Vocabulary::Term]
|
39
|
+
# attr_reader :educationalUse
|
40
|
+
#
|
41
|
+
# # The predominant mode of learning supported by the learning resource.
|
42
|
+
# # @return [RDF::Vocabulary::Term]
|
43
|
+
# attr_reader :interactivityType
|
44
|
+
#
|
45
|
+
# # A resource that was used in the creation of this resource.
|
46
|
+
# # @return [RDF::Vocabulary::Term]
|
47
|
+
# attr_reader :isBasedOnUrl
|
48
|
+
#
|
49
|
+
# # The predominant type or kind characterizing the learning resource.
|
50
|
+
# # @return [RDF::Vocabulary::Term]
|
51
|
+
# attr_reader :learningResourceType
|
52
|
+
#
|
53
|
+
# # The description of a node in an established educational framework.
|
54
|
+
# # @return [RDF::Vocabulary::Term]
|
55
|
+
# attr_reader :targetDescription
|
56
|
+
#
|
57
|
+
# # The name of a node in an established educational framework.
|
58
|
+
# # @return [RDF::Vocabulary::Term]
|
59
|
+
# attr_reader :targetName
|
60
|
+
#
|
61
|
+
# # The URL of a node in an established educational framework.
|
62
|
+
# # @return [RDF::Vocabulary::Term]
|
63
|
+
# attr_reader :targetUrl
|
64
|
+
#
|
65
|
+
# # Approximate or typical time it takes to work with or through this learning resource for the typical intended target audience.
|
66
|
+
# # @return [RDF::Vocabulary::Term]
|
67
|
+
# attr_reader :timeRequired
|
68
|
+
#
|
69
|
+
# # The typical expected age range.
|
70
|
+
# # @return [RDF::Vocabulary::Term]
|
71
|
+
# attr_reader :typicalAgeRange
|
72
|
+
#
|
73
|
+
# # The URL where the owner specifies permissions for using the resource.
|
74
|
+
# # @return [RDF::Vocabulary::Term]
|
75
|
+
# attr_reader :useRightsUrl
|
76
|
+
#
|
9
77
|
# end
|
10
78
|
LRMI = Class.new(RDF::Vocabulary("http://purl.org/dcx/lrmi-terms/")) do
|
11
79
|
|