rdf-vocab 0.8.7 → 0.8.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rdf/vocab.rb +1 -1
- data/lib/rdf/vocab/iana.rb +329 -5
- data/spec/vocab_spec.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66fadeb819a9c03ff2e80e8258c41d1c22d60684
|
4
|
+
data.tar.gz: 70f4111688e98ac0ba6473b05b6707301f33a9d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1597f42282e19a79f9abbe0be6d38055a72ad90c54a5bcd67a975f8c36f88af271f4ee2ce7fc656974f1a237a5fde12dcab625558a4169ea33182e4f90b81274
|
7
|
+
data.tar.gz: 1bbe05ceeaa4748ca2ce8792a42ca3877673bdfdf617eccd53210e27ab42dfb2fe1c6b7c678c12b2444612a54acbc2c4ef42f6bcfb01bbee52b6eca034aa28b3
|
data/lib/rdf/vocab.rb
CHANGED
@@ -59,7 +59,7 @@ module RDF
|
|
59
59
|
gr: {uri: "http://purl.org/goodrelations/v1#", source: "http://www.heppnetz.de/ontologies/goodrelations/v1.owl", alias: true},
|
60
60
|
ht: {uri: "http://www.w3.org/2011/http#", alias: true},
|
61
61
|
hydra: {uri: "http://www.w3.org/ns/hydra/core#"},
|
62
|
-
iana: {uri: "http://www.iana.org/assignments/
|
62
|
+
iana: {uri: "http://www.iana.org/assignments/relation/", source: File.expand_path("../../../etc/iana.ttl", __FILE__)},
|
63
63
|
ical: {uri: "http://www.w3.org/2002/12/cal/icaltzd#", alias: true},
|
64
64
|
identifiers: {
|
65
65
|
uri: "http://id.loc.gov/vocabulary/identifiers/",
|
data/lib/rdf/vocab/iana.rb
CHANGED
@@ -2,10 +2,334 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from /Users/gregg/Projects/rdf-vocab/etc/iana.ttl
|
3
3
|
require 'rdf'
|
4
4
|
module RDF::Vocab
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
class IANA < RDF::StrictVocabulary("http://www.iana.org/assignments/relation/")
|
6
|
+
|
7
|
+
# Property definitions
|
8
|
+
property :about,
|
9
|
+
comment: %(Refers to a resource that is the subject of the link's context.).freeze,
|
10
|
+
label: "about".freeze,
|
11
|
+
type: "rdf:Property".freeze
|
12
|
+
property :alternate,
|
13
|
+
comment: %(Refers to a substitute for this context).freeze,
|
14
|
+
label: "alternate".freeze,
|
15
|
+
type: "rdf:Property".freeze
|
16
|
+
property :appendix,
|
17
|
+
comment: %(Refers to an appendix.).freeze,
|
18
|
+
label: "appendix".freeze,
|
19
|
+
type: "rdf:Property".freeze
|
20
|
+
property :archives,
|
21
|
+
comment: %(Refers to a collection of records, documents, or other
|
22
|
+
materials of historical interest.).freeze,
|
23
|
+
label: "archives".freeze,
|
24
|
+
type: "rdf:Property".freeze
|
25
|
+
property :author,
|
26
|
+
comment: %(Refers to the context's author.).freeze,
|
27
|
+
label: "author".freeze,
|
28
|
+
type: "rdf:Property".freeze
|
29
|
+
property :bookmark,
|
30
|
+
comment: %(Gives a permanent link to use for bookmarking purposes.).freeze,
|
31
|
+
label: "bookmark".freeze,
|
32
|
+
type: "rdf:Property".freeze
|
33
|
+
property :canonical,
|
34
|
+
comment: %(Designates the preferred version of a resource \(the IRI and its contents\).).freeze,
|
35
|
+
label: "canonical".freeze,
|
36
|
+
type: "rdf:Property".freeze
|
37
|
+
property :chapter,
|
38
|
+
comment: %(Refers to a chapter in a collection of resources.).freeze,
|
39
|
+
label: "chapter".freeze,
|
40
|
+
type: "rdf:Property".freeze
|
41
|
+
property :collection,
|
42
|
+
comment: %(The target IRI points to a resource which represents the collection resource for the context IRI.).freeze,
|
43
|
+
label: "collection".freeze,
|
44
|
+
type: "rdf:Property".freeze
|
45
|
+
property :contents,
|
46
|
+
comment: %(Refers to a table of contents.).freeze,
|
47
|
+
label: "contents".freeze,
|
48
|
+
type: "rdf:Property".freeze
|
49
|
+
property :copyright,
|
50
|
+
comment: %(Refers to a copyright statement that applies to the
|
51
|
+
link's context.).freeze,
|
52
|
+
label: "copyright".freeze,
|
53
|
+
type: "rdf:Property".freeze
|
54
|
+
property :"create-form",
|
55
|
+
comment: %(The target IRI points to a resource where a submission form can be obtained.).freeze,
|
56
|
+
label: "create-form".freeze,
|
57
|
+
type: "rdf:Property".freeze
|
58
|
+
property :current,
|
59
|
+
comment: %(Refers to a resource containing the most recent
|
60
|
+
item\(s\) in a collection of resources.).freeze,
|
61
|
+
label: "current".freeze,
|
62
|
+
type: "rdf:Property".freeze
|
63
|
+
property :derivedfrom,
|
64
|
+
comment: %(The target IRI points to a resource from which this material was derived.).freeze,
|
65
|
+
label: "derivedfrom".freeze,
|
66
|
+
type: "rdf:Property".freeze
|
67
|
+
property :describedby,
|
68
|
+
comment: %(Refers to a resource providing information about the
|
69
|
+
link's context.).freeze,
|
70
|
+
label: "describedby".freeze,
|
71
|
+
type: "rdf:Property".freeze
|
72
|
+
property :describes,
|
73
|
+
comment: %(The relationship A 'describes' B asserts that
|
74
|
+
resource A provides a description of resource B. There are no
|
75
|
+
constraints on the format or representation of either A or B,
|
76
|
+
neither are there any further constraints on either resource.).freeze,
|
77
|
+
label: "describes".freeze,
|
78
|
+
type: "rdf:Property".freeze
|
79
|
+
property :disclosure,
|
80
|
+
comment: %(Refers to a list of patent disclosures made with respect to material for which 'disclosure' relation is specified.).freeze,
|
81
|
+
label: "disclosure".freeze,
|
82
|
+
type: "rdf:Property".freeze
|
83
|
+
property :duplicate,
|
84
|
+
comment: %(Refers to a resource whose available representations
|
85
|
+
are byte-for-byte identical with the corresponding representations of
|
86
|
+
the context IRI.).freeze,
|
87
|
+
label: "duplicate".freeze,
|
88
|
+
type: "rdf:Property".freeze
|
89
|
+
property :edit,
|
90
|
+
comment: %(Refers to a resource that can be used to edit the
|
91
|
+
link's context.).freeze,
|
92
|
+
label: "edit".freeze,
|
93
|
+
type: "rdf:Property".freeze
|
94
|
+
property :"edit-form",
|
95
|
+
comment: %(The target IRI points to a resource where a submission form for
|
96
|
+
editing associated resource can be obtained.).freeze,
|
97
|
+
label: "edit-form".freeze,
|
98
|
+
type: "rdf:Property".freeze
|
99
|
+
property :"edit-media",
|
100
|
+
comment: %(Refers to a resource that can be used to edit media
|
101
|
+
associated with the link's context.).freeze,
|
102
|
+
label: "edit-media".freeze,
|
103
|
+
type: "rdf:Property".freeze
|
104
|
+
property :enclosure,
|
105
|
+
comment: %(Identifies a related resource that is potentially
|
106
|
+
large and might require special handling.).freeze,
|
107
|
+
label: "enclosure".freeze,
|
108
|
+
type: "rdf:Property".freeze
|
109
|
+
property :first,
|
110
|
+
comment: %(An IRI that refers to the furthest preceding resource
|
111
|
+
in a series of resources.).freeze,
|
112
|
+
label: "first".freeze,
|
113
|
+
type: "rdf:Property".freeze
|
114
|
+
property :glossary,
|
115
|
+
comment: %(Refers to a glossary of terms.).freeze,
|
116
|
+
label: "glossary".freeze,
|
117
|
+
type: "rdf:Property".freeze
|
118
|
+
property :help,
|
119
|
+
comment: %(Refers to context-sensitive help.).freeze,
|
120
|
+
label: "help".freeze,
|
121
|
+
type: "rdf:Property".freeze
|
122
|
+
property :hosts,
|
123
|
+
comment: %(Refers to a resource hosted by the server indicated by
|
124
|
+
the link context.).freeze,
|
125
|
+
label: "hosts".freeze,
|
126
|
+
type: "rdf:Property".freeze
|
127
|
+
property :hub,
|
128
|
+
comment: %(Refers to a hub that enables registration for
|
129
|
+
notification of updates to the context.).freeze,
|
130
|
+
label: "hub".freeze,
|
131
|
+
type: "rdf:Property".freeze
|
132
|
+
property :icon,
|
133
|
+
comment: %(Refers to an icon representing the link's context.).freeze,
|
134
|
+
label: "icon".freeze,
|
135
|
+
type: "rdf:Property".freeze
|
136
|
+
property :index,
|
137
|
+
comment: %(Refers to an index.).freeze,
|
138
|
+
label: "index".freeze,
|
139
|
+
type: "rdf:Property".freeze
|
140
|
+
property :item,
|
141
|
+
comment: %(The target IRI points to a resource that is a member of the collection represented by the context IRI.).freeze,
|
142
|
+
label: "item".freeze,
|
143
|
+
type: "rdf:Property".freeze
|
144
|
+
property :last,
|
145
|
+
comment: %(An IRI that refers to the furthest following resource
|
146
|
+
in a series of resources.).freeze,
|
147
|
+
label: "last".freeze,
|
148
|
+
type: "rdf:Property".freeze
|
149
|
+
property :"latest-version",
|
150
|
+
comment: %(Points to a resource containing the latest \(e.g.,
|
151
|
+
current\) version of the context.).freeze,
|
152
|
+
label: "latest-version".freeze,
|
153
|
+
type: "rdf:Property".freeze
|
154
|
+
property :license,
|
155
|
+
comment: %(Refers to a license associated with this context.).freeze,
|
156
|
+
label: "license".freeze,
|
157
|
+
type: "rdf:Property".freeze
|
158
|
+
property :lrdd,
|
159
|
+
comment: %(Refers to further information about the link's context,
|
160
|
+
expressed as a LRDD \("Link-based Resource Descriptor Document"\)
|
161
|
+
resource. See [RFC6415] for information about
|
162
|
+
processing this relation type in host-meta documents. When used
|
163
|
+
elsewhere, it refers to additional links and other metadata.
|
164
|
+
Multiple instances indicate additional LRDD resources. LRDD
|
165
|
+
resources MUST have an "application/xrd+xml" representation, and
|
166
|
+
MAY have others.).freeze,
|
167
|
+
label: "lrdd".freeze,
|
168
|
+
type: "rdf:Property".freeze
|
169
|
+
property :memento,
|
170
|
+
comment: %(The Target IRI points to a Memento, a fixed resource that will not change state anymore.).freeze,
|
171
|
+
label: "memento".freeze,
|
172
|
+
type: "rdf:Property".freeze
|
173
|
+
property :monitor,
|
174
|
+
comment: %(Refers to a resource that can be used to monitor changes in an HTTP resource.).freeze,
|
175
|
+
label: "monitor".freeze,
|
176
|
+
type: "rdf:Property".freeze
|
177
|
+
property :"monitor-group",
|
178
|
+
comment: %(Refers to a resource that can be used to monitor changes in a specified group of HTTP resources.).freeze,
|
179
|
+
label: "monitor-group".freeze,
|
180
|
+
type: "rdf:Property".freeze
|
181
|
+
property :next,
|
182
|
+
comment: %(Indicates that the link's context is a part of a series, and
|
183
|
+
that the next in the series is the link target.).freeze,
|
184
|
+
label: "next".freeze,
|
185
|
+
type: "rdf:Property".freeze
|
186
|
+
property :"next-archive",
|
187
|
+
comment: %(Refers to the immediately following archive resource.).freeze,
|
188
|
+
label: "next-archive".freeze,
|
189
|
+
type: "rdf:Property".freeze
|
190
|
+
property :nofollow,
|
191
|
+
comment: %(Indicates that the context’s original author or publisher does not endorse the link target.).freeze,
|
192
|
+
label: "nofollow".freeze,
|
193
|
+
type: "rdf:Property".freeze
|
194
|
+
property :noreferrer,
|
195
|
+
comment: %(Indicates that no referrer information is to be leaked when following the link.).freeze,
|
196
|
+
label: "noreferrer".freeze,
|
197
|
+
type: "rdf:Property".freeze
|
198
|
+
property :original,
|
199
|
+
comment: %(The Target IRI points to an Original Resource.).freeze,
|
200
|
+
label: "original".freeze,
|
201
|
+
type: "rdf:Property".freeze
|
202
|
+
property :payment,
|
203
|
+
comment: %(Indicates a resource where payment is accepted.).freeze,
|
204
|
+
label: "payment".freeze,
|
205
|
+
type: "rdf:Property".freeze
|
206
|
+
property :"predecessor-version",
|
207
|
+
comment: %(Points to a resource containing the predecessor
|
208
|
+
version in the version history.).freeze,
|
209
|
+
label: "predecessor-version".freeze,
|
210
|
+
type: "rdf:Property".freeze
|
211
|
+
property :prefetch,
|
212
|
+
comment: %(Indicates that the link target should be preemptively cached.).freeze,
|
213
|
+
label: "prefetch".freeze,
|
214
|
+
type: "rdf:Property".freeze
|
215
|
+
property :prev,
|
216
|
+
comment: %(Indicates that the link's context is a part of a series, and
|
217
|
+
that the previous in the series is the link target.).freeze,
|
218
|
+
label: "prev".freeze,
|
219
|
+
type: "rdf:Property".freeze
|
220
|
+
property :"prev-archive",
|
221
|
+
comment: %(Refers to the immediately preceding archive resource.).freeze,
|
222
|
+
label: "prev-archive".freeze,
|
223
|
+
type: "rdf:Property".freeze
|
224
|
+
property :preview,
|
225
|
+
comment: %(Refers to a resource that provides a preview of the link's context.).freeze,
|
226
|
+
label: "preview".freeze,
|
227
|
+
type: "rdf:Property".freeze
|
228
|
+
property :previous,
|
229
|
+
comment: %(Refers to the previous resource in an ordered series
|
230
|
+
of resources. Synonym for "prev".).freeze,
|
231
|
+
label: "previous".freeze,
|
232
|
+
type: "rdf:Property".freeze
|
233
|
+
property :"privacy-policy",
|
234
|
+
comment: %(Refers to a privacy policy associated with the link's context.).freeze,
|
235
|
+
label: "privacy-policy".freeze,
|
236
|
+
type: "rdf:Property".freeze
|
237
|
+
property :profile,
|
238
|
+
comment: %(Identifying that a resource representation conforms
|
239
|
+
to a certain profile, without affecting the non-profile semantics
|
240
|
+
of the resource representation.).freeze,
|
241
|
+
label: "profile".freeze,
|
242
|
+
type: "rdf:Property".freeze
|
243
|
+
property :related,
|
244
|
+
comment: %(Identifies a related resource.).freeze,
|
245
|
+
label: "related".freeze,
|
246
|
+
type: "rdf:Property".freeze
|
247
|
+
property :replies,
|
248
|
+
comment: %(Identifies a resource that is a reply to the context
|
249
|
+
of the link.).freeze,
|
250
|
+
label: "replies".freeze,
|
251
|
+
type: "rdf:Property".freeze
|
252
|
+
property :search,
|
253
|
+
comment: %(Refers to a resource that can be used to search through
|
254
|
+
the link's context and related resources.).freeze,
|
255
|
+
label: "search".freeze,
|
256
|
+
type: "rdf:Property".freeze
|
257
|
+
property :section,
|
258
|
+
comment: %(Refers to a section in a collection of resources.).freeze,
|
259
|
+
label: "section".freeze,
|
260
|
+
type: "rdf:Property".freeze
|
261
|
+
property :self,
|
262
|
+
comment: %(Conveys an identifier for the link's context.).freeze,
|
263
|
+
label: "self".freeze,
|
264
|
+
type: "rdf:Property".freeze
|
265
|
+
property :service,
|
266
|
+
comment: %(Indicates a URI that can be used to retrieve a
|
267
|
+
service document.).freeze,
|
268
|
+
label: "service".freeze,
|
269
|
+
type: "rdf:Property".freeze
|
270
|
+
property :start,
|
271
|
+
comment: %(Refers to the first resource in a collection of
|
272
|
+
resources.).freeze,
|
273
|
+
label: "start".freeze,
|
274
|
+
type: "rdf:Property".freeze
|
275
|
+
property :stylesheet,
|
276
|
+
comment: %(Refers to a stylesheet.).freeze,
|
277
|
+
label: "stylesheet".freeze,
|
278
|
+
type: "rdf:Property".freeze
|
279
|
+
property :subsection,
|
280
|
+
comment: %(Refers to a resource serving as a subsection in a
|
281
|
+
collection of resources.).freeze,
|
282
|
+
label: "subsection".freeze,
|
283
|
+
type: "rdf:Property".freeze
|
284
|
+
property :"successor-version",
|
285
|
+
comment: %(Points to a resource containing the successor version
|
286
|
+
in the version history.).freeze,
|
287
|
+
label: "successor-version".freeze,
|
288
|
+
type: "rdf:Property".freeze
|
289
|
+
property :tag,
|
290
|
+
comment: %(Gives a tag \(identified by the given address\) that applies to
|
291
|
+
the current document.).freeze,
|
292
|
+
label: "tag".freeze,
|
293
|
+
type: "rdf:Property".freeze
|
294
|
+
property :"terms-of-service",
|
295
|
+
comment: %(Refers to the terms of service associated with the link's context.).freeze,
|
296
|
+
label: "terms-of-service".freeze,
|
297
|
+
type: "rdf:Property".freeze
|
298
|
+
property :timegate,
|
299
|
+
comment: %(The Target IRI points to a TimeGate for an Original Resource.).freeze,
|
300
|
+
label: "timegate".freeze,
|
301
|
+
type: "rdf:Property".freeze
|
302
|
+
property :timemap,
|
303
|
+
comment: %(The Target IRI points to a TimeMap for an Original Resource.).freeze,
|
304
|
+
label: "timemap".freeze,
|
305
|
+
type: "rdf:Property".freeze
|
306
|
+
property :type,
|
307
|
+
comment: %(Refers to a resource identifying the abstract semantic type of which the link's context is considered to be an instance.).freeze,
|
308
|
+
label: "type".freeze,
|
309
|
+
type: "rdf:Property".freeze
|
310
|
+
property :up,
|
311
|
+
comment: %(Refers to a parent document in a hierarchy of
|
312
|
+
documents.).freeze,
|
313
|
+
label: "up".freeze,
|
314
|
+
type: "rdf:Property".freeze
|
315
|
+
property :"version-history",
|
316
|
+
comment: %(Points to a resource containing the version history
|
317
|
+
for the context.).freeze,
|
318
|
+
label: "version-history".freeze,
|
319
|
+
type: "rdf:Property".freeze
|
320
|
+
property :via,
|
321
|
+
comment: %(Identifies a resource that is the source of the
|
322
|
+
information in the link's context.).freeze,
|
323
|
+
label: "via".freeze,
|
324
|
+
type: "rdf:Property".freeze
|
325
|
+
property :"working-copy",
|
326
|
+
comment: %(Points to a working copy for this resource.).freeze,
|
327
|
+
label: "working-copy".freeze,
|
328
|
+
type: "rdf:Property".freeze
|
329
|
+
property :"working-copy-of",
|
330
|
+
comment: %(Points to the versioned resource from which this
|
331
|
+
working copy was obtained.).freeze,
|
332
|
+
label: "working-copy-of".freeze,
|
333
|
+
type: "rdf:Property".freeze
|
10
334
|
end
|
11
335
|
end
|
data/spec/vocab_spec.rb
CHANGED
@@ -23,6 +23,10 @@ describe RDF::Vocab do
|
|
23
23
|
it "represents #{params[:uri]}" do
|
24
24
|
expect(RDF::Vocab.const_get(class_name).to_s).to eql params[:uri]
|
25
25
|
end
|
26
|
+
|
27
|
+
it "has at least one term", unless: id == :xhtml do
|
28
|
+
expect(RDF::Vocab.const_get(class_name).each.to_a).not_to be_empty
|
29
|
+
end
|
26
30
|
end
|
27
31
|
end
|
28
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-vocab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.7
|
4
|
+
version: 0.8.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Chandek-Stark
|
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
196
|
version: '0'
|
197
197
|
requirements: []
|
198
198
|
rubyforge_project:
|
199
|
-
rubygems_version: 2.4.
|
199
|
+
rubygems_version: 2.4.5.1
|
200
200
|
signing_key:
|
201
201
|
specification_version: 4
|
202
202
|
summary: A library of RDF vocabularies
|