rdf-vocab 3.1.4 → 3.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +69 -45
  4. data/VERSION +1 -1
  5. data/lib/rdf/vocab.rb +14 -28
  6. data/lib/rdf/vocab/acl.rb +84 -1
  7. data/lib/rdf/vocab/as.rb +466 -1
  8. data/lib/rdf/vocab/bf2.rb +1317 -1
  9. data/lib/rdf/vocab/bibframe.rb +1 -2
  10. data/lib/rdf/vocab/bibo.rb +496 -1
  11. data/lib/rdf/vocab/cc.rb +107 -1
  12. data/lib/rdf/vocab/cert.rb +68 -1
  13. data/lib/rdf/vocab/cnt.rb +79 -1
  14. data/lib/rdf/vocab/crm.rb +1303 -1
  15. data/lib/rdf/vocab/datacite.rb +1 -1
  16. data/lib/rdf/vocab/dbo.rb +10463 -1
  17. data/lib/rdf/vocab/dc.rb +1 -1
  18. data/lib/rdf/vocab/dc11.rb +63 -1
  19. data/lib/rdf/vocab/dcat.rb +152 -4
  20. data/lib/rdf/vocab/dcmitype.rb +1 -1
  21. data/lib/rdf/vocab/disco.rb +228 -1
  22. data/lib/rdf/vocab/doap.rb +175 -1
  23. data/lib/rdf/vocab/dwc.rb +753 -1
  24. data/lib/rdf/vocab/earl.rb +135 -1
  25. data/lib/rdf/vocab/ebucore.rb +7335 -1974
  26. data/lib/rdf/vocab/edm.rb +150 -1
  27. data/lib/rdf/vocab/exif.rb +650 -1
  28. data/lib/rdf/vocab/extensions.rb +253 -203
  29. data/lib/rdf/vocab/fcrepo4.rb +377 -1
  30. data/lib/rdf/vocab/foaf.rb +305 -1
  31. data/lib/rdf/vocab/geo.rb +39 -1
  32. data/lib/rdf/vocab/geojson.rb +66 -1
  33. data/lib/rdf/vocab/geonames.rb +166 -1
  34. data/lib/rdf/vocab/gr.rb +684 -1
  35. data/lib/rdf/vocab/gs1.rb +1597 -1
  36. data/lib/rdf/vocab/ht.rb +164 -1
  37. data/lib/rdf/vocab/hydra.rb +236 -2
  38. data/lib/rdf/vocab/iana.rb +230 -1
  39. data/lib/rdf/vocab/ical.rb +462 -1
  40. data/lib/rdf/vocab/identifiers.rb +462 -1
  41. data/lib/rdf/vocab/iiif.rb +136 -1
  42. data/lib/rdf/vocab/jsonld.rb +135 -1
  43. data/lib/rdf/vocab/ldp.rb +130 -1
  44. data/lib/rdf/vocab/lrmi.rb +1 -1
  45. data/lib/rdf/vocab/ma.rb +381 -1
  46. data/lib/rdf/vocab/mads.rb +600 -22
  47. data/lib/rdf/vocab/{marc_relators.rb → marcrelators.rb} +809 -1
  48. data/lib/rdf/vocab/mo.rb +919 -1
  49. data/lib/rdf/vocab/mods.rb +516 -1
  50. data/lib/rdf/vocab/nfo.rb +1 -1
  51. data/lib/rdf/vocab/oa.rb +275 -1
  52. data/lib/rdf/vocab/og.rb +78 -1
  53. data/lib/rdf/vocab/ogc.rb +34 -1
  54. data/lib/rdf/vocab/ore.rb +56 -1
  55. data/lib/rdf/vocab/org.rb +189 -1
  56. data/lib/rdf/vocab/pcdm.rb +47 -1
  57. data/lib/rdf/vocab/pplan.rb +64 -1
  58. data/lib/rdf/vocab/premis.rb +1266 -779
  59. data/lib/rdf/vocab/{premis_event_type.rb → premiseventtype.rb} +155 -1
  60. data/lib/rdf/vocab/prov.rb +619 -1
  61. data/lib/rdf/vocab/ptr.rb +138 -1
  62. data/lib/rdf/vocab/rightsstatements.rb +5 -1
  63. data/lib/rdf/vocab/rsa.rb +30 -1
  64. data/lib/rdf/vocab/rss.rb +1 -1
  65. data/lib/rdf/vocab/schema.rb +10032 -12
  66. data/lib/rdf/vocab/sd.rb +372 -0
  67. data/lib/rdf/vocab/sh.rb +736 -1
  68. data/lib/rdf/vocab/sioc.rb +401 -1
  69. data/lib/rdf/vocab/{sioc_services.rb → siocservices.rb} +38 -1
  70. data/lib/rdf/vocab/{sioct.rb → sioctypes.rb} +158 -1
  71. data/lib/rdf/vocab/skos.rb +119 -1
  72. data/lib/rdf/vocab/skosxl.rb +30 -1
  73. data/lib/rdf/vocab/v.rb +291 -1
  74. data/lib/rdf/vocab/vcard.rb +508 -1
  75. data/lib/rdf/vocab/vmd.rb +291 -1
  76. data/lib/rdf/vocab/void.rb +121 -1
  77. data/lib/rdf/vocab/vs.rb +19 -1
  78. data/lib/rdf/vocab/wdrs.rb +90 -1
  79. data/lib/rdf/vocab/wot.rb +78 -1
  80. data/lib/rdf/vocab/xhtml.rb +2 -1
  81. data/lib/rdf/vocab/xhv.rb +338 -1
  82. data/lib/rdf/vocab/xkos.rb +150 -1
  83. data/spec/extensions_spec.rb +68 -0
  84. data/spec/vocab_spec.rb +10 -0
  85. metadata +15 -8
@@ -7,7 +7,7 @@ module RDF::Vocab
7
7
  # # Vocabulary for <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#>
8
8
  # class NFO < RDF::StrictVocabulary
9
9
  # end
10
- class NFO < RDF::StrictVocabulary("http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#")
10
+ NFO = Class.new(RDF::StrictVocabulary("http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#")) do
11
11
 
12
12
  # Class definitions
13
13
  term :Application,
@@ -5,9 +5,283 @@ require 'rdf'
5
5
  module RDF::Vocab
6
6
  # @!parse
7
7
  # # Vocabulary for <http://www.w3.org/ns/oa#>
8
+ # #
9
+ # # Web Annotation Ontology
10
+ # #
11
+ # # The Web Annotation ontology defines the terms of the Web Annotation vocabulary. Any changes to this document MUST be from a Working Group in the W3C that has established expertise in the area.
12
+ # # @version 2016-11-12T21:28:11Z
13
+ # # @see http://www.w3.org/TR/annotation-vocab/
8
14
  # class OA < RDF::StrictVocabulary
15
+ # # The class for Web Annotations.
16
+ # # @return [RDF::Vocabulary::Term]
17
+ # attr_reader :Annotation
18
+ #
19
+ # # A subClass of as:OrderedCollection that conveys to a consuming application that it should select one of the resources in the as:items list to use, rather than all of them. This is typically used to provide a choice of resources to render to the user, based on further supplied properties. If the consuming application cannot determine the user's preference, then it should use the first in the list.
20
+ # # @return [RDF::Vocabulary::Term]
21
+ # attr_reader :Choice
22
+ #
23
+ # # A CssSelector describes a Segment of interest in a representation that conforms to the Document Object Model through the use of the CSS selector specification.
24
+ # # @return [RDF::Vocabulary::Term]
25
+ # attr_reader :CssSelector
26
+ #
27
+ # # A resource which describes styles for resources participating in the Annotation using CSS.
28
+ # # @return [RDF::Vocabulary::Term]
29
+ # attr_reader :CssStyle
30
+ #
31
+ # # DataPositionSelector describes a range of data by recording the start and end positions of the selection in the stream. Position 0 would be immediately before the first byte, position 1 would be immediately before the second byte, and so on. The start byte is thus included in the list, but the end byte is not.
32
+ # # @return [RDF::Vocabulary::Term]
33
+ # attr_reader :DataPositionSelector
34
+ #
35
+ # # A class to encapsulate the different text directions that a textual resource might take. It is not used directly in the Annotation Model, only its three instances.
36
+ # # @return [RDF::Vocabulary::Term]
37
+ # attr_reader :Direction
38
+ #
39
+ # # The FragmentSelector class is used to record the segment of a representation using the IRI fragment specification defined by the representation's media type.
40
+ # # @return [RDF::Vocabulary::Term]
41
+ # attr_reader :FragmentSelector
42
+ #
43
+ # # The HttpRequestState class is used to record the HTTP request headers that a client SHOULD use to request the correct representation from the resource.
44
+ # # @return [RDF::Vocabulary::Term]
45
+ # attr_reader :HttpRequestState
46
+ #
47
+ # # The Motivation class is used to record the user's intent or motivation for the creation of the Annotation, or the inclusion of the body or target, that it is associated with.
48
+ # # @return [RDF::Vocabulary::Term]
49
+ # attr_reader :Motivation
50
+ #
51
+ # # A Range Selector can be used to identify the beginning and the end of the selection by using other Selectors. The selection consists of everything from the beginning of the starting selector through to the beginning of the ending selector, but not including it.
52
+ # # @return [RDF::Vocabulary::Term]
53
+ # attr_reader :RangeSelector
54
+ #
55
+ # # Instances of the ResourceSelection class identify part (described by an oa:Selector) of another resource (referenced with oa:hasSource), possibly from a particular representation of a resource (described by an oa:State). Please note that ResourceSelection is not used directly in the Web Annotation model, but is provided as a separate class for further application profiles to use, separate from oa:SpecificResource which has many Annotation specific features.
56
+ # # @return [RDF::Vocabulary::Term]
57
+ # attr_reader :ResourceSelection
58
+ #
59
+ # # A resource which describes the segment of interest in a representation of a Source resource, indicated with oa:hasSelector from the Specific Resource. This class is not used directly in the Annotation model, only its subclasses.
60
+ # # @return [RDF::Vocabulary::Term]
61
+ # attr_reader :Selector
62
+ #
63
+ # # Instances of the SpecificResource class identify part of another resource (referenced with oa:hasSource), a particular representation of a resource, a resource with styling hints for renders, or any combination of these, as used within an Annotation.
64
+ # # @return [RDF::Vocabulary::Term]
65
+ # attr_reader :SpecificResource
66
+ #
67
+ # # A State describes the intended state of a resource as applied to the particular Annotation, and thus provides the information needed to retrieve the correct representation of that resource.
68
+ # # @return [RDF::Vocabulary::Term]
69
+ # attr_reader :State
70
+ #
71
+ # # A Style describes the intended styling of a resource as applied to the particular Annotation, and thus provides the information to ensure that rendering is consistent across implementations.
72
+ # # @return [RDF::Vocabulary::Term]
73
+ # attr_reader :Style
74
+ #
75
+ # # An SvgSelector defines an area through the use of the Scalable Vector Graphics [SVG] standard. This allows the user to select a non-rectangular area of the content, such as a circle or polygon by describing the region using SVG. The SVG may be either embedded within the Annotation or referenced as an External Resource.
76
+ # # @return [RDF::Vocabulary::Term]
77
+ # attr_reader :SvgSelector
78
+ #
79
+ # # The TextPositionSelector describes a range of text by recording the start and end positions of the selection in the stream. Position 0 would be immediately before the first character, position 1 would be immediately before the second character, and so on.
80
+ # # @return [RDF::Vocabulary::Term]
81
+ # attr_reader :TextPositionSelector
82
+ #
83
+ # # The TextQuoteSelector describes a range of text by copying it, and including some of the text immediately before (a prefix) and after (a suffix) it to distinguish between multiple copies of the same sequence of characters.
84
+ # # @return [RDF::Vocabulary::Term]
85
+ # attr_reader :TextQuoteSelector
86
+ #
87
+ # #
88
+ # # @return [RDF::Vocabulary::Term]
89
+ # attr_reader :TextualBody
90
+ #
91
+ # # A TimeState records the time at which the resource's state is appropriate for the Annotation, typically the time that the Annotation was created and/or a link to a persistent copy of the current version.
92
+ # # @return [RDF::Vocabulary::Term]
93
+ # attr_reader :TimeState
94
+ #
95
+ # # An XPathSelector is used to select elements and content within a resource that supports the Document Object Model via a specified XPath value.
96
+ # # @return [RDF::Vocabulary::Term]
97
+ # attr_reader :XPathSelector
98
+ #
99
+ # # The object of the relationship is the end point of a service that conforms to the annotation-protocol, and it may be associated with any resource. The expectation of asserting the relationship is that the object is the preferred service for maintaining annotations about the subject resource, according to the publisher of the relationship. This relationship is intended to be used both within Linked Data descriptions and as the rel type of a Link, via HTTP Link Headers rfc5988 for binary resources and in HTML <link> elements. For more information about these, please see the Annotation Protocol specification annotation-protocol.
100
+ # # @return [RDF::Vocabulary::Term]
101
+ # attr_reader :annotationService
102
+ #
103
+ # # The object of the predicate is a plain text string to be used as the content of the body of the Annotation. The value MUST be an xsd:string and that data type MUST NOT be expressed in the serialization. Note that language MUST NOT be associated with the value either as a language tag, as that is only available for rdf:langString .
104
+ # # @return [RDF::Vocabulary::Term]
105
+ # attr_reader :bodyValue
106
+ #
107
+ # # A object of the relationship is a copy of the Source resource's representation, appropriate for the Annotation.
108
+ # # @return [RDF::Vocabulary::Term]
109
+ # attr_reader :cachedSource
110
+ #
111
+ # # A object of the relationship is the canonical IRI that can always be used to deduplicate the Annotation, regardless of the current IRI used to access the representation.
112
+ # # @return [RDF::Vocabulary::Term]
113
+ # attr_reader :canonical
114
+ #
115
+ # # The end property is used to convey the 0-based index of the end position of a range of content.
116
+ # # @return [RDF::Vocabulary::Term]
117
+ # attr_reader :end
118
+ #
119
+ # # The object of the predicate is a copy of the text which is being selected, after normalization.
120
+ # # @return [RDF::Vocabulary::Term]
121
+ # attr_reader :exact
122
+ #
123
+ # # The object of the relationship is a resource that is a body of the Annotation.
124
+ # # @return [RDF::Vocabulary::Term]
125
+ # attr_reader :hasBody
126
+ #
127
+ # # The relationship between a RangeSelector and the Selector that describes the end position of the range.
128
+ # # @return [RDF::Vocabulary::Term]
129
+ # attr_reader :hasEndSelector
130
+ #
131
+ # # The purpose served by the resource in the Annotation.
132
+ # # @return [RDF::Vocabulary::Term]
133
+ # attr_reader :hasPurpose
134
+ #
135
+ # # The scope or context in which the resource is used within the Annotation.
136
+ # # @return [RDF::Vocabulary::Term]
137
+ # attr_reader :hasScope
138
+ #
139
+ # # The object of the relationship is a Selector that describes the segment or region of interest within the source resource. Please note that the domain ( oa:ResourceSelection ) is not used directly in the Web Annotation model.
140
+ # # @return [RDF::Vocabulary::Term]
141
+ # attr_reader :hasSelector
142
+ #
143
+ # # The resource that the ResourceSelection, or its subclass SpecificResource, is refined from, or more specific than. Please note that the domain ( oa:ResourceSelection ) is not used directly in the Web Annotation model.
144
+ # # @return [RDF::Vocabulary::Term]
145
+ # attr_reader :hasSource
146
+ #
147
+ # # The relationship between a RangeSelector and the Selector that describes the start position of the range.
148
+ # # @return [RDF::Vocabulary::Term]
149
+ # attr_reader :hasStartSelector
150
+ #
151
+ # # The relationship between the ResourceSelection, or its subclass SpecificResource, and a State resource. Please note that the domain ( oa:ResourceSelection ) is not used directly in the Web Annotation model.
152
+ # # @return [RDF::Vocabulary::Term]
153
+ # attr_reader :hasState
154
+ #
155
+ # # The relationship between an Annotation and its Target.
156
+ # # @return [RDF::Vocabulary::Term]
157
+ # attr_reader :hasTarget
158
+ #
159
+ # # The relationship between an Annotation and a Motivation that describes the reason for the Annotation's creation.
160
+ # # @return [RDF::Vocabulary::Term]
161
+ # attr_reader :motivatedBy
162
+ #
163
+ # # The object of the property is a snippet of content that occurs immediately before the content which is being selected by the Selector.
164
+ # # @return [RDF::Vocabulary::Term]
165
+ # attr_reader :prefix
166
+ #
167
+ # # The object of the property is the language that should be used for textual processing algorithms when dealing with the content of the resource, including hyphenation, line breaking, which font to use for rendering and so forth. The value must follow the recommendations of BCP47.
168
+ # # @return [RDF::Vocabulary::Term]
169
+ # attr_reader :processingLanguage
170
+ #
171
+ # # The relationship between a Selector and another Selector or a State and a Selector or State that should be applied to the results of the first to refine the processing of the source resource.
172
+ # # @return [RDF::Vocabulary::Term]
173
+ # attr_reader :refinedBy
174
+ #
175
+ # # A system that was used by the application that created the Annotation to render the resource.
176
+ # # @return [RDF::Vocabulary::Term]
177
+ # attr_reader :renderedVia
178
+ #
179
+ # # The timestamp at which the Source resource should be interpreted as being applicable to the Annotation.
180
+ # # @return [RDF::Vocabulary::Term]
181
+ # attr_reader :sourceDate
182
+ #
183
+ # # The end timestamp of the interval over which the Source resource should be interpreted as being applicable to the Annotation.
184
+ # # @return [RDF::Vocabulary::Term]
185
+ # attr_reader :sourceDateEnd
186
+ #
187
+ # # The start timestamp of the interval over which the Source resource should be interpreted as being applicable to the Annotation.
188
+ # # @return [RDF::Vocabulary::Term]
189
+ # attr_reader :sourceDateStart
190
+ #
191
+ # # The start position in a 0-based index at which a range of content is selected from the data in the source resource.
192
+ # # @return [RDF::Vocabulary::Term]
193
+ # attr_reader :start
194
+ #
195
+ # # The name of the class used in the CSS description referenced from the Annotation that should be applied to the Specific Resource.
196
+ # # @return [RDF::Vocabulary::Term]
197
+ # attr_reader :styleClass
198
+ #
199
+ # # A reference to a Stylesheet that should be used to apply styles to the Annotation rendering.
200
+ # # @return [RDF::Vocabulary::Term]
201
+ # attr_reader :styledBy
202
+ #
203
+ # # The snippet of text that occurs immediately after the text which is being selected.
204
+ # # @return [RDF::Vocabulary::Term]
205
+ # attr_reader :suffix
206
+ #
207
+ # # The direction of the text of the subject resource. There MUST only be one text direction associated with any given resource.
208
+ # # @return [RDF::Vocabulary::Term]
209
+ # attr_reader :textDirection
210
+ #
211
+ # # A object of the relationship is a resource from which the source resource was retrieved by the providing system.
212
+ # # @return [RDF::Vocabulary::Term]
213
+ # attr_reader :via
214
+ #
215
+ # # An IRI to signal the client prefers to receive full descriptions of the Annotations from a container, not just their IRIs.
216
+ # # @return [RDF::Vocabulary::Term]
217
+ # attr_reader :PreferContainedDescriptions
218
+ #
219
+ # # An IRI to signal that the client prefers to receive only the IRIs of the Annotations from a container, not their full descriptions.
220
+ # # @return [RDF::Vocabulary::Term]
221
+ # attr_reader :PreferContainedIRIs
222
+ #
223
+ # # The motivation for when the user intends to provide an assessment about the Target resource.
224
+ # # @return [RDF::Vocabulary::Term]
225
+ # attr_reader :assessing
226
+ #
227
+ # # The motivation for when the user intends to create a bookmark to the Target or part thereof.
228
+ # # @return [RDF::Vocabulary::Term]
229
+ # attr_reader :bookmarking
230
+ #
231
+ # # The motivation for when the user intends to that classify the Target as something.
232
+ # # @return [RDF::Vocabulary::Term]
233
+ # attr_reader :classifying
234
+ #
235
+ # # The motivation for when the user intends to comment about the Target.
236
+ # # @return [RDF::Vocabulary::Term]
237
+ # attr_reader :commenting
238
+ #
239
+ # # The motivation for when the user intends to describe the Target, as opposed to a comment about them.
240
+ # # @return [RDF::Vocabulary::Term]
241
+ # attr_reader :describing
242
+ #
243
+ # # The motivation for when the user intends to request a change or edit to the Target resource.
244
+ # # @return [RDF::Vocabulary::Term]
245
+ # attr_reader :editing
246
+ #
247
+ # # The motivation for when the user intends to highlight the Target resource or segment of it.
248
+ # # @return [RDF::Vocabulary::Term]
249
+ # attr_reader :highlighting
250
+ #
251
+ # # The motivation for when the user intends to assign an identity to the Target or identify what is being depicted or described in the Target.
252
+ # # @return [RDF::Vocabulary::Term]
253
+ # attr_reader :identifying
254
+ #
255
+ # # The motivation for when the user intends to link to a resource related to the Target.
256
+ # # @return [RDF::Vocabulary::Term]
257
+ # attr_reader :linking
258
+ #
259
+ # # The direction of text that is read from left to right.
260
+ # # @return [RDF::Vocabulary::Term]
261
+ # attr_reader :ltrDirection
262
+ #
263
+ # # The motivation for when the user intends to assign some value or quality to the Target.
264
+ # # @return [RDF::Vocabulary::Term]
265
+ # attr_reader :moderating
266
+ #
267
+ # # The motivation for when the user intends to ask a question about the Target.
268
+ # # @return [RDF::Vocabulary::Term]
269
+ # attr_reader :questioning
270
+ #
271
+ # # The motivation for when the user intends to reply to a previous statement, either an Annotation or another resource.
272
+ # # @return [RDF::Vocabulary::Term]
273
+ # attr_reader :replying
274
+ #
275
+ # # The direction of text that is read from right to left.
276
+ # # @return [RDF::Vocabulary::Term]
277
+ # attr_reader :rtlDirection
278
+ #
279
+ # # The motivation for when the user intends to associate a tag with the Target.
280
+ # # @return [RDF::Vocabulary::Term]
281
+ # attr_reader :tagging
282
+ #
9
283
  # end
10
- class OA < RDF::StrictVocabulary("http://www.w3.org/ns/oa#")
284
+ OA = Class.new(RDF::StrictVocabulary("http://www.w3.org/ns/oa#")) do
11
285
 
12
286
  # Ontology definition
13
287
  ontology :"http://www.w3.org/ns/oa#",
@@ -5,9 +5,86 @@ require 'rdf'
5
5
  module RDF::Vocab
6
6
  # @!parse
7
7
  # # Vocabulary for <http://ogp.me/ns#>
8
+ # #
8
9
  # class OG < RDF::Vocabulary
10
+ # # A relevant audio URL for your object.
11
+ # # @return [RDF::Vocabulary::Term]
12
+ # attr_reader :audio
13
+ #
14
+ # # A one to two sentence description of your object.
15
+ # # @return [RDF::Vocabulary::Term]
16
+ # attr_reader :description
17
+ #
18
+ # # The word to precede the object's title in a sentence (e.g., "the" in "the statue of liberty"). Valid values are "a", "an", "the", "", and "auto".
19
+ # # @return [RDF::Vocabulary::Term]
20
+ # attr_reader :determiner
21
+ #
22
+ # # [DEPRECATED] Email of the contact for your object.
23
+ # # @return [RDF::Vocabulary::Term]
24
+ # attr_reader :email
25
+ #
26
+ # # [DEPRECATED] Fax number of the contact for your object.
27
+ # # @return [RDF::Vocabulary::Term]
28
+ # attr_reader :fax_number
29
+ #
30
+ # # An image URL which should represent your object within the graph.
31
+ # # @return [RDF::Vocabulary::Term]
32
+ # attr_reader :image
33
+ #
34
+ # # [DEPRECATED] International Standard Book Number for you object.
35
+ # # @return [RDF::Vocabulary::Term]
36
+ # attr_reader :isbn
37
+ #
38
+ # # [DEPRECATED] The latitude of the resource e.g., the latitude of a company.
39
+ # # @return [RDF::Vocabulary::Term]
40
+ # attr_reader :latitude
41
+ #
42
+ # # A Unix locale in which this markup is rendered.
43
+ # # @return [RDF::Vocabulary::Term]
44
+ # attr_reader :locale
45
+ #
46
+ # # [DEPRECATED] The locality of the resource e.g, "Palo Alto"
47
+ # # @return [RDF::Vocabulary::Term]
48
+ # attr_reader :locality
49
+ #
50
+ # # [DEPRECATED] The longitude of the resource e.g., the longitude of a company.
51
+ # # @return [RDF::Vocabulary::Term]
52
+ # attr_reader :longitude
53
+ #
54
+ # # [DEPRECATED] Phone number of the contact for your object.
55
+ # # @return [RDF::Vocabulary::Term]
56
+ # attr_reader :phone_number
57
+ #
58
+ # # [DEPRECATED] The region of the resource e.g., "CA"
59
+ # # @return [RDF::Vocabulary::Term]
60
+ # attr_reader :region
61
+ #
62
+ # # If your object is part of a larger web site, the name which should be displayed for the overall site. e.g., "IMDb".
63
+ # # @return [RDF::Vocabulary::Term]
64
+ # attr_reader :site_name
65
+ #
66
+ # # The title of the object as it should appear within the graph, e.g., "The Rock".
67
+ # # @return [RDF::Vocabulary::Term]
68
+ # attr_reader :title
69
+ #
70
+ # # The type of your object, e.g., "movie". Depending on the type you specify, other properties may also be required.
71
+ # # @return [RDF::Vocabulary::Term]
72
+ # attr_reader :type
73
+ #
74
+ # # [DEPRECATED] Universal Product Code for your object.
75
+ # # @return [RDF::Vocabulary::Term]
76
+ # attr_reader :upc
77
+ #
78
+ # # The canonical URL of your object that will be used as its permanent ID in the graph, e.g., "http://www.imdb.com/title/tt0117500/".
79
+ # # @return [RDF::Vocabulary::Term]
80
+ # attr_reader :url
81
+ #
82
+ # # A relevant video URL for your object.
83
+ # # @return [RDF::Vocabulary::Term]
84
+ # attr_reader :video
85
+ #
9
86
  # end
10
- class OG < RDF::Vocabulary("http://ogp.me/ns#")
87
+ OG = Class.new(RDF::Vocabulary("http://ogp.me/ns#")) do
11
88
 
12
89
  # Property definitions
13
90
  property :audio,
@@ -5,9 +5,42 @@ require 'rdf'
5
5
  module RDF::Vocab
6
6
  # @!parse
7
7
  # # Vocabulary for <http://ogp.me/ns/class#>
8
+ # #
8
9
  # class OGC < RDF::Vocabulary
10
+ # # A string representation of a true or false value. The lexical space contains: "true", "false", "1", and "0".
11
+ # # @return [RDF::Vocabulary::Term]
12
+ # attr_reader :boolean_str
13
+ #
14
+ # # A string representation of a temporal value composed of a date (year, month, day) and an optional time component (hours, minutes). The lexical space is defined by ISO 8601.
15
+ # # @return [RDF::Vocabulary::Term]
16
+ # attr_reader :date_time_str
17
+ #
18
+ # # The lexical space: "", "the", "a", "an", and "auto".
19
+ # # @return [RDF::Vocabulary::Term]
20
+ # attr_reader :determiner_str
21
+ #
22
+ # # A string representation of a 64-bit signed floating point number. Example lexical values include "1.234", "-1.234", "1.2e3", "-1.2e3", and "7E-10".
23
+ # # @return [RDF::Vocabulary::Term]
24
+ # attr_reader :float_str
25
+ #
26
+ # # A string representation of a 32-bit signed integer. Example lexical values include "1234" and "-123".
27
+ # # @return [RDF::Vocabulary::Term]
28
+ # attr_reader :integer_str
29
+ #
30
+ # # Valid mime type strings (e.g., "application/mp3").
31
+ # # @return [RDF::Vocabulary::Term]
32
+ # attr_reader :mime_type_str
33
+ #
34
+ # # A string of Unicode characters.
35
+ # # @return [RDF::Vocabulary::Term]
36
+ # attr_reader :string
37
+ #
38
+ # # A string of Unicode characters forming a valid URL having the http or https scheme.
39
+ # # @return [RDF::Vocabulary::Term]
40
+ # attr_reader :url
41
+ #
9
42
  # end
10
- class OGC < RDF::Vocabulary("http://ogp.me/ns/class#")
43
+ OGC = Class.new(RDF::Vocabulary("http://ogp.me/ns/class#")) do
11
44
 
12
45
  # Datatype definitions
13
46
  term :boolean_str,
@@ -5,9 +5,64 @@ require 'rdf'
5
5
  module RDF::Vocab
6
6
  # @!parse
7
7
  # # Vocabulary for <http://www.openarchives.org/ore/terms/>
8
+ # #
9
+ # # The OAI ORE terms vocabulary
10
+ # #
11
+ # # The OAI ORE terms vocabulary
12
+ # #
13
+ # # The set of terms provided by the OAI ORE initiative
14
+ # # @see http://www.openarchives.org/ore/toc
8
15
  # class ORE < RDF::StrictVocabulary
16
+ # # A resource which is included in an Aggregation. Note that asserting that a resource is a member of the class of Aggregated Resources does not imply anything other than that it is aggregated by at least one Aggregation.
17
+ # # @return [RDF::Vocabulary::Term]
18
+ # attr_reader :AggregatedResource
19
+ #
20
+ # # A set of related resources (Aggregated Resources), grouped together such that the set can be treated as a single resource. This is the entity described within the ORE interoperability framework by a Resource Map.
21
+ # # @return [RDF::Vocabulary::Term]
22
+ # attr_reader :Aggregation
23
+ #
24
+ # # A Proxy represents an Aggregated Resource as it exists in a specific Aggregation. All assertions made about an entity are globally true, not only within the context of the Aggregation. As such, in order to make assertions which are only true of a resource as it exists in an Aggregation, a Proxy object is required. For example, one might want to cite an article as it appears in a specific journal, or assign aggregation-specific metadata to a Resource.
25
+ # # @return [RDF::Vocabulary::Term]
26
+ # attr_reader :Proxy
27
+ #
28
+ # # A description of an Aggregation according to the OAI-ORE data model. Resource Maps are serialised to a machine readable format according to the implementation guidelines.
29
+ # # @return [RDF::Vocabulary::Term]
30
+ # attr_reader :ResourceMap
31
+ #
32
+ # # Aggregations, by definition, aggregate resources. The ore:aggregates relationship expresses that the object resource is a member of the set of Aggregated Resources of the subject (the Aggregation). This relationship between the Aggregation and its Aggregated Resources is thus more specific than a simple part/whole relationship, as expressed by dcterms:hasPart for example.
33
+ # # @return [RDF::Vocabulary::Term]
34
+ # attr_reader :aggregates
35
+ #
36
+ # # This relationship asserts that the subject (a Resource Map) describes the object (an Aggregation).
37
+ # # @return [RDF::Vocabulary::Term]
38
+ # attr_reader :describes
39
+ #
40
+ # # The inverse relationship of ore:aggregates, ore:isAggregatedBy asserts that an Aggregated Resource is aggregated by an Aggregation.
41
+ # # @return [RDF::Vocabulary::Term]
42
+ # attr_reader :isAggregatedBy
43
+ #
44
+ # # The inverse relationship of ore:describes, in this case the object of the relationship is the Resource Map and the subject is the Aggregation which it describes.
45
+ # # @return [RDF::Vocabulary::Term]
46
+ # attr_reader :isDescribedBy
47
+ #
48
+ # # ore:lineage is a relationship between two Proxy objects, both of which MUST have the same Resource for which they are proxies. The meaning is that the Resource for which the subject of the relationship is a Proxy was discovered in the Aggregation in which the object Proxy's resource is aggregated.
49
+ # # @return [RDF::Vocabulary::Term]
50
+ # attr_reader :lineage
51
+ #
52
+ # # Proxy objects are used to represent a Resource as it is aggregated in a particular Aggregation. The ore:proxyFor relationship is used to link the proxy to the Aggregated Resource it is a proxy for. The subject of the relationship is a Proxy object, and the object of the relationship is the Aggregated Resource.
53
+ # # @return [RDF::Vocabulary::Term]
54
+ # attr_reader :proxyFor
55
+ #
56
+ # # Proxy objects must link to the Aggregation in which the resource being proxied is aggregated. The ore:proxyIn relationship is used for this purpose. The subject of the relationship is a Proxy object, and the object of the relationship is the Aggregation.
57
+ # # @return [RDF::Vocabulary::Term]
58
+ # attr_reader :proxyIn
59
+ #
60
+ # # The subject of this relationship MUST be an Aggregation. This Aggregation should be considered an expression within the ORE context of the object of the relationship, as it is broadly equivalent to the resource. For example, the Aggregation may consist of the resources which, together, make up a journal article which has a DOI assigned to it. The Aggregation is not the article to which the DOI was assigned, but is a representation of it in some manner.
61
+ # # @return [RDF::Vocabulary::Term]
62
+ # attr_reader :similarTo
63
+ #
9
64
  # end
10
- class ORE < RDF::StrictVocabulary("http://www.openarchives.org/ore/terms/")
65
+ ORE = Class.new(RDF::StrictVocabulary("http://www.openarchives.org/ore/terms/")) do
11
66
 
12
67
  # Ontology definition
13
68
  ontology :"http://www.openarchives.org/ore/terms/",