rdf-vocab 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +24 -200
- data/README.md +88 -33
- data/lib/{rdf-vocab → rdf}/vocab/acl.rb +19 -13
- data/lib/{rdf-vocab → rdf}/vocab/bibframe.rb +513 -510
- data/lib/rdf/vocab/cnt.rb +112 -0
- data/lib/{rdf-vocab → rdf}/vocab/crm.rb +799 -799
- data/lib/{rdf-vocab → rdf}/vocab/datacite.rb +53 -53
- data/lib/{rdf-vocab → rdf}/vocab/dwc.rb +459 -459
- data/lib/{rdf-vocab → rdf}/vocab/edm.rb +41 -41
- data/lib/rdf/vocab/extensions.rb +29 -0
- data/lib/{rdf-vocab → rdf}/vocab/fcrepo4.rb +38 -38
- data/lib/{rdf-vocab → rdf}/vocab/iana.rb +89 -166
- data/lib/{rdf-vocab → rdf}/vocab/identifiers.rb +58 -38
- data/lib/rdf/vocab/ldp.rb +218 -0
- data/lib/{rdf-vocab → rdf}/vocab/mads.rb +147 -147
- data/lib/{rdf-vocab → rdf}/vocab/marc_relators.rb +273 -269
- data/lib/{rdf-vocab → rdf}/vocab/mods.rb +178 -178
- data/lib/{rdf-vocab → rdf}/vocab/oa.rb +102 -102
- data/lib/{rdf-vocab → rdf}/vocab/ore.rb +32 -32
- data/lib/{rdf-vocab/vocab/premis/v1.rb → rdf/vocab/premis.rb} +147 -147
- data/lib/{rdf-vocab → rdf}/vocab/premis_event_type.rb +0 -0
- data/lib/rdf/vocab/version.rb +18 -0
- data/lib/rdf/vocab.rb +153 -0
- data/spec/spec_helper.rb +3 -84
- data/spec/vocab_spec.rb +64 -0
- metadata +109 -58
- data/.gitignore +0 -17
- data/.rspec +0 -2
- data/.travis.yml +0 -6
- data/CONTRIBUTING.md +0 -116
- data/CONTRIBUTORS.md +0 -6
- data/Gemfile +0 -4
- data/Rakefile +0 -8
- data/lib/rdf-vocab/config/vocab.yml +0 -109
- data/lib/rdf-vocab/tasks/vocab.rake +0 -44
- data/lib/rdf-vocab/version.rb +0 -5
- data/lib/rdf-vocab/vocab/fcrepo3.rb +0 -326
- data/lib/rdf-vocab/vocab/ldp.rb +0 -140
- data/lib/rdf-vocab/vocab/prov.rb +0 -1549
- data/lib/rdf-vocab.rb +0 -34
- data/rdf-vocab.gemspec +0 -26
- data/sources/dwcterms.rdf +0 -2679
- data/sources/iana-relation.rdf +0 -475
- data/sources/iana-relation.xsl +0 -65
- data/spec/fixtures/dcterms.rdf +0 -1077
- data/spec/unit/rdf_vocab_spec.rb +0 -27
@@ -1,5 +1,5 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# This file generated automatically using vocab-fetch from http://id.loc.gov/vocabulary/identifiers.
|
2
|
+
# This file generated automatically using vocab-fetch from http://id.loc.gov/vocabulary/identifiers.rdf
|
3
3
|
require 'rdf'
|
4
4
|
module RDF::Vocab
|
5
5
|
class Identifiers < RDF::StrictVocabulary("http://id.loc.gov/vocabulary/identifiers/")
|
@@ -11,7 +11,7 @@ module RDF::Vocab
|
|
11
11
|
"mads:code" => %(ansi).freeze,
|
12
12
|
"skos:notation" => %(ansi).freeze,
|
13
13
|
"skos:prefLabel" => %(American National Standards Institute and National Information Standards Organisation number for an ANSI or ANSI/NISO standard).freeze,
|
14
|
-
subPropertyOf: "
|
14
|
+
subPropertyOf: "identifiers:id".freeze,
|
15
15
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
16
16
|
property :danacode,
|
17
17
|
label: "Danacode (Bnei Brak, Israel: D.A.N.A. Systems)".freeze,
|
@@ -19,7 +19,7 @@ module RDF::Vocab
|
|
19
19
|
"mads:code" => %(danacode).freeze,
|
20
20
|
"skos:notation" => %(danacode).freeze,
|
21
21
|
"skos:prefLabel" => %(Danacode \(Bnei Brak, Israel: D.A.N.A. Systems\)).freeze,
|
22
|
-
subPropertyOf: "
|
22
|
+
subPropertyOf: "identifiers:id".freeze,
|
23
23
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
24
24
|
property :doi,
|
25
25
|
label: "Digital Object Identifier".freeze,
|
@@ -27,7 +27,7 @@ module RDF::Vocab
|
|
27
27
|
"mads:code" => %(doi).freeze,
|
28
28
|
"skos:notation" => %(doi).freeze,
|
29
29
|
"skos:prefLabel" => %(Digital Object Identifier).freeze,
|
30
|
-
subPropertyOf: "
|
30
|
+
subPropertyOf: "identifiers:id".freeze,
|
31
31
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
32
32
|
property :ean,
|
33
33
|
label: "International Article Number".freeze,
|
@@ -35,7 +35,7 @@ module RDF::Vocab
|
|
35
35
|
"mads:code" => %(ean).freeze,
|
36
36
|
"skos:notation" => %(ean).freeze,
|
37
37
|
"skos:prefLabel" => %(International Article Number).freeze,
|
38
|
-
subPropertyOf: "
|
38
|
+
subPropertyOf: "identifiers:id".freeze,
|
39
39
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
40
40
|
property :"gtin-14",
|
41
41
|
label: "Global Trade Identification Number 14 (EAN/UCC-128 or ITF-14)".freeze,
|
@@ -43,7 +43,7 @@ module RDF::Vocab
|
|
43
43
|
"mads:code" => %(gtin-14).freeze,
|
44
44
|
"skos:notation" => %(gtin-14).freeze,
|
45
45
|
"skos:prefLabel" => %(Global Trade Identification Number 14 \(EAN/UCC-128 or ITF-14\)).freeze,
|
46
|
-
subPropertyOf: "
|
46
|
+
subPropertyOf: "identifiers:id".freeze,
|
47
47
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
48
48
|
property :hdl,
|
49
49
|
label: "Handle".freeze,
|
@@ -51,15 +51,19 @@ module RDF::Vocab
|
|
51
51
|
"mads:code" => %(hdl).freeze,
|
52
52
|
"skos:notation" => %(hdl).freeze,
|
53
53
|
"skos:prefLabel" => %(Handle).freeze,
|
54
|
-
subPropertyOf: "
|
54
|
+
subPropertyOf: "identifiers:id".freeze,
|
55
55
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
56
|
+
property :id,
|
57
|
+
comment: %(Generic Identifier property. It is expected that one will use one of its many subproperties.).freeze,
|
58
|
+
label: "Identifier".freeze,
|
59
|
+
type: "rdf:Property".freeze
|
56
60
|
property :isan,
|
57
61
|
label: "International Standard Audiovisual Number".freeze,
|
58
62
|
"mads:authoritativeLabel" => %(International Standard Audiovisual Number).freeze,
|
59
63
|
"mads:code" => %(isan).freeze,
|
60
64
|
"skos:notation" => %(isan).freeze,
|
61
65
|
"skos:prefLabel" => %(International Standard Audiovisual Number).freeze,
|
62
|
-
subPropertyOf: "
|
66
|
+
subPropertyOf: "identifiers:id".freeze,
|
63
67
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
64
68
|
property :isbn,
|
65
69
|
label: "International Standard Book Number".freeze,
|
@@ -67,7 +71,15 @@ module RDF::Vocab
|
|
67
71
|
"mads:code" => %(isbn).freeze,
|
68
72
|
"skos:notation" => %(isbn).freeze,
|
69
73
|
"skos:prefLabel" => %(International Standard Book Number).freeze,
|
70
|
-
subPropertyOf: "
|
74
|
+
subPropertyOf: "identifiers:id".freeze,
|
75
|
+
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
76
|
+
property :"isbn-a",
|
77
|
+
label: "International Standard Book Number (the actionable ISBN)".freeze,
|
78
|
+
"mads:authoritativeLabel" => %(International Standard Book Number \(the actionable ISBN\)).freeze,
|
79
|
+
"mads:code" => %(isbn-a).freeze,
|
80
|
+
"skos:notation" => %(isbn-a).freeze,
|
81
|
+
"skos:prefLabel" => %(International Standard Book Number \(the actionable ISBN\)).freeze,
|
82
|
+
subPropertyOf: "identifiers:id".freeze,
|
71
83
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
72
84
|
property :ismn,
|
73
85
|
label: "International Standard Music Number".freeze,
|
@@ -75,7 +87,7 @@ module RDF::Vocab
|
|
75
87
|
"mads:code" => %(ismn).freeze,
|
76
88
|
"skos:notation" => %(ismn).freeze,
|
77
89
|
"skos:prefLabel" => %(International Standard Music Number).freeze,
|
78
|
-
subPropertyOf: "
|
90
|
+
subPropertyOf: "identifiers:id".freeze,
|
79
91
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
80
92
|
property :isni,
|
81
93
|
label: "International Standard Name Identifier".freeze,
|
@@ -83,7 +95,7 @@ module RDF::Vocab
|
|
83
95
|
"mads:code" => %(isni).freeze,
|
84
96
|
"skos:notation" => %(isni).freeze,
|
85
97
|
"skos:prefLabel" => %(International Standard Name Identifier).freeze,
|
86
|
-
subPropertyOf: "
|
98
|
+
subPropertyOf: "identifiers:id".freeze,
|
87
99
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
88
100
|
property :iso,
|
89
101
|
label: "International Organization for Standardization number for an ISO standard".freeze,
|
@@ -91,7 +103,7 @@ module RDF::Vocab
|
|
91
103
|
"mads:code" => %(iso).freeze,
|
92
104
|
"skos:notation" => %(iso).freeze,
|
93
105
|
"skos:prefLabel" => %(International Organization for Standardization number for an ISO standard).freeze,
|
94
|
-
subPropertyOf: "
|
106
|
+
subPropertyOf: "identifiers:id".freeze,
|
95
107
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
96
108
|
property :isrc,
|
97
109
|
label: "International Standard Recording Code".freeze,
|
@@ -99,7 +111,7 @@ module RDF::Vocab
|
|
99
111
|
"mads:code" => %(isrc).freeze,
|
100
112
|
"skos:notation" => %(isrc).freeze,
|
101
113
|
"skos:prefLabel" => %(International Standard Recording Code).freeze,
|
102
|
-
subPropertyOf: "
|
114
|
+
subPropertyOf: "identifiers:id".freeze,
|
103
115
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
104
116
|
property :issn,
|
105
117
|
label: "International Standard Serial Number".freeze,
|
@@ -107,7 +119,7 @@ module RDF::Vocab
|
|
107
119
|
"mads:code" => %(issn).freeze,
|
108
120
|
"skos:notation" => %(issn).freeze,
|
109
121
|
"skos:prefLabel" => %(International Standard Serial Number).freeze,
|
110
|
-
subPropertyOf: "
|
122
|
+
subPropertyOf: "identifiers:id".freeze,
|
111
123
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
112
124
|
property :"issn-l",
|
113
125
|
label: "Linking International Standard Serial Number".freeze,
|
@@ -115,7 +127,7 @@ module RDF::Vocab
|
|
115
127
|
"mads:code" => %(issn-l).freeze,
|
116
128
|
"skos:notation" => %(issn-l).freeze,
|
117
129
|
"skos:prefLabel" => %(Linking International Standard Serial Number).freeze,
|
118
|
-
subPropertyOf: "
|
130
|
+
subPropertyOf: "identifiers:id".freeze,
|
119
131
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
120
132
|
property :"issue-number",
|
121
133
|
label: "Sound recording issue number".freeze,
|
@@ -123,7 +135,7 @@ module RDF::Vocab
|
|
123
135
|
"mads:code" => %(issue-number).freeze,
|
124
136
|
"skos:notation" => %(issue-number).freeze,
|
125
137
|
"skos:prefLabel" => %(Sound recording issue number).freeze,
|
126
|
-
subPropertyOf: "
|
138
|
+
subPropertyOf: "identifiers:id".freeze,
|
127
139
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
128
140
|
property :istc,
|
129
141
|
label: "International Standard Text Code".freeze,
|
@@ -131,7 +143,7 @@ module RDF::Vocab
|
|
131
143
|
"mads:code" => %(istc).freeze,
|
132
144
|
"skos:notation" => %(istc).freeze,
|
133
145
|
"skos:prefLabel" => %(International Standard Text Code).freeze,
|
134
|
-
subPropertyOf: "
|
146
|
+
subPropertyOf: "identifiers:id".freeze,
|
135
147
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
136
148
|
property :iswc,
|
137
149
|
label: "International Standard Musical Work Code".freeze,
|
@@ -139,7 +151,7 @@ module RDF::Vocab
|
|
139
151
|
"mads:code" => %(iswc).freeze,
|
140
152
|
"skos:notation" => %(iswc).freeze,
|
141
153
|
"skos:prefLabel" => %(International Standard Musical Work Code).freeze,
|
142
|
-
subPropertyOf: "
|
154
|
+
subPropertyOf: "identifiers:id".freeze,
|
143
155
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
144
156
|
property :itar,
|
145
157
|
label: "ITAR (Importtjeneste og autoritetsregistre)".freeze,
|
@@ -147,7 +159,7 @@ module RDF::Vocab
|
|
147
159
|
"mads:code" => %(itar).freeze,
|
148
160
|
"skos:notation" => %(itar).freeze,
|
149
161
|
"skos:prefLabel" => %(ITAR \(Importtjeneste og autoritetsregistre\)).freeze,
|
150
|
-
subPropertyOf: "
|
162
|
+
subPropertyOf: "identifiers:id".freeze,
|
151
163
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
152
164
|
property :lccn,
|
153
165
|
label: "Library of Congress Control Number".freeze,
|
@@ -155,7 +167,7 @@ module RDF::Vocab
|
|
155
167
|
"mads:code" => %(lccn).freeze,
|
156
168
|
"skos:notation" => %(lccn).freeze,
|
157
169
|
"skos:prefLabel" => %(Library of Congress Control Number).freeze,
|
158
|
-
subPropertyOf: "
|
170
|
+
subPropertyOf: "identifiers:id".freeze,
|
159
171
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
160
172
|
property :local,
|
161
173
|
label: "Locally defined identifier".freeze,
|
@@ -163,7 +175,7 @@ module RDF::Vocab
|
|
163
175
|
"mads:code" => %(local).freeze,
|
164
176
|
"skos:notation" => %(local).freeze,
|
165
177
|
"skos:prefLabel" => %(Locally defined identifier).freeze,
|
166
|
-
subPropertyOf: "
|
178
|
+
subPropertyOf: "identifiers:id".freeze,
|
167
179
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
168
180
|
property :"matrix-number",
|
169
181
|
label: "Sound recording matrix number".freeze,
|
@@ -171,7 +183,7 @@ module RDF::Vocab
|
|
171
183
|
"mads:code" => %(matrix-number).freeze,
|
172
184
|
"skos:notation" => %(matrix-number).freeze,
|
173
185
|
"skos:prefLabel" => %(Sound recording matrix number).freeze,
|
174
|
-
subPropertyOf: "
|
186
|
+
subPropertyOf: "identifiers:id".freeze,
|
175
187
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
176
188
|
property :"music-plate",
|
177
189
|
label: "Publisher's music plate number".freeze,
|
@@ -179,7 +191,7 @@ module RDF::Vocab
|
|
179
191
|
"mads:code" => %(music-plate).freeze,
|
180
192
|
"skos:notation" => %(music-plate).freeze,
|
181
193
|
"skos:prefLabel" => %(Publisher's music plate number).freeze,
|
182
|
-
subPropertyOf: "
|
194
|
+
subPropertyOf: "identifiers:id".freeze,
|
183
195
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
184
196
|
property :"music-publisher",
|
185
197
|
label: "Publisher-assigned music number".freeze,
|
@@ -187,7 +199,7 @@ module RDF::Vocab
|
|
187
199
|
"mads:code" => %(music-publisher).freeze,
|
188
200
|
"skos:notation" => %(music-publisher).freeze,
|
189
201
|
"skos:prefLabel" => %(Publisher-assigned music number).freeze,
|
190
|
-
subPropertyOf: "
|
202
|
+
subPropertyOf: "identifiers:id".freeze,
|
191
203
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
192
204
|
property :natgazfid,
|
193
205
|
label: "U.S. National Gazetteer Feature Name Identifier".freeze,
|
@@ -195,7 +207,7 @@ module RDF::Vocab
|
|
195
207
|
"mads:code" => %(natgazfid).freeze,
|
196
208
|
"skos:notation" => %(natgazfid).freeze,
|
197
209
|
"skos:prefLabel" => %(U.S. National Gazetteer Feature Name Identifier).freeze,
|
198
|
-
subPropertyOf: "
|
210
|
+
subPropertyOf: "identifiers:id".freeze,
|
199
211
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
200
212
|
property :nipo,
|
201
213
|
label: "Número de Identificación de las Publicaciones Oficiales".freeze,
|
@@ -203,15 +215,23 @@ module RDF::Vocab
|
|
203
215
|
"mads:code" => %(nipo).freeze,
|
204
216
|
"skos:notation" => %(nipo).freeze,
|
205
217
|
"skos:prefLabel" => %(Número de Identificación de las Publicaciones Oficiales).freeze,
|
206
|
-
subPropertyOf: "
|
218
|
+
subPropertyOf: "identifiers:id".freeze,
|
207
219
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
208
220
|
property :orcid,
|
209
|
-
label: "Open Researcher and Contributor
|
210
|
-
"mads:authoritativeLabel" => %(Open Researcher and Contributor
|
221
|
+
label: "Open Researcher and Contributor Identifier".freeze,
|
222
|
+
"mads:authoritativeLabel" => %(Open Researcher and Contributor Identifier).freeze,
|
211
223
|
"mads:code" => %(orcid).freeze,
|
212
224
|
"skos:notation" => %(orcid).freeze,
|
213
|
-
"skos:prefLabel" => %(Open Researcher and Contributor
|
214
|
-
subPropertyOf: "
|
225
|
+
"skos:prefLabel" => %(Open Researcher and Contributor Identifier).freeze,
|
226
|
+
subPropertyOf: "identifiers:id".freeze,
|
227
|
+
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
228
|
+
property :rid,
|
229
|
+
label: "ResearcherID (Thomson Reuters)".freeze,
|
230
|
+
"mads:authoritativeLabel" => %(ResearcherID \(Thomson Reuters\)).freeze,
|
231
|
+
"mads:code" => %(rid).freeze,
|
232
|
+
"skos:notation" => %(rid).freeze,
|
233
|
+
"skos:prefLabel" => %(ResearcherID \(Thomson Reuters\)).freeze,
|
234
|
+
subPropertyOf: "identifiers:id".freeze,
|
215
235
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
216
236
|
property :sici,
|
217
237
|
label: "Serial Item and Contribution Identifier".freeze,
|
@@ -219,7 +239,7 @@ module RDF::Vocab
|
|
219
239
|
"mads:code" => %(sici).freeze,
|
220
240
|
"skos:notation" => %(sici).freeze,
|
221
241
|
"skos:prefLabel" => %(Serial Item and Contribution Identifier).freeze,
|
222
|
-
subPropertyOf: "
|
242
|
+
subPropertyOf: "identifiers:id".freeze,
|
223
243
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
224
244
|
property :"stock-number",
|
225
245
|
label: "Publisher, distributor, or vendor stock number".freeze,
|
@@ -227,7 +247,7 @@ module RDF::Vocab
|
|
227
247
|
"mads:code" => %(stock-number).freeze,
|
228
248
|
"skos:notation" => %(stock-number).freeze,
|
229
249
|
"skos:prefLabel" => %(Publisher, distributor, or vendor stock number).freeze,
|
230
|
-
subPropertyOf: "
|
250
|
+
subPropertyOf: "identifiers:id".freeze,
|
231
251
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
232
252
|
property :strn,
|
233
253
|
label: "Standard Technical Report Number".freeze,
|
@@ -235,7 +255,7 @@ module RDF::Vocab
|
|
235
255
|
"mads:code" => %(strn).freeze,
|
236
256
|
"skos:notation" => %(strn).freeze,
|
237
257
|
"skos:prefLabel" => %(Standard Technical Report Number).freeze,
|
238
|
-
subPropertyOf: "
|
258
|
+
subPropertyOf: "identifiers:id".freeze,
|
239
259
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
240
260
|
property :upc,
|
241
261
|
label: "Universal Product Code".freeze,
|
@@ -243,7 +263,7 @@ module RDF::Vocab
|
|
243
263
|
"mads:code" => %(upc).freeze,
|
244
264
|
"skos:notation" => %(upc).freeze,
|
245
265
|
"skos:prefLabel" => %(Universal Product Code).freeze,
|
246
|
-
subPropertyOf: "
|
266
|
+
subPropertyOf: "identifiers:id".freeze,
|
247
267
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
248
268
|
property :uri,
|
249
269
|
label: "Uniform Resource Identifier".freeze,
|
@@ -251,7 +271,7 @@ module RDF::Vocab
|
|
251
271
|
"mads:code" => %(uri).freeze,
|
252
272
|
"skos:notation" => %(uri).freeze,
|
253
273
|
"skos:prefLabel" => %(Uniform Resource Identifier).freeze,
|
254
|
-
subPropertyOf: "
|
274
|
+
subPropertyOf: "identifiers:id".freeze,
|
255
275
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
256
276
|
property :urn,
|
257
277
|
label: "Uniform Resource Name".freeze,
|
@@ -259,7 +279,7 @@ module RDF::Vocab
|
|
259
279
|
"mads:code" => %(urn).freeze,
|
260
280
|
"skos:notation" => %(urn).freeze,
|
261
281
|
"skos:prefLabel" => %(Uniform Resource Name).freeze,
|
262
|
-
subPropertyOf: "
|
282
|
+
subPropertyOf: "identifiers:id".freeze,
|
263
283
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
264
284
|
property :viaf,
|
265
285
|
label: "Virtual International Authority File number".freeze,
|
@@ -267,7 +287,7 @@ module RDF::Vocab
|
|
267
287
|
"mads:code" => %(viaf).freeze,
|
268
288
|
"skos:notation" => %(viaf).freeze,
|
269
289
|
"skos:prefLabel" => %(Virtual International Authority File number).freeze,
|
270
|
-
subPropertyOf: "
|
290
|
+
subPropertyOf: "identifiers:id".freeze,
|
271
291
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
272
292
|
property :"videorecording-identifier",
|
273
293
|
label: "Publisher-assigned videorecording number".freeze,
|
@@ -275,7 +295,7 @@ module RDF::Vocab
|
|
275
295
|
"mads:code" => %(videorecording-identifier).freeze,
|
276
296
|
"skos:notation" => %(videorecording-identifier).freeze,
|
277
297
|
"skos:prefLabel" => %(Publisher-assigned videorecording number).freeze,
|
278
|
-
subPropertyOf: "
|
298
|
+
subPropertyOf: "identifiers:id".freeze,
|
279
299
|
type: ["rdf:Property".freeze, "mads:Authority".freeze, "skos:Concept".freeze]
|
280
300
|
end
|
281
301
|
end
|
@@ -0,0 +1,218 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
# This file generated automatically using vocab-fetch from http://www.w3.org/ns/ldp#
|
3
|
+
require 'rdf'
|
4
|
+
module RDF::Vocab
|
5
|
+
class LDP < RDF::Vocabulary("http://www.w3.org/ns/ldp#")
|
6
|
+
|
7
|
+
# Class definitions
|
8
|
+
term :BasicContainer,
|
9
|
+
comment: %(An LDPC that uses a predefined predicate to simply link to its contained resources.).freeze,
|
10
|
+
label: "BasicContainer".freeze,
|
11
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
12
|
+
subClassOf: "ldp:Container".freeze,
|
13
|
+
type: "rdfs:Class".freeze,
|
14
|
+
"vs:term_status" => %(stable).freeze
|
15
|
+
term :Container,
|
16
|
+
comment: %(A Linked Data Platform RDF Source \(LDP-RS\) that also conforms to additional patterns and conventions for managing membership. Readers should refer to the specification defining this ontology for the list of behaviors associated with it.).freeze,
|
17
|
+
label: "Container".freeze,
|
18
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
19
|
+
subClassOf: "ldp:RDFSource".freeze,
|
20
|
+
type: "rdfs:Class".freeze,
|
21
|
+
"vs:term_status" => %(stable).freeze
|
22
|
+
term :DirectContainer,
|
23
|
+
comment: %(An LDPC that is similar to a LDP-DC but it allows an indirection with the ability to list as member a resource, such as a URI representing a real-world object, that is different from the resource that is created.).freeze,
|
24
|
+
label: "DirectContainer".freeze,
|
25
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
26
|
+
subClassOf: "ldp:Container".freeze,
|
27
|
+
type: "rdfs:Class".freeze,
|
28
|
+
"vs:term_status" => %(stable).freeze
|
29
|
+
term :IndirectContainer,
|
30
|
+
comment: %(An LDPC that has the flexibility of choosing what form the membership triples take.).freeze,
|
31
|
+
label: "IndirectContainer".freeze,
|
32
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
33
|
+
subClassOf: "ldp:Container".freeze,
|
34
|
+
type: "rdfs:Class".freeze,
|
35
|
+
"vs:term_status" => %(stable).freeze
|
36
|
+
term :NonRDFSource,
|
37
|
+
comment: %(A Linked Data Platform Resource \(LDPR\) whose state is NOT represented as RDF.).freeze,
|
38
|
+
label: "NonRDFSource".freeze,
|
39
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
40
|
+
subClassOf: "ldp:Resource".freeze,
|
41
|
+
type: "rdfs:Class".freeze,
|
42
|
+
"vs:term_status" => %(stable).freeze
|
43
|
+
term :Page,
|
44
|
+
comment: %(URI signifying that the resource is an in-sequence page resource, as defined by LDP Paging. Typically used on Link rel='type' response headers.).freeze,
|
45
|
+
label: "Page".freeze,
|
46
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
47
|
+
type: "rdfs:Class".freeze,
|
48
|
+
"vs:term_status" => %(testing).freeze
|
49
|
+
term :PageSortCriterion,
|
50
|
+
comment: %(Element in the list of sorting criteria used by the server to assign container members to pages.).freeze,
|
51
|
+
label: "PageSortCriterion".freeze,
|
52
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
53
|
+
type: "rdfs:Class".freeze,
|
54
|
+
"vs:term_status" => %(testing).freeze
|
55
|
+
term :RDFSource,
|
56
|
+
comment: %(A Linked Data Platform Resource \(LDPR\) whose state is represented as RDF.).freeze,
|
57
|
+
label: "RDFSource".freeze,
|
58
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
59
|
+
subClassOf: "ldp:Resource".freeze,
|
60
|
+
type: "rdfs:Class".freeze,
|
61
|
+
"vs:term_status" => %(stable).freeze
|
62
|
+
term :Resource,
|
63
|
+
comment: %(A HTTP-addressable resource whose lifecycle is managed by a LDP server.).freeze,
|
64
|
+
label: "Resource".freeze,
|
65
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
66
|
+
type: "rdfs:Class".freeze,
|
67
|
+
"vs:term_status" => %(stable).freeze
|
68
|
+
|
69
|
+
# Property definitions
|
70
|
+
property :constrainedBy,
|
71
|
+
comment: %(Links a resource with constraints that the server requires requests like creation and update to conform to.).freeze,
|
72
|
+
domain: "ldp:Resource".freeze,
|
73
|
+
label: "constrainedBy".freeze,
|
74
|
+
range: "rdfs:Resource".freeze,
|
75
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
76
|
+
type: "rdf:Property".freeze,
|
77
|
+
"vs:term_status" => %(stable).freeze
|
78
|
+
property :contains,
|
79
|
+
comment: %(Links a container with resources created through the container.).freeze,
|
80
|
+
domain: "ldp:Container".freeze,
|
81
|
+
label: "contains".freeze,
|
82
|
+
range: "rdfs:Resource".freeze,
|
83
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
84
|
+
type: "rdf:Property".freeze,
|
85
|
+
"vs:term_status" => %(stable).freeze
|
86
|
+
property :hasMemberRelation,
|
87
|
+
comment: %(Indicates which predicate is used in membership triples, and that the membership triple pattern is < membership-constant-URI , object-of-hasMemberRelation, member-URI >.).freeze,
|
88
|
+
domain: "ldp:Container".freeze,
|
89
|
+
label: "hasMemberRelation".freeze,
|
90
|
+
range: "rdf:Property".freeze,
|
91
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
92
|
+
type: "rdf:Property".freeze,
|
93
|
+
"vs:term_status" => %(stable).freeze
|
94
|
+
property :insertedContentRelation,
|
95
|
+
comment: %(Indicates which triple in a creation request should be used as the member-URI value in the membership triple added when the creation request is successful.).freeze,
|
96
|
+
domain: "ldp:Container".freeze,
|
97
|
+
label: "insertedContentRelation".freeze,
|
98
|
+
range: "rdf:Property".freeze,
|
99
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
100
|
+
type: "rdf:Property".freeze,
|
101
|
+
"vs:term_status" => %(stable).freeze
|
102
|
+
property :isMemberOfRelation,
|
103
|
+
comment: %(Indicates which predicate is used in membership triples, and that the membership triple pattern is < member-URI , object-of-isMemberOfRelation, membership-constant-URI >.).freeze,
|
104
|
+
domain: "ldp:Container".freeze,
|
105
|
+
label: "isMemmberOfRelation".freeze,
|
106
|
+
range: "rdf:Property".freeze,
|
107
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
108
|
+
type: "rdf:Property".freeze,
|
109
|
+
"vs:term_status" => %(stable).freeze
|
110
|
+
property :member,
|
111
|
+
comment: %(LDP servers should use this predicate as the membership predicate if there is no obvious predicate from an application vocabulary to use.).freeze,
|
112
|
+
domain: "ldp:Resource".freeze,
|
113
|
+
label: "member".freeze,
|
114
|
+
range: "rdfs:Resource".freeze,
|
115
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
116
|
+
type: "rdf:Property".freeze,
|
117
|
+
"vs:term_status" => %(stable).freeze
|
118
|
+
property :membershipResource,
|
119
|
+
comment: %(Indicates the membership-constant-URI in a membership triple. Depending upon the membership triple pattern a container uses, as indicated by the presence of ldp:hasMemberRelation or ldp:isMemberOfRelation, the membership-constant-URI might occupy either the subject or object position in membership triples.).freeze,
|
120
|
+
domain: "ldp:Container".freeze,
|
121
|
+
label: "membershipResource".freeze,
|
122
|
+
range: "rdf:Property".freeze,
|
123
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
124
|
+
type: "rdf:Property".freeze,
|
125
|
+
"vs:term_status" => %(stable).freeze
|
126
|
+
property :pageSequence,
|
127
|
+
comment: %(Link to a page sequence resource, as defined by LDP Paging. Typically used to communicate the sorting criteria used to allocate LDPC members to pages.).freeze,
|
128
|
+
label: "Page".freeze,
|
129
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
130
|
+
type: "rdf:Property".freeze,
|
131
|
+
"vs:term_status" => %(testing).freeze
|
132
|
+
property :pageSortCollation,
|
133
|
+
comment: %(The collation used to order the members across pages in a page sequence when comparing strings.).freeze,
|
134
|
+
domain: "ldp:PageSortCriterion".freeze,
|
135
|
+
label: "pageSortCollation".freeze,
|
136
|
+
range: "rdf:Property".freeze,
|
137
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
138
|
+
type: "rdf:Property".freeze,
|
139
|
+
"vs:term_status" => %(testing).freeze
|
140
|
+
property :pageSortCriteria,
|
141
|
+
comment: %(Link to the list of sorting criteria used by the server in a representation. Typically used on Link response headers as an extension link relation URI in the rel= parameter.).freeze,
|
142
|
+
domain: "ldp:Page".freeze,
|
143
|
+
label: "pageSortCriteria".freeze,
|
144
|
+
range: "rdf:List".freeze,
|
145
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
146
|
+
type: "rdf:Property".freeze,
|
147
|
+
"vs:term_status" => %(testing).freeze
|
148
|
+
property :pageSortOrder,
|
149
|
+
comment: %(The ascending/descending/etc order used to order the members across pages in a page sequence.).freeze,
|
150
|
+
domain: "ldp:PageSortCriterion".freeze,
|
151
|
+
label: "pageSortOrder".freeze,
|
152
|
+
range: "rdfs:Resource".freeze,
|
153
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
154
|
+
type: "rdf:Property".freeze,
|
155
|
+
"vs:term_status" => %(testing).freeze
|
156
|
+
property :pageSortPredicate,
|
157
|
+
comment: %(Predicate used to specify the order of the members across a page sequence's in-sequence page resources; it asserts nothing about the order of members in the representation of a single page.).freeze,
|
158
|
+
domain: "ldp:PageSortCriterion".freeze,
|
159
|
+
label: "pageSortPredicate".freeze,
|
160
|
+
range: "rdf:Property".freeze,
|
161
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
162
|
+
type: "rdf:Property".freeze,
|
163
|
+
"vs:term_status" => %(testing).freeze
|
164
|
+
|
165
|
+
# Extra definitions
|
166
|
+
term :"",
|
167
|
+
comment: %(This ontology provides an informal representation of the concepts and terms as defined in the LDP specification. Consult the LDP specification for normative reference.).freeze,
|
168
|
+
"dc:description" => %(Vocabulary URIs defined in the Linked Data Platform \(LDP\) namespace.).freeze,
|
169
|
+
"dc:title" => %(The W3C Linked Data Platform \(LDP\) Vocabulary).freeze,
|
170
|
+
label: "W3C Linked Data Platform (LDP)".freeze,
|
171
|
+
"rdfs:seeAlso" => [%(http://www.w3.org/2012/ldp).freeze, %(http://www.w3.org/TR/ldp-ucr/).freeze, %(http://www.w3.org/TR/ldp/).freeze, %(http://www.w3.org/TR/ldp-paging/).freeze, %(http://www.w3.org/2011/09/LinkedData/).freeze],
|
172
|
+
type: "owl:Ontology".freeze
|
173
|
+
term :Ascending,
|
174
|
+
comment: %(Ascending order.).freeze,
|
175
|
+
label: "Ascending".freeze,
|
176
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
177
|
+
type: "owl:NamedIndividual".freeze,
|
178
|
+
"vs:term_status" => %(testing).freeze
|
179
|
+
term :Descending,
|
180
|
+
comment: %(Descending order.).freeze,
|
181
|
+
label: "Descending".freeze,
|
182
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
183
|
+
type: "owl:NamedIndividual".freeze,
|
184
|
+
"vs:term_status" => %(testing).freeze
|
185
|
+
term :MemberSubject,
|
186
|
+
comment: %(Used to indicate default and typical behavior for ldp:insertedContentRelation, where the member-URI value in the membership triple added when a creation request is successful is the URI assigned to the newly created resource.).freeze,
|
187
|
+
label: "MemberSubject".freeze,
|
188
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
189
|
+
type: "owl:NamedIndividual".freeze,
|
190
|
+
"vs:term_status" => %(stable).freeze
|
191
|
+
term :PreferContainment,
|
192
|
+
comment: %(URI identifying a LDPC's containment triples, for example to allow clients to express interest in receiving them.).freeze,
|
193
|
+
label: "PreferContainment".freeze,
|
194
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
195
|
+
type: "owl:NamedIndividual".freeze,
|
196
|
+
"vs:term_status" => %(stable).freeze
|
197
|
+
term :PreferEmptyContainer,
|
198
|
+
comment: %(Archaic alias for ldp:PreferMinimalContainer).freeze,
|
199
|
+
label: "PreferEmptyContainer".freeze,
|
200
|
+
"owl:equivalentProperty" => %(ldp:PreferMinimalContainer).freeze,
|
201
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
202
|
+
"rdfs:seeAlso" => %(ldp:PreferMinimalContainer).freeze,
|
203
|
+
type: "owl:NamedIndividual".freeze,
|
204
|
+
"vs:term_status" => %(archaic).freeze
|
205
|
+
term :PreferMembership,
|
206
|
+
comment: %(URI identifying a LDPC's membership triples, for example to allow clients to express interest in receiving them.).freeze,
|
207
|
+
label: "PreferMembership".freeze,
|
208
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
209
|
+
type: "owl:NamedIndividual".freeze,
|
210
|
+
"vs:term_status" => %(stable).freeze
|
211
|
+
term :PreferMinimalContainer,
|
212
|
+
comment: %(URI identifying the subset of a LDPC's triples present in an empty LDPC, for example to allow clients to express interest in receiving them. Currently this excludes containment and membership triples, but in the future other exclusions might be added. This definition is written to automatically exclude those new classes of triples.).freeze,
|
213
|
+
label: "PreferMinimalContainer".freeze,
|
214
|
+
"rdfs:isDefinedBy" => %(ldp:).freeze,
|
215
|
+
type: "owl:NamedIndividual".freeze,
|
216
|
+
"vs:term_status" => %(stable).freeze
|
217
|
+
end
|
218
|
+
end
|