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
@@ -12,7 +12,7 @@ module RDF::Vocab
|
|
12
12
|
potential to perform intentional actions for which they can be held responsible.).freeze,
|
13
13
|
"skos:example" => %(Leonardo da Vinci, the British Museum, W3C).freeze,
|
14
14
|
"skos:scopeNote" => %(Rationale: This class is a domain of edm:wasPresentAt).freeze,
|
15
|
-
subClassOf: "
|
15
|
+
subClassOf: "edm:NonInformationResource".freeze,
|
16
16
|
type: "owl:Class".freeze
|
17
17
|
term :EuropeanaAggregation,
|
18
18
|
label: "Europeana Aggregation".freeze,
|
@@ -22,14 +22,14 @@ descriptions about the object that Europeana collects from \(possibly different\
|
|
22
22
|
"skos:example" => [%(The painting Mona Lisa is a Cultural Heritage Object represented in Europeana by one EuropeanaAggregation instance).freeze, %(The journal "Le Temps" is a Cultural Heritage Object represented in Europeana by one EuropeanaAggregation instance).freeze, %(The 56th issue of "Le Temps" is a \(different\) Cultural Heritage Object represented in Europeana by another EuropeanaAggregation instance).freeze],
|
23
23
|
"skos:note" => %(An instance of EuropeanaAggregation is created at ingestion time for each different Cultural Heritage Object recognized by Europeana. Such instance is associated to the Cultural Heritage Object that it is about, by the property edm:aggregatedCHO).freeze,
|
24
24
|
"skos:scopeNote" => [%(Obligation and Occurence: The relation between the Cultural Heritage Objects represented in Europeana and the instances of the class EuropeanaAggregation is one-to-one, in the data maintained by Europeana: every Cultural Heritage Object is represented by an instance of EuropeanaAggregation, and every instance of EuropeanaAggregation represent a Cultural Heritage Object.).freeze, %(Rationale: This class is used in Europeana to gather in a single conceptual unit all the information about a Cultural Heritage Object, necessary for all operations on these objects.).freeze],
|
25
|
-
subClassOf: ["
|
25
|
+
subClassOf: ["edm:EuropeanaObject".freeze, "ore:Aggregation".freeze],
|
26
26
|
type: "owl:Class".freeze
|
27
27
|
term :EuropeanaObject,
|
28
28
|
label: "Europeana Object".freeze,
|
29
29
|
"skos:definition" => %(Any object that is the result of Europeana’s activities).freeze,
|
30
30
|
"skos:example" => [%(Any instance of the class EuropeanaAggregation).freeze, %(An annotation created by a user through the Europeana portal).freeze, %(Any content created by the users through the service made available by Europeana for that purpose).freeze],
|
31
31
|
"skos:scopeNote" => %(Rationale: This class is used to tag objects that are the result of activity of Europeana, and, as such, objects on which Europeana holds rights).freeze,
|
32
|
-
subClassOf: "
|
32
|
+
subClassOf: "edm:WebResource".freeze,
|
33
33
|
type: "owl:Class".freeze
|
34
34
|
term :Event,
|
35
35
|
label: "Event".freeze,
|
@@ -41,7 +41,7 @@ cultural, technological or legal phenomena" \(E5 Event in CIDOC CRM\) or a "set
|
|
41
41
|
"skos:example" => [%(the act of painting Mona Lisa).freeze, %(the 2nd World War).freeze, %(the change of custody of Mona Lisa).freeze],
|
42
42
|
"skos:note" => %(Events are identified either by the content provider or by Europeana enrichment at ingestion time).freeze,
|
43
43
|
"skos:scopeNote" => %(Rationale:This class is a domain of edm:happenedAt and the domain of edm:occurredAt).freeze,
|
44
|
-
subClassOf: "
|
44
|
+
subClassOf: "edm:NonInformationResource".freeze,
|
45
45
|
type: "owl:Class".freeze
|
46
46
|
term :InformationResource,
|
47
47
|
label: "Information Resource".freeze,
|
@@ -50,7 +50,7 @@ cultural, technological or legal phenomena" \(E5 Event in CIDOC CRM\) or a "set
|
|
50
50
|
type: "owl:Class".freeze
|
51
51
|
term :NonInformationResource,
|
52
52
|
label: "Non-Information Resource".freeze,
|
53
|
-
"owl:complementOf" => %(
|
53
|
+
"owl:complementOf" => %(edm:InformationResource).freeze,
|
54
54
|
"skos:definition" => %(All resources that are not information resources.).freeze,
|
55
55
|
type: "owl:Class".freeze
|
56
56
|
term :PhysicalThing,
|
@@ -58,13 +58,13 @@ cultural, technological or legal phenomena" \(E5 Event in CIDOC CRM\) or a "set
|
|
58
58
|
"owl:equivalentClass" => %(http://www.cidoc-crm.org/rdfs/cidoc-crm#E18_Physical_Thing).freeze,
|
59
59
|
"skos:definition" => %(A persistent physical item such as a painting, a building, a book or a stone.
|
60
60
|
Persons are not items. This class represents Cultural Heritage Objects known to Europeana to be physical things \(such as Mona Lisa\) as well as all physical things Europeana refers to in the descriptions of Cultural Heritage Objects \(such as the Rosetta Stone\).).freeze,
|
61
|
-
subClassOf: "
|
61
|
+
subClassOf: "edm:NonInformationResource".freeze,
|
62
62
|
type: "owl:Class".freeze
|
63
63
|
term :Place,
|
64
64
|
label: "Place".freeze,
|
65
65
|
"owl:equivalentClass" => [%(http://www.loa-cnr.it/ontologies/DOLCE-Lite.owl#space-region).freeze, %(http://metadata.net/harmony/abc#Place).freeze, %(http://www.cidoc-crm.org/rdfs/cidoc-crm#E53_Place).freeze, %(http://purl.org/vocab/frbr/core#Place).freeze, %(http://iflastandards.info/ns/fr/frbr/frbroo/F9_Place).freeze],
|
66
66
|
"skos:definition" => %(An "extent in space, in particular on the surface of the earth, in the pure sense of physics: independent from temporal phenomena and matter" \(CIDOC CRM\)).freeze,
|
67
|
-
subClassOf: "
|
67
|
+
subClassOf: "edm:NonInformationResource".freeze,
|
68
68
|
type: "owl:Class".freeze
|
69
69
|
term :ProvidedCHO,
|
70
70
|
label: "Provided CHO".freeze,
|
@@ -78,27 +78,27 @@ Persons are not items. This class represents Cultural Heritage Objects known to
|
|
78
78
|
"owl:equivalentClass" => [%(http://metadata.net/harmony/abc#Time).freeze, %(http://www.loa-cnr.it/ontologies/DOLCE-Lite.owl#time-interval).freeze, %(http://www.cidoc-crm.org/rdfs/cidoc-crm#E52_Time-Span).freeze],
|
79
79
|
"skos:definition" => %(The class of "abstract temporal extents, in the sense of Galilean physics,
|
80
80
|
having a beginning, an end and a duration" \(CIDOC CRM\)).freeze,
|
81
|
-
subClassOf: ["
|
81
|
+
subClassOf: ["edm:NonInformationResource".freeze, "dc:PeriodOfTime".freeze],
|
82
82
|
type: "owl:Class".freeze
|
83
83
|
term :WebResource,
|
84
84
|
label: "Web Resource".freeze,
|
85
85
|
"skos:definition" => %(Information Resources that have at least one Web Representation and at least
|
86
86
|
a URI.).freeze,
|
87
|
-
subClassOf: "
|
87
|
+
subClassOf: "edm:InformationResource".freeze,
|
88
88
|
type: "owl:Class".freeze
|
89
89
|
|
90
90
|
# Property definitions
|
91
91
|
property :aggregatedCHO,
|
92
92
|
domain: "ore:Aggregation".freeze,
|
93
93
|
label: "Aggregated Cultural Heritage Object".freeze,
|
94
|
-
range: "
|
94
|
+
range: "edm:ProvidedCHO".freeze,
|
95
95
|
"skos:definition" => %(This property associates an ORE aggregation with the cultural heritage object\(s\) \(CHO for short\) it is about.).freeze,
|
96
96
|
subPropertyOf: ["ore:aggregates".freeze, "dc11:subject".freeze, "http://www.cidoc-crm.org/rdfs/cidoc-crm#P129_is_about".freeze],
|
97
97
|
type: "owl:ObjectProperty".freeze
|
98
98
|
property :begin,
|
99
99
|
label: "Begin".freeze,
|
100
100
|
"skos:definition" => %(This property denotes the start date of a period of time.).freeze,
|
101
|
-
subPropertyOf: "
|
101
|
+
subPropertyOf: "edm:isRelatedTo".freeze,
|
102
102
|
type: "owl:DatatypeProperty".freeze
|
103
103
|
property :collectionName,
|
104
104
|
label: "Collection Name".freeze,
|
@@ -112,21 +112,21 @@ a URI.).freeze,
|
|
112
112
|
property :currentLocation,
|
113
113
|
label: "Current Location".freeze,
|
114
114
|
"owl:equivalentProperty" => [%(geo:location).freeze, %(http://www.cidoc-crm.org/rdfs/cidoc-crm#P55_has_current_location).freeze],
|
115
|
-
range: "
|
115
|
+
range: "edm:Place".freeze,
|
116
116
|
"skos:definition" => %(The geographic location and/or name of the repository, building, site, or other entity whose boundaries presently include the resource.).freeze,
|
117
117
|
subPropertyOf: "dc:spatial".freeze,
|
118
118
|
type: "owl:ObjectProperty".freeze
|
119
119
|
property :dataProvider,
|
120
120
|
domain: "ore:Aggregation".freeze,
|
121
121
|
label: "Data Provider".freeze,
|
122
|
-
range: "
|
122
|
+
range: "edm:Agent".freeze,
|
123
123
|
"skos:definition" => %(The name or identifier of the organisation who contributes data indirectly to an aggregation service \(e.g. Europeana\).).freeze,
|
124
124
|
subPropertyOf: "dc:provenance".freeze,
|
125
125
|
type: "rdf:Property".freeze
|
126
126
|
property :end,
|
127
127
|
label: "End".freeze,
|
128
128
|
"skos:definition" => %(This property denotes the end date of a period of time.).freeze,
|
129
|
-
subPropertyOf: "
|
129
|
+
subPropertyOf: "edm:isRelatedTo".freeze,
|
130
130
|
type: "owl:DatatypeProperty".freeze
|
131
131
|
property :europeanaProxy,
|
132
132
|
label: "Europeana Proxy".freeze,
|
@@ -134,10 +134,10 @@ a URI.).freeze,
|
|
134
134
|
"skos:note" => %(By default, any proxy without this flag can be interpreted as having the value false and is a provider proxy.).freeze,
|
135
135
|
type: "owl:ObjectProperty".freeze
|
136
136
|
property :happenedAt,
|
137
|
-
domain: "
|
137
|
+
domain: "edm:Event".freeze,
|
138
138
|
label: "Happened At".freeze,
|
139
139
|
"owl:equivalentProperty" => %(http://www.cidoc-crm.org/rdfs/cidoc-crm#P7_took_place_at).freeze,
|
140
|
-
range: "
|
140
|
+
range: "edm:Place".freeze,
|
141
141
|
"skos:definition" => %(This property associates an event with the place at which the event
|
142
142
|
happened.).freeze,
|
143
143
|
subPropertyOf: "dc11:relation".freeze,
|
@@ -150,15 +150,15 @@ happened.).freeze,
|
|
150
150
|
property :hasType,
|
151
151
|
label: "Has Type".freeze,
|
152
152
|
"owl:equivalentProperty" => %(http://www.cidoc-crm.org/rdfs/cidoc-crm#P2_has_type).freeze,
|
153
|
-
range: "
|
153
|
+
range: "edm:NonInformationResource".freeze,
|
154
154
|
"skos:definition" => %(This property relates a resource with the concepts it belongs to in a suitable
|
155
155
|
type system such as MIME or any thesaurus that captures categories of objects in a given field \(e.g., the “Objects” facet in Getty’s Art and Architecture Thesaurus\). It does not capture aboutness.).freeze,
|
156
|
-
subPropertyOf: "
|
156
|
+
subPropertyOf: "edm:isRelatedTo".freeze,
|
157
157
|
type: "owl:ObjectProperty".freeze
|
158
158
|
property :hasView,
|
159
159
|
domain: "ore:Aggregation".freeze,
|
160
160
|
label: "Has View".freeze,
|
161
|
-
range: "
|
161
|
+
range: "edm:WebResource".freeze,
|
162
162
|
"skos:definition" => %(This property relates a ORE aggregation about a CHO with a web resource
|
163
163
|
providing a view of that CHO. Examples of view are: a thumbnail, a textual
|
164
164
|
abstract and a table of contents. The ORE aggregation may be a Europeana
|
@@ -170,10 +170,10 @@ Aggregation, in which case the view is an object owned by Europeana \(i.e., an i
|
|
170
170
|
"owl:equivalentProperty" => %(http://iflastandards.info/ns/fr/frbr/frbroo/R14_incorporates).freeze,
|
171
171
|
"skos:definition" => %(This property captures the use of some resource to add value to another
|
172
172
|
resource. Such resources may be nested, such as performing a theater play text, and then recording the performance, or creating an artful edition of a collection of poems or just aggregating various poems in an anthology. There may be no single part that contains ultimately the incorporated object, which may be dispersed in the presentation. Therefore, incorporated resources do in general not form proper parts. Incorporated resources are not part of the same resource, but are taken from other resources, and have an independent history. Therefore edm:incorporates is not a sub-property of dcterm:hasPart.).freeze,
|
173
|
-
subPropertyOf: "
|
173
|
+
subPropertyOf: "edm:isSimilarTo".freeze,
|
174
174
|
type: "owl:ObjectProperty".freeze
|
175
175
|
property :isAnnotationOf,
|
176
|
-
domain: "
|
176
|
+
domain: "edm:EuropeanaObject".freeze,
|
177
177
|
label: "Is Annotation Of".freeze,
|
178
178
|
"skos:definition" => %(This property relates an annotation \(a Europeana object\) with the resource
|
179
179
|
that it annotates.).freeze,
|
@@ -183,7 +183,7 @@ that it annotates.).freeze,
|
|
183
183
|
label: "Is Derivative Of".freeze,
|
184
184
|
"owl:equivalentProperty" => %(http://iflastandards.info/ns/fr/frbr/frbroo/R2_is_derivative_of).freeze,
|
185
185
|
"skos:definition" => %(This property captures a narrower notion of derivation than edm:isSimilarTo, in the sense that it relates a resource to another one, obtained by reworking, reducing, expanding, parts or the whole contents of the former, and possibly adding some minor parts. Versions have an even narrower meaning, in that it requires common identity between the related resources. Translations, summaries, abstractions etc. do not qualify as versions, but do qualify as derivatives.).freeze,
|
186
|
-
subPropertyOf: "
|
186
|
+
subPropertyOf: "edm:isSimilarTo".freeze,
|
187
187
|
type: "rdf:Property".freeze
|
188
188
|
property :isNextInSequence,
|
189
189
|
label: "Is Next In Sequence Of".freeze,
|
@@ -196,22 +196,22 @@ that it annotates.).freeze,
|
|
196
196
|
properties have typically to do either with the things that have happened to or together with the object under consideration, or what the object refers to by its shape, form or features in a figural or encoded form. For sake of simplicity, we include in the contextual relationships also the scholarly classification, which may have either to do with the role and cultural connections of the object in the past, or its kind of structure, substance or contents as it can be verified at present.).freeze,
|
197
197
|
type: "rdf:Property".freeze
|
198
198
|
property :isRepresentationOf,
|
199
|
-
domain: "
|
199
|
+
domain: "edm:InformationResource".freeze,
|
200
200
|
label: "Is Representation Of".freeze,
|
201
201
|
"skos:definition" => %(This property associates an information resource to the resource \(if any\) that it represents).freeze,
|
202
202
|
subPropertyOf: ["dc11:subject".freeze, "http://www.cidoc-crm.org/rdfs/cidoc-crm#P138_represents".freeze],
|
203
203
|
type: "owl:ObjectProperty".freeze
|
204
204
|
property :isShownAt,
|
205
205
|
label: "Is Shown At".freeze,
|
206
|
-
range: "
|
206
|
+
range: "edm:WebResource".freeze,
|
207
207
|
"skos:definition" => %(An unambiguous URL reference to the digital object on the provider’s web site in its full information context.).freeze,
|
208
|
-
subPropertyOf: "
|
208
|
+
subPropertyOf: "edm:hasView".freeze,
|
209
209
|
type: "owl:ObjectProperty".freeze
|
210
210
|
property :isShownBy,
|
211
211
|
label: "Is Shown By".freeze,
|
212
|
-
range: "
|
212
|
+
range: "edm:WebResource".freeze,
|
213
213
|
"skos:definition" => %(An unambiguous URL reference to the digital object on the provider’s web site in the best available resolution/quality.).freeze,
|
214
|
-
subPropertyOf: "
|
214
|
+
subPropertyOf: "edm:hasView".freeze,
|
215
215
|
type: "owl:ObjectProperty".freeze
|
216
216
|
property :isSimilarTo,
|
217
217
|
label: "Is Similar To".freeze,
|
@@ -222,11 +222,11 @@ properties have typically to do either with the things that have happened to or
|
|
222
222
|
property :isSuccessorOf,
|
223
223
|
label: "Is Successor Of".freeze,
|
224
224
|
"skos:definition" => %(This property captures the relation between the continuation of a resource and that resource. This applies to a story, a serial, a journal etc. No content of the successor resource is identical or has a similar form with that of the precursor. The similarity is only in the context, subjects and figures of a plot. Successors typically form part of a common whole – such as a trilogy, a journal, etc.).freeze,
|
225
|
-
subPropertyOf: "
|
225
|
+
subPropertyOf: "edm:isSimilarTo".freeze,
|
226
226
|
type: "owl:ObjectProperty".freeze
|
227
227
|
property :landingPage,
|
228
228
|
label: "Landing Page".freeze,
|
229
|
-
range: "
|
229
|
+
range: "edm:WebResource".freeze,
|
230
230
|
"skos:definition" => %(This property captures the relation between a Europeana aggregation representing a cultural heritage object and a \(reference\) Web resource giving access to that object. Europeana provides the value for this property.).freeze,
|
231
231
|
subPropertyOf: "ore:aggregates".freeze,
|
232
232
|
type: "owl:ObjectProperty".freeze
|
@@ -236,40 +236,40 @@ properties have typically to do either with the things that have happened to or
|
|
236
236
|
type: "rdf:Property".freeze
|
237
237
|
property :object,
|
238
238
|
label: "Object".freeze,
|
239
|
-
range: "
|
239
|
+
range: "edm:WebResource".freeze,
|
240
240
|
"skos:definition" => %(The URL of a thumbnail representing the digital object or, if there is no such
|
241
241
|
thumbnail, the URL of the digital object in the best resolution available on the
|
242
242
|
web site of the data provider from which a thumbnail could be generated. This will often be the same URL as given in edm:isShownBy.).freeze,
|
243
|
-
subPropertyOf: "
|
243
|
+
subPropertyOf: "edm:hasView".freeze,
|
244
244
|
type: "owl:ObjectProperty".freeze
|
245
245
|
property :occurredAt,
|
246
|
-
domain: "
|
246
|
+
domain: "edm:Event".freeze,
|
247
247
|
label: "Occured At".freeze,
|
248
248
|
"owl:equivalentProperty" => %(http://www.cidoc-crm.org/rdfs/cidoc-crm#P4_has_time-span).freeze,
|
249
|
-
range: "
|
249
|
+
range: "edm:TimeSpan".freeze,
|
250
250
|
"skos:definition" => %(This property associates an event to the smallest known time span that
|
251
251
|
overlaps with the occurrence of that event).freeze,
|
252
252
|
subPropertyOf: "dc11:relation".freeze,
|
253
253
|
type: "owl:ObjectProperty".freeze
|
254
254
|
property :preview,
|
255
255
|
label: "Preview".freeze,
|
256
|
-
range: "
|
256
|
+
range: "edm:WebResource".freeze,
|
257
257
|
"skos:definition" => %(The URL of a thumbnail representing the digital object, generated by Europeana.).freeze,
|
258
|
-
subPropertyOf: "
|
258
|
+
subPropertyOf: "edm:hasView".freeze,
|
259
259
|
type: "owl:ObjectProperty".freeze
|
260
260
|
property :provider,
|
261
261
|
label: "Provider".freeze,
|
262
|
-
range: "
|
262
|
+
range: "edm:Agent".freeze,
|
263
263
|
"skos:definition" => %(The name or identifier of the organization who delivers data directly to an aggregation service \(e.g. Europeana\)).freeze,
|
264
|
-
subPropertyOf: "
|
264
|
+
subPropertyOf: "edm:hasMet".freeze,
|
265
265
|
type: "rdf:Property".freeze
|
266
266
|
property :realizes,
|
267
|
-
domain: "
|
267
|
+
domain: "edm:PhysicalThing".freeze,
|
268
268
|
label: "Realizes".freeze,
|
269
269
|
"owl:equivalentProperty" => %(http://www.cidoc-crm.org/rdfs/cidoc-crm#P128_carries).freeze,
|
270
|
-
range: "
|
270
|
+
range: "edm:InformationResource".freeze,
|
271
271
|
"skos:definition" => %(This property describes a relation between a physical thing and the information resource that is contained in it, visible at it or otherwise carried by it, if applicable.).freeze,
|
272
|
-
subPropertyOf: "
|
272
|
+
subPropertyOf: "edm:isRelatedTo".freeze,
|
273
273
|
type: "owl:ObjectProperty".freeze
|
274
274
|
property :rights,
|
275
275
|
label: "Europeana Rights".freeze,
|
@@ -302,7 +302,7 @@ otherwise cannot be mapped to another element in the ESE.).freeze,
|
|
302
302
|
property :wasPresentAt,
|
303
303
|
label: "Was Present At".freeze,
|
304
304
|
"owl:equivalentProperty" => %(http://www.cidoc-crm.org/rdfs/cidoc-crm#P12i_was_present_at).freeze,
|
305
|
-
range: "
|
305
|
+
range: "edm:Event".freeze,
|
306
306
|
"skos:definition" => %(This property associates the people, things or information resources with an event at which they were present).freeze,
|
307
307
|
subPropertyOf: "dc11:relation".freeze,
|
308
308
|
type: "owl:ObjectProperty".freeze
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'rdf'
|
2
|
+
require 'rdf/vocabulary'
|
3
|
+
require 'rdf/vocab'
|
4
|
+
|
5
|
+
# Monkey-patch RDF::Vocab.each to load all vocabularies
|
6
|
+
|
7
|
+
module RDF
|
8
|
+
class Vocabulary
|
9
|
+
class << self
|
10
|
+
##
|
11
|
+
# Enumerates known RDF vocabulary classes.
|
12
|
+
#
|
13
|
+
# @yield [klass]
|
14
|
+
# @yieldparam [Class] klass
|
15
|
+
# @return [Enumerator]
|
16
|
+
alias_method :_orig_each, :each
|
17
|
+
def each(&block)
|
18
|
+
# This is needed since all vocabulary classes are defined using
|
19
|
+
# Ruby's autoloading facility, meaning that `@@subclasses` will be
|
20
|
+
# empty until each subclass has been touched or require'd.
|
21
|
+
RDF::Vocab::VOCABS.each do |n, params|
|
22
|
+
class_name = params.fetch(:class_name, n.upcase).to_sym
|
23
|
+
require "rdf/vocab/#{n}"
|
24
|
+
end
|
25
|
+
_orig_each(&block)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# This file generated automatically using vocab-fetch from http://fedora.info/definitions/v4/
|
2
|
+
# This file generated automatically using vocab-fetch from http://fedora.info/definitions/v4/repository#
|
3
3
|
require 'rdf'
|
4
4
|
module RDF::Vocab
|
5
5
|
class Fcrepo4 < RDF::StrictVocabulary("http://fedora.info/definitions/v4/repository#")
|
@@ -8,64 +8,64 @@ module RDF::Vocab
|
|
8
8
|
term :AnnotatedResource,
|
9
9
|
comment: %(A Resource that maintains properties in its own right.).freeze,
|
10
10
|
label: "annotated resource".freeze,
|
11
|
-
subClassOf: "
|
11
|
+
subClassOf: "fcrepo4:Resource".freeze,
|
12
12
|
type: "owl:Class".freeze
|
13
13
|
term :Binary,
|
14
14
|
comment: %(A bitstream, with no further data properties.).freeze,
|
15
15
|
label: "binary".freeze,
|
16
|
-
"owl:disjointWith" => [%(
|
17
|
-
subClassOf: "
|
16
|
+
"owl:disjointWith" => [%(fcrepo4:NonRdfSourceDescription).freeze, %(fcrepo4:Container).freeze],
|
17
|
+
subClassOf: "fcrepo4:Resource".freeze,
|
18
18
|
type: "owl:Class".freeze
|
19
19
|
term :Blanknode,
|
20
20
|
comment: %(An entity that is a representation of an RDF blank node.).freeze,
|
21
21
|
label: "blank node".freeze,
|
22
|
-
subClassOf: "
|
22
|
+
subClassOf: "fcrepo4:Thing".freeze,
|
23
23
|
type: "owl:Class".freeze
|
24
24
|
term :Configuration,
|
25
25
|
comment: %(A container for transform configuration.).freeze,
|
26
26
|
label: "Fedora transform configuration".freeze,
|
27
|
-
subClassOf: "
|
27
|
+
subClassOf: "fcrepo4:Thing".freeze,
|
28
28
|
type: "owl:Class".freeze
|
29
29
|
term :Container,
|
30
30
|
comment: %(A Fedora Container: the fundamental quantum of durable content in a Fedora repository.).freeze,
|
31
31
|
label: "Fedora Container".freeze,
|
32
|
-
subClassOf: "
|
32
|
+
subClassOf: "fcrepo4:AnnotatedResource".freeze,
|
33
33
|
type: "owl:Class".freeze
|
34
34
|
term :EmbedResources,
|
35
35
|
comment: %(The set of triples representing child resources of a given resource.).freeze,
|
36
36
|
label: "embed resources".freeze,
|
37
|
-
subClassOf: "
|
37
|
+
subClassOf: "fcrepo4:Thing".freeze,
|
38
38
|
type: "owl:Class".freeze
|
39
39
|
term :InboundReferences,
|
40
40
|
comment: %(The set of triples representing other repository resources which link to a given resource.).freeze,
|
41
41
|
label: "inbound references".freeze,
|
42
|
-
subClassOf: "
|
42
|
+
subClassOf: "fcrepo4:Thing".freeze,
|
43
43
|
type: "owl:Class".freeze
|
44
44
|
term :NodeTypeConfiguration,
|
45
45
|
comment: %(A container for transform node type configuration.).freeze,
|
46
46
|
label: "Fedora transform node type configuration".freeze,
|
47
|
-
subClassOf: "
|
47
|
+
subClassOf: "fcrepo4:Thing".freeze,
|
48
48
|
type: "owl:Class".freeze
|
49
49
|
term :NonRdfSourceDescription,
|
50
50
|
comment: %(A container for a bitstream and associated properties.).freeze,
|
51
51
|
label: "Fedora NonRdfSourceDescription".freeze,
|
52
|
-
"owl:disjointWith" => %(
|
53
|
-
subClassOf: "
|
52
|
+
"owl:disjointWith" => %(fcrepo4:Container).freeze,
|
53
|
+
subClassOf: "fcrepo4:AnnotatedResource".freeze,
|
54
54
|
type: "owl:Class".freeze
|
55
55
|
term :Pairtree,
|
56
56
|
comment: %(An entity that is a an intermediary node created in a PairTree hierarchy.).freeze,
|
57
57
|
label: "pair tree".freeze,
|
58
|
-
subClassOf: "
|
58
|
+
subClassOf: "fcrepo4:Thing".freeze,
|
59
59
|
type: "owl:Class".freeze
|
60
60
|
term :Relations,
|
61
61
|
comment: %(An entity that may be related to other repository entities.).freeze,
|
62
62
|
label: "Relations".freeze,
|
63
|
-
subClassOf: "
|
63
|
+
subClassOf: "fcrepo4:Thing".freeze,
|
64
64
|
type: "owl:Class".freeze
|
65
65
|
term :Resource,
|
66
66
|
comment: %(An entity that has been committed to the repository for safekeeping. For example, Fedora objects and datastreams are resources. A Fixity is not, because the provenance of the instance is entirely internal to the repository.).freeze,
|
67
67
|
label: "Fedora resource".freeze,
|
68
|
-
subClassOf: "
|
68
|
+
subClassOf: "fcrepo4:Thing".freeze,
|
69
69
|
type: "owl:Class".freeze
|
70
70
|
term :ResourceStatus,
|
71
71
|
comment: %(Values of the status property. The default values are active and deleted -- but additional values can be created.).freeze,
|
@@ -74,7 +74,7 @@ module RDF::Vocab
|
|
74
74
|
term :ServerManaged,
|
75
75
|
comment: %(The system-generated triples for a given resource \(as opposed to explicity-declared properties\).).freeze,
|
76
76
|
label: "server managed".freeze,
|
77
|
-
subClassOf: "
|
77
|
+
subClassOf: "fcrepo4:Thing".freeze,
|
78
78
|
type: "owl:Class".freeze
|
79
79
|
term :Thing,
|
80
80
|
comment: %(Something that is contemplated in the Fedora repository model.).freeze,
|
@@ -86,7 +86,7 @@ module RDF::Vocab
|
|
86
86
|
type: "owl:Class".freeze
|
87
87
|
term :Version,
|
88
88
|
label: "A snapshot of a Fedora object at a given point in time.".freeze,
|
89
|
-
subClassOf: "
|
89
|
+
subClassOf: "fcrepo4:Container".freeze,
|
90
90
|
type: "owl:Class".freeze
|
91
91
|
|
92
92
|
# Property definitions
|
@@ -95,9 +95,9 @@ module RDF::Vocab
|
|
95
95
|
subPropertyOf: "owl:topDataProperty".freeze,
|
96
96
|
type: "owl:DatatypeProperty".freeze
|
97
97
|
property :baseVersion,
|
98
|
-
domain: "
|
98
|
+
domain: "fcrepo4:Container".freeze,
|
99
99
|
label: "base version".freeze,
|
100
|
-
range: "
|
100
|
+
range: "fcrepo4:Version".freeze,
|
101
101
|
type: ["owl:ObjectProperty".freeze, "owl:FunctionalProperty".freeze]
|
102
102
|
property :clusterCacheMode,
|
103
103
|
label: "clusterCacheMode".freeze,
|
@@ -159,28 +159,28 @@ module RDF::Vocab
|
|
159
159
|
type: "owl:DatatypeProperty".freeze
|
160
160
|
property :frozenMixinTypes,
|
161
161
|
label: "frozenMixinTypes".freeze,
|
162
|
-
subPropertyOf: "
|
162
|
+
subPropertyOf: "fcrepo4:mixinTypes".freeze,
|
163
163
|
type: "owl:DatatypeProperty".freeze
|
164
164
|
property :frozenPrimaryType,
|
165
165
|
label: "frozenPrimaryType".freeze,
|
166
|
-
subPropertyOf: "
|
166
|
+
subPropertyOf: "fcrepo4:primaryType".freeze,
|
167
167
|
type: "owl:DatatypeProperty".freeze
|
168
168
|
property :frozenUuid,
|
169
169
|
label: "frozenUuid".freeze,
|
170
|
-
subPropertyOf: "
|
170
|
+
subPropertyOf: "fcrepo4:uuid".freeze,
|
171
171
|
type: "owl:DatatypeProperty".freeze
|
172
172
|
property :hasAccessRoles,
|
173
173
|
label: "has access roles".freeze,
|
174
174
|
type: "owl:ObjectProperty".freeze
|
175
175
|
property :hasChild,
|
176
|
-
domain: "
|
176
|
+
domain: "fcrepo4:Container".freeze,
|
177
177
|
label: "has child".freeze,
|
178
178
|
type: ["owl:ObjectProperty".freeze, "owl:InverseFunctionalProperty".freeze]
|
179
179
|
property :hasContent,
|
180
180
|
comment: %(Indicates a binary in which content is stored for this datastream.).freeze,
|
181
|
-
domain: "
|
181
|
+
domain: "fcrepo4:NonRdfSourceDescription".freeze,
|
182
182
|
label: "has content".freeze,
|
183
|
-
range: "
|
183
|
+
range: "fcrepo4:Binary".freeze,
|
184
184
|
type: "owl:ObjectProperty".freeze
|
185
185
|
property :hasDefaultWorkspace,
|
186
186
|
comment: %(Indicates the default workspace of the repository.).freeze,
|
@@ -211,21 +211,21 @@ module RDF::Vocab
|
|
211
211
|
subPropertyOf: "owl:topDataProperty".freeze,
|
212
212
|
type: "owl:DatatypeProperty".freeze
|
213
213
|
property :hasParent,
|
214
|
-
domain: "
|
214
|
+
domain: "fcrepo4:Resource".freeze,
|
215
215
|
label: "has parent".freeze,
|
216
|
-
range: "
|
216
|
+
range: "fcrepo4:Container".freeze,
|
217
217
|
type: ["owl:ObjectProperty".freeze, "owl:FunctionalProperty".freeze]
|
218
218
|
property :hasResultsMember,
|
219
219
|
label: "has results member".freeze,
|
220
|
-
range: "
|
220
|
+
range: "fcrepo4:Resource".freeze,
|
221
221
|
type: "owl:ObjectProperty".freeze
|
222
222
|
property :hasTransactionProvider,
|
223
223
|
label: "has transaction provider".freeze,
|
224
224
|
type: "owl:DatatypeProperty".freeze
|
225
225
|
property :hasVersion,
|
226
|
-
domain: "
|
226
|
+
domain: "fcrepo4:Container".freeze,
|
227
227
|
label: "has version".freeze,
|
228
|
-
range: "
|
228
|
+
range: "fcrepo4:Version".freeze,
|
229
229
|
type: "owl:ObjectProperty".freeze
|
230
230
|
property :hasVersionLabel,
|
231
231
|
label: "hasVersionLabel".freeze,
|
@@ -249,9 +249,9 @@ module RDF::Vocab
|
|
249
249
|
type: "owl:DatatypeProperty".freeze
|
250
250
|
property :isContentOf,
|
251
251
|
comment: %(Indicates a datastream for which this resource contains the content. ).freeze,
|
252
|
-
domain: "
|
252
|
+
domain: "fcrepo4:Binary".freeze,
|
253
253
|
label: "is content of".freeze,
|
254
|
-
range: "
|
254
|
+
range: "fcrepo4:NonRdfSourceDescription".freeze,
|
255
255
|
type: ["owl:ObjectProperty".freeze, "owl:InverseFunctionalProperty".freeze]
|
256
256
|
property :lastModified,
|
257
257
|
label: "lastModified".freeze,
|
@@ -300,9 +300,9 @@ module RDF::Vocab
|
|
300
300
|
subPropertyOf: "owl:topDataProperty".freeze,
|
301
301
|
type: "owl:DatatypeProperty".freeze
|
302
302
|
property :predecessors,
|
303
|
-
domain: "
|
303
|
+
domain: "fcrepo4:Version".freeze,
|
304
304
|
label: "predecessors".freeze,
|
305
|
-
range: "
|
305
|
+
range: "fcrepo4:Version".freeze,
|
306
306
|
type: "owl:ObjectProperty".freeze
|
307
307
|
property :primaryType,
|
308
308
|
label: "primaryType".freeze,
|
@@ -509,9 +509,9 @@ module RDF::Vocab
|
|
509
509
|
type: "owl:ObjectProperty".freeze
|
510
510
|
property :status,
|
511
511
|
comment: %(Describes the status of a resource, such as active or deleted.).freeze,
|
512
|
-
domain: "
|
512
|
+
domain: "fcrepo4:Resource".freeze,
|
513
513
|
label: "status".freeze,
|
514
|
-
range: "
|
514
|
+
range: "fcrepo4:ResourceStatus".freeze,
|
515
515
|
type: "owl:ObjectProperty".freeze
|
516
516
|
property :uuid,
|
517
517
|
label: "uuid".freeze,
|
@@ -530,10 +530,10 @@ module RDF::Vocab
|
|
530
530
|
term :active,
|
531
531
|
comment: %(The resource is active.).freeze,
|
532
532
|
label: "active".freeze,
|
533
|
-
type: ["owl:NamedIndividual".freeze, "
|
533
|
+
type: ["owl:NamedIndividual".freeze, "fcrepo4:ResourceStatus".freeze]
|
534
534
|
term :deleted,
|
535
535
|
comment: %(The resource has been marked for deletion.).freeze,
|
536
536
|
label: "deleted".freeze,
|
537
|
-
type: ["owl:NamedIndividual".freeze, "
|
537
|
+
type: ["owl:NamedIndividual".freeze, "fcrepo4:ResourceStatus".freeze]
|
538
538
|
end
|
539
539
|
end
|