rdf-vocab 3.1.1 → 3.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +69 -45
- data/VERSION +1 -1
- data/lib/rdf/vocab.rb +55 -39
- data/lib/rdf/vocab/acl.rb +84 -1
- data/lib/rdf/vocab/as.rb +466 -1
- data/lib/rdf/vocab/bf2.rb +1317 -1
- data/lib/rdf/vocab/bibframe.rb +1 -2
- data/lib/rdf/vocab/bibo.rb +496 -1
- data/lib/rdf/vocab/cc.rb +107 -1
- data/lib/rdf/vocab/cert.rb +68 -1
- data/lib/rdf/vocab/cnt.rb +79 -1
- data/lib/rdf/vocab/crm.rb +1303 -1
- data/lib/rdf/vocab/datacite.rb +1 -1
- data/lib/rdf/vocab/dbo.rb +10463 -1
- data/lib/rdf/vocab/dc.rb +470 -301
- data/lib/rdf/vocab/dc11.rb +88 -57
- data/lib/rdf/vocab/dcat.rb +153 -5
- data/lib/rdf/vocab/dcmitype.rb +51 -25
- data/lib/rdf/vocab/disco.rb +228 -1
- data/lib/rdf/vocab/doap.rb +175 -1
- data/lib/rdf/vocab/dwc.rb +753 -1
- data/lib/rdf/vocab/earl.rb +324 -0
- data/lib/rdf/vocab/ebucore.rb +7335 -1974
- data/lib/rdf/vocab/edm.rb +150 -1
- data/lib/rdf/vocab/exif.rb +650 -1
- data/lib/rdf/vocab/extensions.rb +265 -212
- data/lib/rdf/vocab/fcrepo4.rb +377 -1
- data/lib/rdf/vocab/foaf.rb +305 -1
- data/lib/rdf/vocab/geo.rb +39 -1
- data/lib/rdf/vocab/geojson.rb +66 -1
- data/lib/rdf/vocab/geonames.rb +166 -1
- data/lib/rdf/vocab/gr.rb +684 -1
- data/lib/rdf/vocab/gs1.rb +1597 -1
- data/lib/rdf/vocab/ht.rb +164 -1
- data/lib/rdf/vocab/hydra.rb +238 -4
- data/lib/rdf/vocab/iana.rb +230 -1
- data/lib/rdf/vocab/ical.rb +462 -1
- data/lib/rdf/vocab/identifiers.rb +462 -1
- data/lib/rdf/vocab/iiif.rb +136 -1
- data/lib/rdf/vocab/jsonld.rb +147 -3
- data/lib/rdf/vocab/ldp.rb +130 -1
- data/lib/rdf/vocab/lrmi.rb +69 -1
- data/lib/rdf/vocab/ma.rb +381 -1
- data/lib/rdf/vocab/mads.rb +610 -22
- data/lib/rdf/vocab/{marc_relators.rb → marcrelators.rb} +809 -1
- data/lib/rdf/vocab/mo.rb +919 -1
- data/lib/rdf/vocab/mods.rb +516 -1
- data/lib/rdf/vocab/nfo.rb +1 -1
- data/lib/rdf/vocab/oa.rb +275 -1
- data/lib/rdf/vocab/og.rb +100 -1
- data/lib/rdf/vocab/ogc.rb +34 -1
- data/lib/rdf/vocab/ore.rb +56 -1
- data/lib/rdf/vocab/org.rb +189 -1
- data/lib/rdf/vocab/pcdm.rb +47 -1
- data/lib/rdf/vocab/pplan.rb +64 -1
- data/lib/rdf/vocab/premis.rb +1266 -779
- data/lib/rdf/vocab/{premis_event_type.rb → premiseventtype.rb} +155 -1
- data/lib/rdf/vocab/prov.rb +619 -1
- data/lib/rdf/vocab/ptr.rb +138 -1
- data/lib/rdf/vocab/rightsstatements.rb +5 -1
- data/lib/rdf/vocab/rsa.rb +30 -1
- data/lib/rdf/vocab/rss.rb +42 -1
- data/lib/rdf/vocab/schema.rb +12470 -804
- data/lib/rdf/vocab/sd.rb +372 -0
- data/lib/rdf/vocab/sh.rb +736 -1
- data/lib/rdf/vocab/sioc.rb +401 -1
- data/lib/rdf/vocab/{sioc_services.rb → siocservices.rb} +38 -1
- data/lib/rdf/vocab/{sioct.rb → sioctypes.rb} +158 -1
- data/lib/rdf/vocab/skos.rb +119 -1
- data/lib/rdf/vocab/skosxl.rb +30 -1
- data/lib/rdf/vocab/v.rb +291 -1
- data/lib/rdf/vocab/vcard.rb +508 -1
- data/lib/rdf/vocab/vmd.rb +291 -1
- data/lib/rdf/vocab/void.rb +121 -1
- data/lib/rdf/vocab/vs.rb +19 -1
- data/lib/rdf/vocab/wdrs.rb +90 -1
- data/lib/rdf/vocab/wot.rb +78 -1
- data/lib/rdf/vocab/xhtml.rb +2 -1
- data/lib/rdf/vocab/xhv.rb +338 -1
- data/lib/rdf/vocab/xkos.rb +150 -1
- data/spec/extensions_spec.rb +68 -0
- data/spec/vocab_spec.rb +10 -0
- metadata +16 -8
data/lib/rdf/vocab/nfo.rb
CHANGED
@@ -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
|
-
|
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,
|
data/lib/rdf/vocab/oa.rb
CHANGED
@@ -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
|
-
|
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#",
|
data/lib/rdf/vocab/og.rb
CHANGED
@@ -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
|
-
|
87
|
+
OG = Class.new(RDF::Vocabulary("http://ogp.me/ns#")) do
|
11
88
|
|
12
89
|
# Property definitions
|
13
90
|
property :audio,
|
@@ -81,6 +158,13 @@ module RDF::Vocab
|
|
81
158
|
range: "ogc:url".freeze,
|
82
159
|
"rdfs:seeAlso": "foaf:depiction".freeze,
|
83
160
|
type: "rdf:Property".freeze
|
161
|
+
property :"image:alt",
|
162
|
+
comment: %(A description of what is in the image \(not a caption\). If the page specifies an og:image it should specify og:image:alt.).freeze,
|
163
|
+
isDefinedBy: "og:".freeze,
|
164
|
+
label: "image:alt".freeze,
|
165
|
+
range: "ogc:string".freeze,
|
166
|
+
"rdfs:seeAlso": "og:image".freeze,
|
167
|
+
type: "rdf:Property".freeze
|
84
168
|
property :"image:height",
|
85
169
|
comment: %(The height of an image.).freeze,
|
86
170
|
isDefinedBy: "og:".freeze,
|
@@ -100,6 +184,14 @@ module RDF::Vocab
|
|
100
184
|
label: "image type".freeze,
|
101
185
|
range: "ogc:mime_type_str".freeze,
|
102
186
|
type: "rdf:Property".freeze
|
187
|
+
property :"image:url",
|
188
|
+
comment: %(Identical to og:image.).freeze,
|
189
|
+
isDefinedBy: "og:".freeze,
|
190
|
+
label: "image:url".freeze,
|
191
|
+
"owl:sameProperty": "og:image".freeze,
|
192
|
+
range: "ogc:url".freeze,
|
193
|
+
"rdfs:seeAlso": "og:image".freeze,
|
194
|
+
type: "rdf:Property".freeze
|
103
195
|
property :"image:width",
|
104
196
|
comment: %(The width of an image.).freeze,
|
105
197
|
isDefinedBy: "og:".freeze,
|
@@ -124,6 +216,13 @@ module RDF::Vocab
|
|
124
216
|
label: "locale".freeze,
|
125
217
|
range: "ogc:string".freeze,
|
126
218
|
type: "rdf:Property".freeze
|
219
|
+
property :"locale:alternate",
|
220
|
+
comment: %(An array of other locales this page is available in.).freeze,
|
221
|
+
isDefinedBy: "og:".freeze,
|
222
|
+
label: "locale:alternate".freeze,
|
223
|
+
range: "ogc:string".freeze,
|
224
|
+
"rdfs:seeAlso": "og:locale".freeze,
|
225
|
+
type: "rdf:Property".freeze
|
127
226
|
property :locality,
|
128
227
|
comment: %([DEPRECATED] The locality of the resource e.g, "Palo Alto").freeze,
|
129
228
|
isDefinedBy: "og:".freeze,
|
data/lib/rdf/vocab/ogc.rb
CHANGED
@@ -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
|
-
|
43
|
+
OGC = Class.new(RDF::Vocabulary("http://ogp.me/ns/class#")) do
|
11
44
|
|
12
45
|
# Datatype definitions
|
13
46
|
term :boolean_str,
|