rdf-vocab 0.8.8 → 2.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rdf/vocab.rb +160 -61
  3. data/lib/rdf/vocab/acl.rb +6 -1
  4. data/lib/rdf/vocab/bibframe.rb +83 -78
  5. data/lib/rdf/vocab/bibo.rb +255 -248
  6. data/lib/rdf/vocab/cc.rb +132 -0
  7. data/lib/rdf/vocab/cert.rb +249 -0
  8. data/lib/rdf/vocab/cnt.rb +23 -18
  9. data/lib/rdf/vocab/crm.rb +12 -7
  10. data/lib/rdf/vocab/datacite.rb +88 -83
  11. data/lib/rdf/vocab/dc.rb +952 -0
  12. data/lib/rdf/vocab/dc11.rb +171 -0
  13. data/lib/rdf/vocab/dcat.rb +218 -0
  14. data/lib/rdf/vocab/dcmitype.rb +80 -75
  15. data/lib/rdf/vocab/doap.rb +341 -0
  16. data/lib/rdf/vocab/dwc.rb +1651 -1646
  17. data/lib/rdf/vocab/ebucore.rb +122 -117
  18. data/lib/rdf/vocab/edm.rb +102 -97
  19. data/lib/rdf/vocab/exif.rb +945 -0
  20. data/lib/rdf/vocab/extensions.rb +1 -0
  21. data/lib/rdf/vocab/fcrepo4.rb +62 -57
  22. data/lib/rdf/vocab/foaf.rb +618 -0
  23. data/lib/rdf/vocab/geo.rb +161 -0
  24. data/lib/rdf/vocab/geonames.rb +2742 -2737
  25. data/lib/rdf/vocab/gr.rb +1505 -0
  26. data/lib/rdf/vocab/ht.rb +240 -0
  27. data/lib/rdf/vocab/hydra.rb +96 -91
  28. data/lib/rdf/vocab/iana.rb +5 -0
  29. data/lib/rdf/vocab/ical.rb +532 -0
  30. data/lib/rdf/vocab/identifiers.rb +203 -182
  31. data/lib/rdf/vocab/iiif.rb +51 -26
  32. data/lib/rdf/vocab/jsonld.rb +15 -10
  33. data/lib/rdf/vocab/ldp.rb +66 -61
  34. data/lib/rdf/vocab/lrmi.rb +68 -63
  35. data/lib/rdf/vocab/ma.rb +517 -0
  36. data/lib/rdf/vocab/mads.rb +448 -206
  37. data/lib/rdf/vocab/marc_relators.rb +1240 -1235
  38. data/lib/rdf/vocab/mo.rb +2416 -0
  39. data/lib/rdf/vocab/mods.rb +17 -12
  40. data/lib/rdf/vocab/nfo.rb +65 -60
  41. data/lib/rdf/vocab/oa.rb +91 -86
  42. data/lib/rdf/vocab/og.rb +226 -0
  43. data/lib/rdf/vocab/ogc.rb +62 -0
  44. data/lib/rdf/vocab/ore.rb +24 -19
  45. data/lib/rdf/vocab/org.rb +83 -78
  46. data/lib/rdf/vocab/pplan.rb +54 -49
  47. data/lib/rdf/vocab/premis.rb +470 -465
  48. data/lib/rdf/vocab/premis_event_type.rb +85 -80
  49. data/lib/rdf/vocab/prov.rb +1554 -0
  50. data/lib/rdf/vocab/ptr.rb +5 -0
  51. data/lib/rdf/vocab/rsa.rb +76 -0
  52. data/lib/rdf/vocab/rss.rb +70 -0
  53. data/lib/rdf/vocab/schema.rb +10765 -0
  54. data/lib/rdf/vocab/sioc.rb +673 -0
  55. data/lib/rdf/vocab/sioc_services.rb +27 -22
  56. data/lib/rdf/vocab/skos.rb +242 -0
  57. data/lib/rdf/vocab/skosxl.rb +61 -0
  58. data/lib/rdf/vocab/v.rb +387 -0
  59. data/lib/rdf/vocab/vcard.rb +845 -0
  60. data/lib/rdf/vocab/version.rb +1 -0
  61. data/lib/rdf/vocab/vmd.rb +387 -0
  62. data/lib/rdf/vocab/void.rb +190 -0
  63. data/lib/rdf/vocab/vs.rb +32 -0
  64. data/lib/rdf/vocab/wdrs.rb +138 -0
  65. data/lib/rdf/vocab/wot.rb +171 -0
  66. data/lib/rdf/vocab/xhtml.rb +12 -0
  67. data/lib/rdf/vocab/xhv.rb +509 -0
  68. data/spec/spec_helper.rb +1 -0
  69. data/spec/vocab_spec.rb +1 -0
  70. metadata +76 -33
  71. data/lib/rdf/vocab/disco.rb +0 -369
data/lib/rdf/vocab/oa.rb CHANGED
@@ -1,7 +1,12 @@
1
1
  # -*- encoding: utf-8 -*-
2
+ # frozen_string_literal: true
2
3
  # This file generated automatically using vocab-fetch from http://www.openannotation.org/spec/core/20130208/oa.owl
3
4
  require 'rdf'
4
5
  module RDF::Vocab
6
+ # @!parse
7
+ # # Vocabulary for <http://www.w3.org/ns/oa#>
8
+ # class OA < RDF::StrictVocabulary
9
+ # end
5
10
  class OA < RDF::StrictVocabulary("http://www.w3.org/ns/oa#")
6
11
 
7
12
  # Class definitions
@@ -10,7 +15,7 @@ module RDF::Vocab
10
15
 
11
16
  This "aboutness" may be further clarified or extended to notions such as classifying or identifying with oa:motivatedBy.).freeze,
12
17
  label: "Annotation".freeze,
13
- "rdfs:isDefinedBy" => %(oa:).freeze,
18
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
14
19
  type: "owl:Class".freeze
15
20
  term :Choice,
16
21
  comment: %(A multiplicity construct that conveys to a consuming application that it should select one of the constituent resources to display to the user, and not render/use all of them.
@@ -21,7 +26,7 @@ There MUST be 1 or more oa:item relationships for each oa:Choice.
21
26
 
22
27
  There SHOULD be exactly 1 default relationship for each Choice.).freeze,
23
28
  label: "Choice".freeze,
24
- "rdfs:isDefinedBy" => %(oa:).freeze,
29
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
25
30
  subClassOf: "rdf:Alt".freeze,
26
31
  type: "owl:Class".freeze
27
32
  term :Composite,
@@ -31,7 +36,7 @@ oa:Composite can be used as the object of the object of the oa:hasBody, oa:hasTa
31
36
 
32
37
  There MUST be 2 or more oa:item relationships for each oa:Composite.).freeze,
33
38
  label: "Composite".freeze,
34
- "rdfs:isDefinedBy" => %(oa:).freeze,
39
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
35
40
  subClassOf: "rdf:Bag".freeze,
36
41
  type: "owl:Class".freeze
37
42
  term :CssStyle,
@@ -41,7 +46,7 @@ Specific Resources MAY be assigned a CSS style class using oa:styleClass.
41
46
 
42
47
  The CSS resource MAY have its own dereferencable URI that provides the information. For example, "Style1" in the diagram below might actually have the URI "http://www.example.com/styles/annotations.css". It MAY be embedded within the Annotation using the inline constructions described in Embedding Resources.).freeze,
43
48
  label: "CssStyle".freeze,
44
- "rdfs:isDefinedBy" => %(oa:).freeze,
49
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
45
50
  subClassOf: "oa:Style".freeze,
46
51
  type: "owl:Class".freeze
47
52
  term :DataPositionSelector,
@@ -53,7 +58,7 @@ Each TextPositionSelector MUST have exactly 1 oa:end property.
53
58
 
54
59
  See oa:TextPositionSelector for selection at normalized character level rather than bytestream level.).freeze,
55
60
  label: "DataPositionSelector".freeze,
56
- "rdfs:isDefinedBy" => %(oa:).freeze,
61
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
57
62
  subClassOf: "oa:Selector".freeze,
58
63
  type: "owl:Class".freeze
59
64
  term :FragmentSelector,
@@ -65,7 +70,7 @@ The oa:FragmentSelector MUST have exactly 1 rdf:value property, containing the f
65
70
 
66
71
  The Fragment Selector SHOULD have a dcterms:conformsTo relationship with the object being the specification that defines the syntax of the fragment, for instance <http://tools.ietf.org/rfc/rfc3236> for HTML fragments. ).freeze,
67
72
  label: "FragmentSelector".freeze,
68
- "rdfs:isDefinedBy" => %(oa:).freeze,
73
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
69
74
  subClassOf: "oa:Selector".freeze,
70
75
  type: "owl:Class".freeze
71
76
  term :HttpRequestState,
@@ -73,7 +78,7 @@ The Fragment Selector SHOULD have a dcterms:conformsTo relationship with the obj
73
78
 
74
79
  There MUST be exactly 1 rdf:value property per HttpRequestState, containing HTTP request headers as a single, complete string, exactly as they would appear in an HTTP request. ).freeze,
75
80
  label: "HttpRequestState".freeze,
76
- "rdfs:isDefinedBy" => %(oa:).freeze,
81
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
77
82
  subClassOf: "oa:State".freeze,
78
83
  type: "owl:Class".freeze
79
84
  term :List,
@@ -85,7 +90,7 @@ There MUST be 2 or more oa:item relationships for each oa:List, with their order
85
90
 
86
91
  All the elements of the list should also be declared using oa:item, and each of the oa:items should appear at least once in the list.).freeze,
87
92
  label: "List".freeze,
88
- "rdfs:isDefinedBy" => %(oa:).freeze,
93
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
89
94
  subClassOf: "oa:Composite".freeze,
90
95
  type: "owl:Class".freeze
91
96
  term :Motivation,
@@ -93,7 +98,7 @@ All the elements of the list should also be declared using oa:item, and each of
93
98
 
94
99
  Each Annotation SHOULD have at least one oa:motivatedBy relationship to an instance of oa:Motivation, which is a subClass of skos:Concept.).freeze,
95
100
  label: "Motivation".freeze,
96
- "rdfs:isDefinedBy" => %(oa:).freeze,
101
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
97
102
  subClassOf: "skos:Concept".freeze,
98
103
  type: "owl:Class".freeze
99
104
  term :Selector,
@@ -105,14 +110,14 @@ The nature of the Selector will be dependent on the type of the representation f
105
110
 
106
111
  The Specifier's description MAY be conveyed as an external or embedded resource \(cnt:Content\), or as RDF properties within the graph. The description SHOULD use existing standards whenever possible. If the Specifier has an HTTP URI, then its description, and only its description, MUST be returned when the URI is dereferenced.).freeze,
107
112
  label: "Selector".freeze,
108
- "rdfs:isDefinedBy" => %(oa:).freeze,
113
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
109
114
  type: "owl:Class".freeze
110
115
  term :SemanticTag,
111
116
  comment: %(A class assigned to the Body when it is a semantic tagging resource; a URI that identifies a concept, rather than an embedded string, frequently a term from a controlled vocabulary.
112
117
 
113
118
  It is NOT RECOMMENDED to use the URI of a document as a Semantic Tag, as it might also be used as a regular Body in other Annotations which would inherit the oa:SemanticTag class assignment. Instead it is more appropriate to create a new URI and link it to the document, using the foaf:page predicate.).freeze,
114
119
  label: "SemanticTag".freeze,
115
- "rdfs:isDefinedBy" => %(oa:).freeze,
120
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
116
121
  subClassOf: "oa:Tag".freeze,
117
122
  type: "owl:Class".freeze
118
123
  term :SpecificResource,
@@ -128,7 +133,7 @@ There MAY be 0 or 1 oa:hasState relationship for each Specific Resource.
128
133
 
129
134
  If the Specific Resource has an HTTP URI, then the exact segment of the Source resource that it identifies, and only the segment, MUST be returned when the URI is dereferenced. For example, if the segment of interest is a region of an image and the Specific Resource has an HTTP URI, then dereferencing it MUST return the selected region of the image as it was at the time when the annotation was created. Typically this would be a burden to support, and thus the Specific Resource SHOULD be identified by a globally unique URI, such as a UUID URN. If it is not considered important to allow other Annotations or systems to refer to the Specific Resource, then a blank node MAY be used instead.).freeze,
130
135
  label: "SpecificResource".freeze,
131
- "rdfs:isDefinedBy" => %(oa:).freeze,
136
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
132
137
  type: "owl:Class".freeze
133
138
  term :State,
134
139
  comment: %(A resource which describes how to retrieve an appropriate representation of the Source resource, indicated with oa:hasState from the Specific Resource.
@@ -137,7 +142,7 @@ This class is not used directly in Annotations, only its subclasses are.
137
142
 
138
143
  The Specifier's description MAY be conveyed as an external or embedded resource \(cnt:Content\), or as RDF properties within the graph. The description SHOULD use existing standards whenever possible. If the Specifier has an HTTP URI, then its description, and only its description, MUST be returned when the URI is dereferenced.).freeze,
139
144
  label: "State".freeze,
140
- "rdfs:isDefinedBy" => %(oa:).freeze,
145
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
141
146
  type: "owl:Class".freeze
142
147
  term :Style,
143
148
  comment: %(A resource which describes the style in which the selection or resource should be rendered, indicated with oa:styledBy from an oa:Annotation.
@@ -148,7 +153,7 @@ The content of the resource provides the rendering hints about the Annotation's
148
153
 
149
154
  The Specifier's description MAY be conveyed as an external or embedded resource \(cnt:Content\), or as RDF properties within the graph. The description SHOULD use existing standards whenever possible. If the Specifier has an HTTP URI, then its description, and only its description, MUST be returned when the URI is dereferenced.).freeze,
150
155
  label: "Style".freeze,
151
- "rdfs:isDefinedBy" => %(oa:).freeze,
156
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
152
157
  type: "owl:Class".freeze
153
158
  term :SvgSelector,
154
159
  comment: %(A Selector which selects an area specified as an SVG shape.
@@ -161,7 +166,7 @@ The dimensions of both the shape and the SVG canvas MUST be relative to the dime
161
166
 
162
167
  It is NOT RECOMMENDED to include style information within the SVG element, nor Javascript, animation, text or other non shape oriented information. Clients SHOULD ignore such information if present.).freeze,
163
168
  label: "SvgSelector".freeze,
164
- "rdfs:isDefinedBy" => %(oa:).freeze,
169
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
165
170
  subClassOf: "oa:Selector".freeze,
166
171
  type: "owl:Class".freeze
167
172
  term :Tag,
@@ -171,7 +176,7 @@ Tags are typically keywords or labels, and used for organization, description or
171
176
 
172
177
  Annotations that tag resources, either with text or semantic tags, SHOULD also have the oa:tagging motivation to make the reason for the Annotation more clear to applications, and MAY have other motivations as well.).freeze,
173
178
  label: "Tag".freeze,
174
- "rdfs:isDefinedBy" => %(oa:).freeze,
179
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
175
180
  type: "owl:Class".freeze
176
181
  term :TextPositionSelector,
177
182
  comment: %(An oa:Selector which describes a range of text based on its start and end positions.
@@ -182,7 +187,7 @@ Each oa:TextPositionSelector MUST have exactly 1 oa:start property.
182
187
 
183
188
  Each oa:TextPositionSelector MUST have exactly 1 oa:end property.).freeze,
184
189
  label: "TextPositionSelector".freeze,
185
- "rdfs:isDefinedBy" => %(oa:).freeze,
190
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
186
191
  subClassOf: "oa:Selector".freeze,
187
192
  type: "owl:Class".freeze
188
193
  term :TextQuoteSelector,
@@ -198,7 +203,7 @@ Each TextQuoteSelector SHOULD have exactly 1 oa:prefix property, and MUST NOT ha
198
203
 
199
204
  Each TextQuoteSelector SHOULD have exactly 1 oa:suffix property, and MUST NOT have more than 1.).freeze,
200
205
  label: "TextQuoteSelector".freeze,
201
- "rdfs:isDefinedBy" => %(oa:).freeze,
206
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
202
207
  subClassOf: "oa:Selector".freeze,
203
208
  type: "owl:Class".freeze
204
209
  term :TimeState,
@@ -206,7 +211,7 @@ Each TextQuoteSelector SHOULD have exactly 1 oa:suffix property, and MUST NOT ha
206
211
 
207
212
  There MUST be at least one of oa:cachedSource or oa:when specified. If there is more than 1, each gives an alternative copy of the representation.).freeze,
208
213
  label: "TimeState".freeze,
209
- "rdfs:isDefinedBy" => %(oa:).freeze,
214
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
210
215
  subClassOf: "oa:State".freeze,
211
216
  type: "owl:Class".freeze
212
217
 
@@ -218,7 +223,7 @@ There SHOULD be exactly 1 oa:annotatedAt property per Annotation, and MUST NOT b
218
223
  domain: "oa:Annotation".freeze,
219
224
  label: "annotatedAt".freeze,
220
225
  range: "xsd:dateTimeStamp".freeze,
221
- "rdfs:isDefinedBy" => %(oa:).freeze,
226
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
222
227
  type: "owl:DatatypeProperty".freeze
223
228
  property :annotatedBy,
224
229
  comment: %(The object of the relationship is a resource that identifies the agent responsible for creating the Annotation. This may be either a human or software agent.
@@ -228,14 +233,14 @@ There SHOULD be exactly 1 oa:annotatedBy relationship per Annotation, but MAY be
228
233
  It is RECOMMENDED to use these and other FOAF terms to describe agents: foaf:Person, prov:SoftwareAgent, foaf:Organization, foaf:name, foaf:mbox, foaf:openid, foaf:homepage).freeze,
229
234
  domain: "oa:Annotation".freeze,
230
235
  label: "annotatedBy".freeze,
231
- "rdfs:isDefinedBy" => %(oa:).freeze,
236
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
232
237
  subPropertyOf: "prov:wasAttributedTo".freeze,
233
238
  type: "owl:ObjectProperty".freeze
234
239
  property :cachedSource,
235
240
  comment: %(A link to a copy of the Source resource's representation appropriate for the Annotation, typically a copy of the original at the time that the Annotation was created).freeze,
236
241
  domain: "oa:TimeState".freeze,
237
242
  label: "cachedSource".freeze,
238
- "rdfs:isDefinedBy" => %(oa:).freeze,
243
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
239
244
  type: "owl:ObjectProperty".freeze
240
245
  property :default,
241
246
  comment: %(The constituent resource of a oa:Choice to use as a default option, if there is no other means to determine which would be most appropriate.
@@ -243,7 +248,7 @@ It is RECOMMENDED to use these and other FOAF terms to describe agents: foaf:Per
243
248
  There SHOULD be exactly 1 default relationship for each Choice.).freeze,
244
249
  domain: "oa:Choice".freeze,
245
250
  label: "default".freeze,
246
- "rdfs:isDefinedBy" => %(oa:).freeze,
251
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
247
252
  subPropertyOf: "oa:item".freeze,
248
253
  type: "owl:ObjectProperty".freeze
249
254
  property :end,
@@ -253,7 +258,7 @@ See oa:DataPositionSelector and oa:oa:TextPositionSelector.).freeze,
253
258
  domain: "oa:Selector".freeze,
254
259
  label: "end".freeze,
255
260
  range: "xsd:nonNegativeInteger".freeze,
256
- "rdfs:isDefinedBy" => %(oa:).freeze,
261
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
257
262
  type: "owl:DatatypeProperty".freeze
258
263
  property :equivalentTo,
259
264
  comment: %(The subject and object resources of the oa:equivalentTo relationship represent the same resource, but potentially have different metadata such as oa:serializedBy, oa:serializedAt and serialization format. oa:equivalentTo is a symmetrical and transitive relationship; if A oa:equivalentTo B, then it is also true that B oa:equivalent A; and that if B oa:equivalentTo C, then it is also true that A oa:equivalentTo C.
@@ -262,7 +267,7 @@ The Annotation MAY include 0 or more instances of the oa:equivalentTo relationsh
262
267
 
263
268
  If a system publishes an embedded resource \(a cnt:Content\) at a new HTTP URI, then it SHOULD express the oa:equivalentTo relationship between the resource's URN and the new URI from which it is available.).freeze,
264
269
  label: "equivalentTo".freeze,
265
- "rdfs:isDefinedBy" => %(oa:).freeze,
270
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
266
271
  subPropertyOf: "prov:alternateOf".freeze,
267
272
  type: "owl:ObjectProperty".freeze
268
273
  property :exact,
@@ -271,7 +276,7 @@ If a system publishes an embedded resource \(a cnt:Content\) at a new HTTP URI,
271
276
  See oa:TextQuoteSelector.).freeze,
272
277
  domain: "oa:Selector".freeze,
273
278
  label: "exact".freeze,
274
- "rdfs:isDefinedBy" => %(oa:).freeze,
279
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
275
280
  type: "owl:DatatypeProperty".freeze
276
281
  property :hasBody,
277
282
  comment: %(The relationship between oa:Annotation and body. The body is somehow "about" the oa:hasTarget of the annotation.
@@ -284,7 +289,7 @@ There is no OA class provided for "Body" as a body might be a target of a differ
284
289
  ).freeze,
285
290
  domain: "oa:Annotation".freeze,
286
291
  label: "hasBody".freeze,
287
- "rdfs:isDefinedBy" => %(oa:).freeze,
292
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
288
293
  type: "owl:ObjectProperty".freeze
289
294
  property :hasScope,
290
295
  comment: %(The relationship between a Specific Resource and the resource that provides the scope or context for it in this Annotation.
@@ -292,7 +297,7 @@ There is no OA class provided for "Body" as a body might be a target of a differ
292
297
  There MAY be 0 or more hasScope relationships for each Specific Resource.).freeze,
293
298
  domain: "oa:SpecificResource".freeze,
294
299
  label: "hasScope".freeze,
295
- "rdfs:isDefinedBy" => %(oa:).freeze,
300
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
296
301
  type: "owl:ObjectProperty".freeze
297
302
  property :hasSelector,
298
303
  comment: %(The relationship between a oa:SpecificResource and a oa:Selector.
@@ -304,7 +309,7 @@ If multiple Selectors are required, either to express a choice between different
304
309
  domain: "oa:SpecificResource".freeze,
305
310
  label: "hasSelector".freeze,
306
311
  range: "oa:Selector".freeze,
307
- "rdfs:isDefinedBy" => %(oa:).freeze,
312
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
308
313
  type: "owl:ObjectProperty".freeze
309
314
  property :hasSource,
310
315
  comment: %(The relationship between a oa:SpecificResource and the resource that it is a more specific representation of.
@@ -312,7 +317,7 @@ If multiple Selectors are required, either to express a choice between different
312
317
  There MUST be exactly 1 oa:hasSource relationship associated with a Specific Resource.).freeze,
313
318
  domain: "oa:SpecificResource".freeze,
314
319
  label: "hasSource".freeze,
315
- "rdfs:isDefinedBy" => %(oa:).freeze,
320
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
316
321
  type: "owl:ObjectProperty".freeze
317
322
  property :hasState,
318
323
  comment: %(The relationship between a oa:SpecificResource and a oa:State resource.
@@ -323,7 +328,7 @@ If there are multiple State resources that must be associated with the specific
323
328
  domain: "oa:SpecificResource".freeze,
324
329
  label: "hasState".freeze,
325
330
  range: "oa:State".freeze,
326
- "rdfs:isDefinedBy" => %(oa:).freeze,
331
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
327
332
  type: "owl:ObjectProperty".freeze
328
333
  property :hasTarget,
329
334
  comment: %(The relationship between oa:Annotation and target. The target resource is what the oa:hasBody is somewhat "about".
@@ -335,14 +340,14 @@ Embedded targets SHOULD be instances of cnt:ContentAsText and embed their conten
335
340
  There is no OA class provided for "Target" as a target might be a body in a different annotation. However, there SHOULD be 1 or more content-based classes associated with the target resources of an Annotation, and the dctypes: vocabulary is recommended for this purpose, for instance dctypes:Text to declare textual content.).freeze,
336
341
  domain: "oa:Annotation".freeze,
337
342
  label: "hasTarget".freeze,
338
- "rdfs:isDefinedBy" => %(oa:).freeze,
343
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
339
344
  type: "owl:ObjectProperty".freeze
340
345
  property :item,
341
346
  comment: %(The relationship between a multiplicity construct node and its constituent resources.
342
347
 
343
348
  There MUST be 1 or more item relationships for each multiplicity construct oa:Choice, oa:Composite and oa:List.).freeze,
344
349
  label: "item".freeze,
345
- "rdfs:isDefinedBy" => %(oa:).freeze,
350
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
346
351
  subPropertyOf: "rdfs:member".freeze,
347
352
  type: "owl:ObjectProperty".freeze
348
353
  property :motivatedBy,
@@ -352,7 +357,7 @@ Each Annotation SHOULD have at least one oa:motivatedBy relationship, and MAY be
352
357
  domain: "oa:Annotation".freeze,
353
358
  label: "motivatedBy".freeze,
354
359
  range: "oa:Motivation".freeze,
355
- "rdfs:isDefinedBy" => %(oa:).freeze,
360
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
356
361
  type: "owl:ObjectProperty".freeze
357
362
  property :prefix,
358
363
  comment: %(A snippet of text that occurs immediately before the text which is being selected.
@@ -360,7 +365,7 @@ Each Annotation SHOULD have at least one oa:motivatedBy relationship, and MAY be
360
365
  See oa:TextQuoteSelector.).freeze,
361
366
  domain: "oa:Selector".freeze,
362
367
  label: "prefix".freeze,
363
- "rdfs:isDefinedBy" => %(oa:).freeze,
368
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
364
369
  type: "owl:DatatypeProperty".freeze
365
370
  property :serializedAt,
366
371
  comment: %(The time at which the agent referenced by oa:serializedBy generated the first serialization of the Annotation, and any subsequent substantially different one. The annotation graph MUST have changed for this property to be updated, and as such represents the last modified datestamp for the Annotation. This might be used to determine if it should be re-imported into a triplestore when discovered.
@@ -370,7 +375,7 @@ There MAY be exactly 1 oa:serializedAt property per Annotation, and MUST NOT be
370
375
  domain: "oa:Annotation".freeze,
371
376
  label: "serializedAt".freeze,
372
377
  range: "xsd:dateTimeStamp".freeze,
373
- "rdfs:isDefinedBy" => %(oa:).freeze,
378
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
374
379
  type: "owl:DatatypeProperty".freeze
375
380
  property :serializedBy,
376
381
  comment: %(The object of the relationship is the agent, likely software, responsible for generating the serialization of the Annotation's serialization.
@@ -380,7 +385,7 @@ It is RECOMMENDED to use these and other FOAF terms to describe agents: foaf:Per
380
385
  There MAY be 0 or more oa:serializedBy relationships per Annotation.).freeze,
381
386
  domain: "oa:Annotation".freeze,
382
387
  label: "serializedBy".freeze,
383
- "rdfs:isDefinedBy" => %(oa:).freeze,
388
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
384
389
  subPropertyOf: "prov:wasAttributedTo".freeze,
385
390
  type: "owl:ObjectProperty".freeze
386
391
  property :start,
@@ -390,7 +395,7 @@ See oa:DataPositionSelector and oa:TextPositionSelector.).freeze,
390
395
  domain: "oa:Selector".freeze,
391
396
  label: "start".freeze,
392
397
  range: "xsd:nonNegativeInteger".freeze,
393
- "rdfs:isDefinedBy" => %(oa:).freeze,
398
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
394
399
  type: "owl:DatatypeProperty".freeze
395
400
  property :styleClass,
396
401
  comment: %(The string name of the class used in the CSS description that should be applied to the Specific Resource.
@@ -400,7 +405,7 @@ There MAY be 0 or more styleClass properties on a Specific Resource.
400
405
  See oa:CssStyle.).freeze,
401
406
  domain: "oa:SpecificResource".freeze,
402
407
  label: "annotatedAt".freeze,
403
- "rdfs:isDefinedBy" => %(oa:).freeze,
408
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
404
409
  type: "owl:DatatypeProperty".freeze
405
410
  property :styledBy,
406
411
  comment: %(The relationship between a oa:Annotation and a oa:Style.
@@ -411,7 +416,7 @@ If there are multiple Style resources that must be associated with the Annotatio
411
416
  domain: "oa:Annotation".freeze,
412
417
  label: "styledBy".freeze,
413
418
  range: "oa:Style".freeze,
414
- "rdfs:isDefinedBy" => %(oa:).freeze,
419
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
415
420
  type: "owl:ObjectProperty".freeze
416
421
  property :suffix,
417
422
  comment: %(The snippet of text that occurs immediately after the text which is being selected.
@@ -419,14 +424,14 @@ If there are multiple Style resources that must be associated with the Annotatio
419
424
  See oa:TextQuoteSelector.).freeze,
420
425
  domain: "oa:Selector".freeze,
421
426
  label: "suffix".freeze,
422
- "rdfs:isDefinedBy" => %(oa:).freeze,
427
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
423
428
  type: "owl:DatatypeProperty".freeze
424
429
  property :when,
425
430
  comment: %(The timestamp at which the Source resource should be interpreted for the Annotation, typically the time that the Annotation was created.).freeze,
426
431
  domain: "oa:TimeState".freeze,
427
432
  label: "when".freeze,
428
433
  range: "xsd:dateTimeStamp".freeze,
429
- "rdfs:isDefinedBy" => %(oa:).freeze,
434
+ :"rdfs:isDefinedBy" => %(oa:).freeze,
430
435
  type: "owl:DatatypeProperty".freeze
431
436
 
432
437
  # Extra definitions
@@ -436,72 +441,72 @@ See oa:TextQuoteSelector.).freeze,
436
441
  This ontology is a non-normative OWL formalization of the textual OA specification at http://www.openannotation.org/spec/core/20130208/index.html
437
442
 
438
443
  Note that OWL imports are disabled in the published version in order to reduce external implications, improve OWL 2 Profile conformity and increase interoperability. Some OWL tools might thus misleadingly show this ontology as \(re\)defining properties like skos:prefLabel.).freeze,
439
- "dc11:contributor" => %(Stian Soiland-Reyes).freeze,
440
- "dc11:creator" => %(Robert Sanderson).freeze,
441
- "dc11:description" => %(The Open Annotation Core Data Model specifies an interoperable framework for creating associations between related resources, annotations, using a methodology that conforms to the Architecture of the World Wide Web. Open Annotations can easily be shared between platforms, with sufficient richness of expression to satisfy complex requirements while remaining simple enough to also allow for the most common use cases, such as attaching a piece of text to a single web resource.
444
+ :"dc11:contributor" => %(Stian Soiland-Reyes).freeze,
445
+ :"dc11:creator" => %(Robert Sanderson).freeze,
446
+ :"dc11:description" => %(The Open Annotation Core Data Model specifies an interoperable framework for creating associations between related resources, annotations, using a methodology that conforms to the Architecture of the World Wide Web. Open Annotations can easily be shared between platforms, with sufficient richness of expression to satisfy complex requirements while remaining simple enough to also allow for the most common use cases, such as attaching a piece of text to a single web resource.
442
447
 
443
448
  An Annotation is considered to be a set of connected resources, typically including a body and target, where the body is somehow about the target. The full model supports additional functionality, enabling semantic annotations, embedding content, selecting segments of resources, choosing the appropriate representation of a resource and providing styling hints for consuming clients.).freeze,
444
- "dc11:title" => %(Open Annotation Data Model).freeze,
445
- "dc:modified" => %(2013-02-22T21:40:51+01:00).freeze,
449
+ :"dc11:title" => %(Open Annotation Data Model).freeze,
450
+ :"dc:modified" => %(2013-02-22T21:40:51+01:00).freeze,
446
451
  label: "".freeze,
447
- "owl:versionIRI" => %(http://www.openannotation.org/spec/core/20130208/oa.owl).freeze,
448
- "owl:versionInfo" => %(0.9.20130208).freeze,
449
- "rdfs:seeAlso" => %(http://www.openannotation.org/spec/core/20130208/index.html).freeze,
452
+ :"owl:versionIRI" => %(http://www.openannotation.org/spec/core/20130208/oa.owl).freeze,
453
+ :"owl:versionInfo" => %(0.9.20130208).freeze,
454
+ :"rdfs:seeAlso" => %(http://www.openannotation.org/spec/core/20130208/index.html).freeze,
450
455
  type: "owl:Ontology".freeze
451
456
  term :bookmarking,
452
457
  comment: %(The motivation that represents the creation of a bookmark to the target resources or recorded point or points within one or more resources. For example, an Annotation that bookmarks the point in a text where the reader finished reading. Bookmark Annotations may or may not have a Body resource.).freeze,
453
458
  label: "bookmarking".freeze,
454
- "skos:inScheme" => %(oa:motivationScheme).freeze,
455
- "skos:prefLabel" => %(bookmarking).freeze,
456
- type: ["owl:NamedIndividual".freeze, "oa:Motivation".freeze]
459
+ :"skos:inScheme" => %(oa:motivationScheme).freeze,
460
+ :"skos:prefLabel" => %(bookmarking).freeze,
461
+ type: ["oa:Motivation".freeze, "owl:NamedIndividual".freeze]
457
462
  term :classifying,
458
463
  comment: %(The motivation that represents the assignment of a classification type, typically from a controlled vocabulary, to the target resource\(s\). For example to classify an Image resource as a Portrait.).freeze,
459
464
  label: "classifying".freeze,
460
- "skos:inScheme" => %(oa:motivationScheme).freeze,
461
- "skos:prefLabel" => %(classifying).freeze,
462
- type: ["owl:NamedIndividual".freeze, "oa:Motivation".freeze]
465
+ :"skos:inScheme" => %(oa:motivationScheme).freeze,
466
+ :"skos:prefLabel" => %(classifying).freeze,
467
+ type: ["oa:Motivation".freeze, "owl:NamedIndividual".freeze]
463
468
  term :commenting,
464
469
  comment: %(The motivation that represents a commentary about or review of the target resource\(s\). For example to provide a commentary about a particular PDF.).freeze,
465
470
  label: "commenting".freeze,
466
- "skos:inScheme" => %(oa:motivationScheme).freeze,
467
- "skos:prefLabel" => %(commenting).freeze,
468
- type: ["owl:NamedIndividual".freeze, "oa:Motivation".freeze]
471
+ :"skos:inScheme" => %(oa:motivationScheme).freeze,
472
+ :"skos:prefLabel" => %(commenting).freeze,
473
+ type: ["oa:Motivation".freeze, "owl:NamedIndividual".freeze]
469
474
  term :describing,
470
475
  comment: %(The motivation that represents a description of the target resource\(s\), as opposed to a comment about them. For example describing the above PDF's contents, rather than commenting on their accuracy.).freeze,
471
476
  label: "describing".freeze,
472
- "skos:inScheme" => %(oa:motivationScheme).freeze,
473
- "skos:prefLabel" => %(describing).freeze,
474
- type: ["owl:NamedIndividual".freeze, "oa:Motivation".freeze]
477
+ :"skos:inScheme" => %(oa:motivationScheme).freeze,
478
+ :"skos:prefLabel" => %(describing).freeze,
479
+ type: ["oa:Motivation".freeze, "owl:NamedIndividual".freeze]
475
480
  term :editing,
476
481
  comment: %(The motivation that represents a request for a modification or edit to the target resource. For example, an Annotation that requests a typo to be corrected.).freeze,
477
482
  label: "editing".freeze,
478
- "skos:inScheme" => %(oa:motivationScheme).freeze,
479
- "skos:prefLabel" => %(editing).freeze,
480
- type: ["owl:NamedIndividual".freeze, "oa:Motivation".freeze]
483
+ :"skos:inScheme" => %(oa:motivationScheme).freeze,
484
+ :"skos:prefLabel" => %(editing).freeze,
485
+ type: ["oa:Motivation".freeze, "owl:NamedIndividual".freeze]
481
486
  term :highlighting,
482
487
  comment: %(The motivation that represents a highlighted section of the target resource or segment. For example to draw attention to the selected text that the annotator disagrees with. A Highlight may or may not have a Body resource).freeze,
483
488
  label: "highlighting".freeze,
484
- "skos:inScheme" => %(oa:motivationScheme).freeze,
485
- "skos:prefLabel" => %(highlighting).freeze,
486
- type: ["owl:NamedIndividual".freeze, "oa:Motivation".freeze]
489
+ :"skos:inScheme" => %(oa:motivationScheme).freeze,
490
+ :"skos:prefLabel" => %(highlighting).freeze,
491
+ type: ["oa:Motivation".freeze, "owl:NamedIndividual".freeze]
487
492
  term :identifying,
488
493
  comment: %(The motivation that represents the assignment of an identity to the target resource\(s\). For example, annotating the name of a city in a string of text with the URI that identifies it.).freeze,
489
494
  label: "identifying".freeze,
490
- "skos:inScheme" => %(oa:motivationScheme).freeze,
491
- "skos:prefLabel" => %(identifying).freeze,
492
- type: ["owl:NamedIndividual".freeze, "oa:Motivation".freeze]
495
+ :"skos:inScheme" => %(oa:motivationScheme).freeze,
496
+ :"skos:prefLabel" => %(identifying).freeze,
497
+ type: ["oa:Motivation".freeze, "owl:NamedIndividual".freeze]
493
498
  term :linking,
494
499
  comment: %(The motivation that represents an untyped link to a resource related to the target.).freeze,
495
500
  label: "linking".freeze,
496
- "skos:inScheme" => %(oa:motivationScheme).freeze,
497
- "skos:prefLabel" => %(linking).freeze,
498
- type: ["owl:NamedIndividual".freeze, "oa:Motivation".freeze]
501
+ :"skos:inScheme" => %(oa:motivationScheme).freeze,
502
+ :"skos:prefLabel" => %(linking).freeze,
503
+ type: ["oa:Motivation".freeze, "owl:NamedIndividual".freeze]
499
504
  term :moderating,
500
505
  comment: %(The motivation that represents an assignment of value or quality to the target resource\(s\). For example annotating an Annotation to moderate it up in a trust network or threaded discussion.).freeze,
501
506
  label: "moderating".freeze,
502
- "skos:inScheme" => %(oa:motivationScheme).freeze,
503
- "skos:prefLabel" => %(moderating).freeze,
504
- type: ["owl:NamedIndividual".freeze, "oa:Motivation".freeze]
507
+ :"skos:inScheme" => %(oa:motivationScheme).freeze,
508
+ :"skos:prefLabel" => %(moderating).freeze,
509
+ type: ["oa:Motivation".freeze, "owl:NamedIndividual".freeze]
505
510
  term :motivationScheme,
506
511
  comment: %(The concept scheme for Open Annotation Motivations).freeze,
507
512
  label: "motivationScheme".freeze,
@@ -509,20 +514,20 @@ An Annotation is considered to be a set of connected resources, typically includ
509
514
  term :questioning,
510
515
  comment: %(The motivation that represents asking a question about the target resource\(s\). For example to ask for assistance with a particular section of text, or question its veracity.).freeze,
511
516
  label: "questioning".freeze,
512
- "skos:inScheme" => %(oa:motivationScheme).freeze,
513
- "skos:prefLabel" => %(questioning).freeze,
514
- type: ["owl:NamedIndividual".freeze, "oa:Motivation".freeze]
517
+ :"skos:inScheme" => %(oa:motivationScheme).freeze,
518
+ :"skos:prefLabel" => %(questioning).freeze,
519
+ type: ["oa:Motivation".freeze, "owl:NamedIndividual".freeze]
515
520
  term :replying,
516
521
  comment: %(The motivation that represents a reply to a previous statement, either an Annotation or another resource. For example providing the assistance requested in the above.).freeze,
517
522
  label: "replying".freeze,
518
- "skos:inScheme" => %(oa:motivationScheme).freeze,
519
- "skos:prefLabel" => %(replying).freeze,
520
- type: ["owl:NamedIndividual".freeze, "oa:Motivation".freeze]
523
+ :"skos:inScheme" => %(oa:motivationScheme).freeze,
524
+ :"skos:prefLabel" => %(replying).freeze,
525
+ type: ["oa:Motivation".freeze, "owl:NamedIndividual".freeze]
521
526
  term :tagging,
522
527
  comment: %(The motivation that represents adding a Tag on the target resource\(s\). One or more of the bodies of the annotation should be typed as a oa:Tag or oa:SemanticTag.).freeze,
523
528
  label: "tagging".freeze,
524
- "skos:inScheme" => %(oa:motivationScheme).freeze,
525
- "skos:prefLabel" => %(tagging).freeze,
526
- type: ["owl:NamedIndividual".freeze, "oa:Motivation".freeze]
529
+ :"skos:inScheme" => %(oa:motivationScheme).freeze,
530
+ :"skos:prefLabel" => %(tagging).freeze,
531
+ type: ["oa:Motivation".freeze, "owl:NamedIndividual".freeze]
527
532
  end
528
533
  end