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.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +69 -45
- data/VERSION +1 -1
- data/lib/rdf/vocab.rb +14 -28
- 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 +1 -1
- data/lib/rdf/vocab/dc11.rb +63 -1
- data/lib/rdf/vocab/dcat.rb +152 -4
- data/lib/rdf/vocab/dcmitype.rb +1 -1
- 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 +135 -1
- 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 +253 -203
- 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 +236 -2
- 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 +135 -1
- data/lib/rdf/vocab/ldp.rb +130 -1
- data/lib/rdf/vocab/lrmi.rb +1 -1
- data/lib/rdf/vocab/ma.rb +381 -1
- data/lib/rdf/vocab/mads.rb +600 -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 +78 -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 +1 -1
- data/lib/rdf/vocab/schema.rb +10032 -12
- 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 +15 -8
data/lib/rdf/vocab/ht.rb
CHANGED
@@ -5,9 +5,172 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://www.w3.org/2011/http#>
|
8
|
+
# #
|
9
|
+
# # HTTP in RDF
|
10
|
+
# #
|
11
|
+
# # A namespace for describing HTTP messages (http://www.w3.org/Protocols/rfc2616/rfc2616.html)
|
12
|
+
# # @version Working Draft 29 April 2011
|
13
|
+
# # @see http://www.w3.org/TR/Content-in-RDF/
|
14
|
+
# # @see http://www.w3.org/WAI/intro/earl
|
8
15
|
# class HT < RDF::StrictVocabulary
|
16
|
+
# # A connection used for HTTP transfer.
|
17
|
+
# # @return [RDF::Vocabulary::Term]
|
18
|
+
# attr_reader :Connection
|
19
|
+
#
|
20
|
+
# # An entity header in an HTTP message.
|
21
|
+
# # @return [RDF::Vocabulary::Term]
|
22
|
+
# attr_reader :EntityHeader
|
23
|
+
#
|
24
|
+
# # A general header in an HTTP message.
|
25
|
+
# # @return [RDF::Vocabulary::Term]
|
26
|
+
# attr_reader :GeneralHeader
|
27
|
+
#
|
28
|
+
# # A part of a deconstructed header value.
|
29
|
+
# # @return [RDF::Vocabulary::Term]
|
30
|
+
# attr_reader :HeaderElement
|
31
|
+
#
|
32
|
+
# # A header name.
|
33
|
+
# # @return [RDF::Vocabulary::Term]
|
34
|
+
# attr_reader :HeaderName
|
35
|
+
#
|
36
|
+
# # An HTTP message.
|
37
|
+
# # @return [RDF::Vocabulary::Term]
|
38
|
+
# attr_reader :Message
|
39
|
+
#
|
40
|
+
# # A header in an HTTP message.
|
41
|
+
# # @return [RDF::Vocabulary::Term]
|
42
|
+
# attr_reader :MessageHeader
|
43
|
+
#
|
44
|
+
# # The HTTP method used for the request.
|
45
|
+
# # @return [RDF::Vocabulary::Term]
|
46
|
+
# attr_reader :Method
|
47
|
+
#
|
48
|
+
# # A parameter for a part of a header value.
|
49
|
+
# # @return [RDF::Vocabulary::Term]
|
50
|
+
# attr_reader :Parameter
|
51
|
+
#
|
52
|
+
# # An HTTP request.
|
53
|
+
# # @return [RDF::Vocabulary::Term]
|
54
|
+
# attr_reader :Request
|
55
|
+
#
|
56
|
+
# # A header in an HTTP request message.
|
57
|
+
# # @return [RDF::Vocabulary::Term]
|
58
|
+
# attr_reader :RequestHeader
|
59
|
+
#
|
60
|
+
# # An HTTP response.
|
61
|
+
# # @return [RDF::Vocabulary::Term]
|
62
|
+
# attr_reader :Response
|
63
|
+
#
|
64
|
+
# # A header in an HTTP response message.
|
65
|
+
# # @return [RDF::Vocabulary::Term]
|
66
|
+
# attr_reader :ResponseHeader
|
67
|
+
#
|
68
|
+
# # The status code of an HTTP response.
|
69
|
+
# # @return [RDF::Vocabulary::Term]
|
70
|
+
# attr_reader :StatusCode
|
71
|
+
#
|
72
|
+
# # The absolute path sort of request URI.
|
73
|
+
# # @return [RDF::Vocabulary::Term]
|
74
|
+
# attr_reader :absolutePath
|
75
|
+
#
|
76
|
+
# # The absolute request URI.
|
77
|
+
# # @return [RDF::Vocabulary::Term]
|
78
|
+
# attr_reader :absoluteURI
|
79
|
+
#
|
80
|
+
# # The authority sort of request URI.
|
81
|
+
# # @return [RDF::Vocabulary::Term]
|
82
|
+
# attr_reader :authority
|
83
|
+
#
|
84
|
+
# # The entity body of an HTTP message.
|
85
|
+
# # @return [RDF::Vocabulary::Term]
|
86
|
+
# attr_reader :body
|
87
|
+
#
|
88
|
+
# # The authority of a connection used for the HTTP transfer.
|
89
|
+
# # @return [RDF::Vocabulary::Term]
|
90
|
+
# attr_reader :connectionAuthority
|
91
|
+
#
|
92
|
+
# # The name of a header element.
|
93
|
+
# # @return [RDF::Vocabulary::Term]
|
94
|
+
# attr_reader :elementName
|
95
|
+
#
|
96
|
+
# # The value of a header element.
|
97
|
+
# # @return [RDF::Vocabulary::Term]
|
98
|
+
# attr_reader :elementValue
|
99
|
+
#
|
100
|
+
# # The name of an HTTP header field.
|
101
|
+
# # @return [RDF::Vocabulary::Term]
|
102
|
+
# attr_reader :fieldName
|
103
|
+
#
|
104
|
+
# # The value of an HTTP header field.
|
105
|
+
# # @return [RDF::Vocabulary::Term]
|
106
|
+
# attr_reader :fieldValue
|
107
|
+
#
|
108
|
+
# # The name of an HTTP header.
|
109
|
+
# # @return [RDF::Vocabulary::Term]
|
110
|
+
# attr_reader :hdrName
|
111
|
+
#
|
112
|
+
# # The deconstructed parts of an HTTP header value.
|
113
|
+
# # @return [RDF::Vocabulary::Term]
|
114
|
+
# attr_reader :headerElements
|
115
|
+
#
|
116
|
+
# # The headers in an HTTP message.
|
117
|
+
# # @return [RDF::Vocabulary::Term]
|
118
|
+
# attr_reader :headers
|
119
|
+
#
|
120
|
+
# # The HTTP version of an HTTP message.
|
121
|
+
# # @return [RDF::Vocabulary::Term]
|
122
|
+
# attr_reader :httpVersion
|
123
|
+
#
|
124
|
+
# # The HTTP method name used for the HTTP request.
|
125
|
+
# # @return [RDF::Vocabulary::Term]
|
126
|
+
# attr_reader :methodName
|
127
|
+
#
|
128
|
+
# # The HTTP method used for the HTTP request.
|
129
|
+
# # @return [RDF::Vocabulary::Term]
|
130
|
+
# attr_reader :mthd
|
131
|
+
#
|
132
|
+
# # The name of a parameter in a part of a deconstructed HTTP header value.
|
133
|
+
# # @return [RDF::Vocabulary::Term]
|
134
|
+
# attr_reader :paramName
|
135
|
+
#
|
136
|
+
# # The value of a parameter in a part of a deconstructed HTTP header value.
|
137
|
+
# # @return [RDF::Vocabulary::Term]
|
138
|
+
# attr_reader :paramValue
|
139
|
+
#
|
140
|
+
# # The parameters in a part of a deconstructed HTTP header value.
|
141
|
+
# # @return [RDF::Vocabulary::Term]
|
142
|
+
# attr_reader :params
|
143
|
+
#
|
144
|
+
# # The reason phrase (status text) of an HTTP response.
|
145
|
+
# # @return [RDF::Vocabulary::Term]
|
146
|
+
# attr_reader :reasonPhrase
|
147
|
+
#
|
148
|
+
# # The request URI of an HTTP request.
|
149
|
+
# # @return [RDF::Vocabulary::Term]
|
150
|
+
# attr_reader :requestURI
|
151
|
+
#
|
152
|
+
# # The HTTP requests made via a connection.
|
153
|
+
# # @return [RDF::Vocabulary::Term]
|
154
|
+
# attr_reader :requests
|
155
|
+
#
|
156
|
+
# # The HTTP response sent in answer to an HTTP request.
|
157
|
+
# # @return [RDF::Vocabulary::Term]
|
158
|
+
# attr_reader :resp
|
159
|
+
#
|
160
|
+
# # The status code of an HTTP response.
|
161
|
+
# # @return [RDF::Vocabulary::Term]
|
162
|
+
# attr_reader :sc
|
163
|
+
#
|
164
|
+
# # The status code number.
|
165
|
+
# # @return [RDF::Vocabulary::Term]
|
166
|
+
# attr_reader :statusCodeNumber
|
167
|
+
#
|
168
|
+
# # The status code value of an HTTP response.
|
169
|
+
# # @return [RDF::Vocabulary::Term]
|
170
|
+
# attr_reader :statusCodeValue
|
171
|
+
#
|
9
172
|
# end
|
10
|
-
|
173
|
+
HT = Class.new(RDF::StrictVocabulary("http://www.w3.org/2011/http#")) do
|
11
174
|
|
12
175
|
# Ontology definition
|
13
176
|
ontology :"http://www.w3.org/2011/http#",
|
data/lib/rdf/vocab/hydra.rb
CHANGED
@@ -5,9 +5,243 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://www.w3.org/ns/hydra/core#>
|
8
|
+
# #
|
9
|
+
# # The Hydra Core Vocabulary
|
10
|
+
# #
|
11
|
+
# # A lightweight vocabulary for hypermedia-driven Web APIs
|
12
|
+
# #
|
13
|
+
# # The Hydra Core Vocabulary is a lightweight vocabulary to create hypermedia-driven Web APIs. By specifying a number of concepts commonly used in Web APIs it enables the creation of generic API clients.
|
8
14
|
# class HYDRA < RDF::StrictVocabulary
|
15
|
+
# # The Hydra API documentation class
|
16
|
+
# # @return [RDF::Vocabulary::Term]
|
17
|
+
# attr_reader :ApiDocumentation
|
18
|
+
#
|
19
|
+
# # The class of Hydra classes. Hydra classes and their instances are dereferenceable resources.
|
20
|
+
# # @return [RDF::Vocabulary::Term]
|
21
|
+
# attr_reader :Class
|
22
|
+
#
|
23
|
+
# # A collection holding references to a number of related resources.
|
24
|
+
# # @return [RDF::Vocabulary::Term]
|
25
|
+
# attr_reader :Collection
|
26
|
+
#
|
27
|
+
# # A runtime error, used to report information beyond the returned status code.
|
28
|
+
# # @return [RDF::Vocabulary::Term]
|
29
|
+
# attr_reader :Error
|
30
|
+
#
|
31
|
+
# # The class of IRI templates.
|
32
|
+
# # @return [RDF::Vocabulary::Term]
|
33
|
+
# attr_reader :IriTemplate
|
34
|
+
#
|
35
|
+
# # A mapping from an IRI template variable to a property.
|
36
|
+
# # @return [RDF::Vocabulary::Term]
|
37
|
+
# attr_reader :IriTemplateMapping
|
38
|
+
#
|
39
|
+
# # The class of properties representing links.
|
40
|
+
# # @return [RDF::Vocabulary::Term]
|
41
|
+
# attr_reader :Link
|
42
|
+
#
|
43
|
+
# # An operation.
|
44
|
+
# # @return [RDF::Vocabulary::Term]
|
45
|
+
# attr_reader :Operation
|
46
|
+
#
|
47
|
+
# # A PartialCollectionView describes a partial view of a Collection. Multiple PartialCollectionViews can be connected with the the next/previous properties to allow a client to retrieve all members of the collection.
|
48
|
+
# # @return [RDF::Vocabulary::Term]
|
49
|
+
# attr_reader :PartialCollectionView
|
50
|
+
#
|
51
|
+
# # The class of dereferenceable resources.
|
52
|
+
# # @return [RDF::Vocabulary::Term]
|
53
|
+
# attr_reader :Resource
|
54
|
+
#
|
55
|
+
# # Additional information about a status code that might be returned.
|
56
|
+
# # @return [RDF::Vocabulary::Term]
|
57
|
+
# attr_reader :Status
|
58
|
+
#
|
59
|
+
# # A property known to be supported by a Hydra class.
|
60
|
+
# # @return [RDF::Vocabulary::Term]
|
61
|
+
# attr_reader :SupportedProperty
|
62
|
+
#
|
63
|
+
# # A templated link.
|
64
|
+
# # @return [RDF::Vocabulary::Term]
|
65
|
+
# attr_reader :TemplatedLink
|
66
|
+
#
|
67
|
+
# # A representation specifies how to serialize variable values into strings.
|
68
|
+
# # @return [RDF::Vocabulary::Term]
|
69
|
+
# attr_reader :VariableRepresentation
|
70
|
+
#
|
71
|
+
# # A description.
|
72
|
+
# # @return [RDF::Vocabulary::Term]
|
73
|
+
# attr_reader :description
|
74
|
+
#
|
75
|
+
# # Specification of the header expected by the operation.
|
76
|
+
# # @return [RDF::Vocabulary::Term]
|
77
|
+
# attr_reader :expectsHeader
|
78
|
+
#
|
79
|
+
# # A property representing a freetext query.
|
80
|
+
# # @return [RDF::Vocabulary::Term]
|
81
|
+
# attr_reader :freetextQuery
|
82
|
+
#
|
83
|
+
# # Instructs to limit set only to N elements.
|
84
|
+
# # @return [RDF::Vocabulary::Term]
|
85
|
+
# attr_reader :limit
|
86
|
+
#
|
87
|
+
# # A variable-to-property mapping of the IRI template.
|
88
|
+
# # @return [RDF::Vocabulary::Term]
|
89
|
+
# attr_reader :mapping
|
90
|
+
#
|
91
|
+
# # The HTTP method.
|
92
|
+
# # @return [RDF::Vocabulary::Term]
|
93
|
+
# attr_reader :method
|
94
|
+
#
|
95
|
+
# # Instructs to skip N elements of the set.
|
96
|
+
# # @return [RDF::Vocabulary::Term]
|
97
|
+
# attr_reader :offset
|
98
|
+
#
|
99
|
+
# # Instructs to provide a specific page of the collection at a given index.
|
100
|
+
# # @return [RDF::Vocabulary::Term]
|
101
|
+
# attr_reader :pageIndex
|
102
|
+
#
|
103
|
+
# # Instructs to provide a specific page reference of the collection.
|
104
|
+
# # @return [RDF::Vocabulary::Term]
|
105
|
+
# attr_reader :pageReference
|
106
|
+
#
|
107
|
+
# # A property
|
108
|
+
# # @return [RDF::Vocabulary::Term]
|
109
|
+
# attr_reader :property
|
110
|
+
#
|
111
|
+
# # True if the client can retrieve the property's value, false otherwise.
|
112
|
+
# # @return [RDF::Vocabulary::Term]
|
113
|
+
# attr_reader :readable
|
114
|
+
#
|
115
|
+
# # True if the property is required, false otherwise.
|
116
|
+
# # @return [RDF::Vocabulary::Term]
|
117
|
+
# attr_reader :required
|
118
|
+
#
|
119
|
+
# # Name of the header returned by the operation.
|
120
|
+
# # @return [RDF::Vocabulary::Term]
|
121
|
+
# attr_reader :returnsHeader
|
122
|
+
#
|
123
|
+
# # The HTTP status code
|
124
|
+
# # @return [RDF::Vocabulary::Term]
|
125
|
+
# attr_reader :statusCode
|
126
|
+
#
|
127
|
+
# # A templated string with placeholders. The literal's datatype indicates the template syntax; if not specified, hydra:Rfc6570Template is assumed.
|
128
|
+
# # @return [RDF::Vocabulary::Term]
|
129
|
+
# attr_reader :template
|
130
|
+
#
|
131
|
+
# # A title, often used along with a description.
|
132
|
+
# # @return [RDF::Vocabulary::Term]
|
133
|
+
# attr_reader :title
|
134
|
+
#
|
135
|
+
# # The total number of items referenced by a collection.
|
136
|
+
# # @return [RDF::Vocabulary::Term]
|
137
|
+
# attr_reader :totalItems
|
138
|
+
#
|
139
|
+
# # An IRI template variable
|
140
|
+
# # @return [RDF::Vocabulary::Term]
|
141
|
+
# attr_reader :variable
|
142
|
+
#
|
143
|
+
# # The representation format to use when expanding the IRI template.
|
144
|
+
# # @return [RDF::Vocabulary::Term]
|
145
|
+
# attr_reader :variableRepresentation
|
146
|
+
#
|
147
|
+
# # True if the client can change the property's value, false otherwise.
|
148
|
+
# # @return [RDF::Vocabulary::Term]
|
149
|
+
# attr_reader :writeable
|
150
|
+
#
|
151
|
+
# # An IRI template as defined by RFC6570.
|
152
|
+
# # @return [RDF::Vocabulary::Term]
|
153
|
+
# attr_reader :Rfc6570Template
|
154
|
+
#
|
155
|
+
# # A representation that serializes just the lexical form of a variable value, but omits language and type information.
|
156
|
+
# # @return [RDF::Vocabulary::Term]
|
157
|
+
# attr_reader :BasicRepresentation
|
158
|
+
#
|
159
|
+
# # A representation that serializes a variable value including its language and type information and thus differentiating between IRIs and literals.
|
160
|
+
# # @return [RDF::Vocabulary::Term]
|
161
|
+
# attr_reader :ExplicitRepresentation
|
162
|
+
#
|
163
|
+
# # A link to the API documentation
|
164
|
+
# # @return [RDF::Vocabulary::Term]
|
165
|
+
# attr_reader :apiDocumentation
|
166
|
+
#
|
167
|
+
# # Collections somehow related to this resource.
|
168
|
+
# # @return [RDF::Vocabulary::Term]
|
169
|
+
# attr_reader :collection
|
170
|
+
#
|
171
|
+
# # A link to main entry point of the Web API
|
172
|
+
# # @return [RDF::Vocabulary::Term]
|
173
|
+
# attr_reader :entrypoint
|
174
|
+
#
|
175
|
+
# # The information expected by the Web API.
|
176
|
+
# # @return [RDF::Vocabulary::Term]
|
177
|
+
# attr_reader :expects
|
178
|
+
#
|
179
|
+
# # The first resource of an interlinked set of resources.
|
180
|
+
# # @return [RDF::Vocabulary::Term]
|
181
|
+
# attr_reader :first
|
182
|
+
#
|
183
|
+
# # The last resource of an interlinked set of resources.
|
184
|
+
# # @return [RDF::Vocabulary::Term]
|
185
|
+
# attr_reader :last
|
186
|
+
#
|
187
|
+
# # Semantics of each member provided by the collection.
|
188
|
+
# # @return [RDF::Vocabulary::Term]
|
189
|
+
# attr_reader :manages
|
190
|
+
#
|
191
|
+
# # A member of the collection
|
192
|
+
# # @return [RDF::Vocabulary::Term]
|
193
|
+
# attr_reader :member
|
194
|
+
#
|
195
|
+
# # The resource following the current instance in an interlinked set of resources.
|
196
|
+
# # @return [RDF::Vocabulary::Term]
|
197
|
+
# attr_reader :next
|
198
|
+
#
|
199
|
+
# # The object.
|
200
|
+
# # @return [RDF::Vocabulary::Term]
|
201
|
+
# attr_reader :object
|
202
|
+
#
|
203
|
+
# # An operation supported by the Hydra resource
|
204
|
+
# # @return [RDF::Vocabulary::Term]
|
205
|
+
# attr_reader :operation
|
206
|
+
#
|
207
|
+
# # A status that might be returned by the Web API (other statuses should be expected and properly handled as well)
|
208
|
+
# # @return [RDF::Vocabulary::Term]
|
209
|
+
# attr_reader :possibleStatus
|
210
|
+
#
|
211
|
+
# # The resource preceding the current instance in an interlinked set of resources.
|
212
|
+
# # @return [RDF::Vocabulary::Term]
|
213
|
+
# attr_reader :previous
|
214
|
+
#
|
215
|
+
# # The information returned by the Web API on success
|
216
|
+
# # @return [RDF::Vocabulary::Term]
|
217
|
+
# attr_reader :returns
|
218
|
+
#
|
219
|
+
# # A IRI template that can be used to query a collection.
|
220
|
+
# # @return [RDF::Vocabulary::Term]
|
221
|
+
# attr_reader :search
|
222
|
+
#
|
223
|
+
# # The subject.
|
224
|
+
# # @return [RDF::Vocabulary::Term]
|
225
|
+
# attr_reader :subject
|
226
|
+
#
|
227
|
+
# # A class known to be supported by the Web API
|
228
|
+
# # @return [RDF::Vocabulary::Term]
|
229
|
+
# attr_reader :supportedClass
|
230
|
+
#
|
231
|
+
# # An operation supported by instances of the specific Hydra class or the target of the Hydra link
|
232
|
+
# # @return [RDF::Vocabulary::Term]
|
233
|
+
# attr_reader :supportedOperation
|
234
|
+
#
|
235
|
+
# # The properties known to be supported by a Hydra class
|
236
|
+
# # @return [RDF::Vocabulary::Term]
|
237
|
+
# attr_reader :supportedProperty
|
238
|
+
#
|
239
|
+
# # A specific view of a resource.
|
240
|
+
# # @return [RDF::Vocabulary::Term]
|
241
|
+
# attr_reader :view
|
242
|
+
#
|
9
243
|
# end
|
10
|
-
|
244
|
+
HYDRA = Class.new(RDF::StrictVocabulary("http://www.w3.org/ns/hydra/core#")) do
|
11
245
|
|
12
246
|
# Ontology definition
|
13
247
|
ontology :"http://www.w3.org/ns/hydra/core#",
|
@@ -438,7 +672,7 @@ module RDF::Vocab
|
|
438
672
|
"vs:term_status": "testing".freeze
|
439
673
|
term :supportedOperation,
|
440
674
|
comment: %(An operation supported by instances of the specific Hydra class or the target of the Hydra link).freeze,
|
441
|
-
domainIncludes: ["hydra:Class".freeze, "hydra:Link".freeze, "hydra:TemplatedLink".freeze],
|
675
|
+
domainIncludes: ["hydra:Class".freeze, "hydra:Link".freeze, "hydra:SupportedProperty".freeze, "hydra:TemplatedLink".freeze],
|
442
676
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
443
677
|
label: "supported operation".freeze,
|
444
678
|
range: "hydra:Operation".freeze,
|
data/lib/rdf/vocab/iana.rb
CHANGED
@@ -5,9 +5,238 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://www.iana.org/assignments/relation/>
|
8
|
+
# #
|
8
9
|
# class IANA < RDF::StrictVocabulary
|
10
|
+
# # Refers to a resource that is the subject of the link's context.
|
11
|
+
# # @return [RDF::Vocabulary::Term]
|
12
|
+
# attr_reader :about
|
13
|
+
#
|
14
|
+
# # Refers to a substitute for this context
|
15
|
+
# # @return [RDF::Vocabulary::Term]
|
16
|
+
# attr_reader :alternate
|
17
|
+
#
|
18
|
+
# # Refers to an appendix.
|
19
|
+
# # @return [RDF::Vocabulary::Term]
|
20
|
+
# attr_reader :appendix
|
21
|
+
#
|
22
|
+
# # Refers to a collection of records, documents, or other materials of historical interest.
|
23
|
+
# # @return [RDF::Vocabulary::Term]
|
24
|
+
# attr_reader :archives
|
25
|
+
#
|
26
|
+
# # Refers to the context's author.
|
27
|
+
# # @return [RDF::Vocabulary::Term]
|
28
|
+
# attr_reader :author
|
29
|
+
#
|
30
|
+
# # Gives a permanent link to use for bookmarking purposes.
|
31
|
+
# # @return [RDF::Vocabulary::Term]
|
32
|
+
# attr_reader :bookmark
|
33
|
+
#
|
34
|
+
# # Designates the preferred version of a resource (the IRI and its contents).
|
35
|
+
# # @return [RDF::Vocabulary::Term]
|
36
|
+
# attr_reader :canonical
|
37
|
+
#
|
38
|
+
# # Refers to a chapter in a collection of resources.
|
39
|
+
# # @return [RDF::Vocabulary::Term]
|
40
|
+
# attr_reader :chapter
|
41
|
+
#
|
42
|
+
# # The target IRI points to a resource which represents the collection resource for the context IRI.
|
43
|
+
# # @return [RDF::Vocabulary::Term]
|
44
|
+
# attr_reader :collection
|
45
|
+
#
|
46
|
+
# # Refers to a table of contents.
|
47
|
+
# # @return [RDF::Vocabulary::Term]
|
48
|
+
# attr_reader :contents
|
49
|
+
#
|
50
|
+
# # Refers to a copyright statement that applies to the link's context.
|
51
|
+
# # @return [RDF::Vocabulary::Term]
|
52
|
+
# attr_reader :copyright
|
53
|
+
#
|
54
|
+
# # Refers to a resource containing the most recent item(s) in a collection of resources.
|
55
|
+
# # @return [RDF::Vocabulary::Term]
|
56
|
+
# attr_reader :current
|
57
|
+
#
|
58
|
+
# # The target IRI points to a resource from which this material was derived.
|
59
|
+
# # @return [RDF::Vocabulary::Term]
|
60
|
+
# attr_reader :derivedfrom
|
61
|
+
#
|
62
|
+
# # Refers to a resource providing information about the link's context.
|
63
|
+
# # @return [RDF::Vocabulary::Term]
|
64
|
+
# attr_reader :describedby
|
65
|
+
#
|
66
|
+
# # The relationship A 'describes' B asserts that resource A provides a description of resource B. There are no constraints on the format or representation of either A or B, neither are there any further constraints on either resource.
|
67
|
+
# # @return [RDF::Vocabulary::Term]
|
68
|
+
# attr_reader :describes
|
69
|
+
#
|
70
|
+
# # Refers to a list of patent disclosures made with respect to material for which 'disclosure' relation is specified.
|
71
|
+
# # @return [RDF::Vocabulary::Term]
|
72
|
+
# attr_reader :disclosure
|
73
|
+
#
|
74
|
+
# # Refers to a resource whose available representations are byte-for-byte identical with the corresponding representations of the context IRI.
|
75
|
+
# # @return [RDF::Vocabulary::Term]
|
76
|
+
# attr_reader :duplicate
|
77
|
+
#
|
78
|
+
# # Refers to a resource that can be used to edit the link's context.
|
79
|
+
# # @return [RDF::Vocabulary::Term]
|
80
|
+
# attr_reader :edit
|
81
|
+
#
|
82
|
+
# # Identifies a related resource that is potentially large and might require special handling.
|
83
|
+
# # @return [RDF::Vocabulary::Term]
|
84
|
+
# attr_reader :enclosure
|
85
|
+
#
|
86
|
+
# # An IRI that refers to the furthest preceding resource in a series of resources.
|
87
|
+
# # @return [RDF::Vocabulary::Term]
|
88
|
+
# attr_reader :first
|
89
|
+
#
|
90
|
+
# # Refers to a glossary of terms.
|
91
|
+
# # @return [RDF::Vocabulary::Term]
|
92
|
+
# attr_reader :glossary
|
93
|
+
#
|
94
|
+
# # Refers to context-sensitive help.
|
95
|
+
# # @return [RDF::Vocabulary::Term]
|
96
|
+
# attr_reader :help
|
97
|
+
#
|
98
|
+
# # Refers to a resource hosted by the server indicated by the link context.
|
99
|
+
# # @return [RDF::Vocabulary::Term]
|
100
|
+
# attr_reader :hosts
|
101
|
+
#
|
102
|
+
# # Refers to a hub that enables registration for notification of updates to the context.
|
103
|
+
# # @return [RDF::Vocabulary::Term]
|
104
|
+
# attr_reader :hub
|
105
|
+
#
|
106
|
+
# # Refers to an icon representing the link's context.
|
107
|
+
# # @return [RDF::Vocabulary::Term]
|
108
|
+
# attr_reader :icon
|
109
|
+
#
|
110
|
+
# # Refers to an index.
|
111
|
+
# # @return [RDF::Vocabulary::Term]
|
112
|
+
# attr_reader :index
|
113
|
+
#
|
114
|
+
# # The target IRI points to a resource that is a member of the collection represented by the context IRI.
|
115
|
+
# # @return [RDF::Vocabulary::Term]
|
116
|
+
# attr_reader :item
|
117
|
+
#
|
118
|
+
# # An IRI that refers to the furthest following resource in a series of resources.
|
119
|
+
# # @return [RDF::Vocabulary::Term]
|
120
|
+
# attr_reader :last
|
121
|
+
#
|
122
|
+
# # Refers to a license associated with this context.
|
123
|
+
# # @return [RDF::Vocabulary::Term]
|
124
|
+
# attr_reader :license
|
125
|
+
#
|
126
|
+
# # Refers to further information about the link's context, expressed as a LRDD ("Link-based Resource Descriptor Document") resource. See [RFC6415] for information about processing this relation type in host-meta documents. When used elsewhere, it refers to additional links and other metadata. Multiple instances indicate additional LRDD resources. LRDD resources MUST have an "application/xrd+xml" representation, and MAY have others.
|
127
|
+
# # @return [RDF::Vocabulary::Term]
|
128
|
+
# attr_reader :lrdd
|
129
|
+
#
|
130
|
+
# # The Target IRI points to a Memento, a fixed resource that will not change state anymore.
|
131
|
+
# # @return [RDF::Vocabulary::Term]
|
132
|
+
# attr_reader :memento
|
133
|
+
#
|
134
|
+
# # Refers to a resource that can be used to monitor changes in an HTTP resource.
|
135
|
+
# # @return [RDF::Vocabulary::Term]
|
136
|
+
# attr_reader :monitor
|
137
|
+
#
|
138
|
+
# # Indicates that the link's context is a part of a series, and that the next in the series is the link target.
|
139
|
+
# # @return [RDF::Vocabulary::Term]
|
140
|
+
# attr_reader :next
|
141
|
+
#
|
142
|
+
# # Indicates that the context’s original author or publisher does not endorse the link target.
|
143
|
+
# # @return [RDF::Vocabulary::Term]
|
144
|
+
# attr_reader :nofollow
|
145
|
+
#
|
146
|
+
# # Indicates that no referrer information is to be leaked when following the link.
|
147
|
+
# # @return [RDF::Vocabulary::Term]
|
148
|
+
# attr_reader :noreferrer
|
149
|
+
#
|
150
|
+
# # The Target IRI points to an Original Resource.
|
151
|
+
# # @return [RDF::Vocabulary::Term]
|
152
|
+
# attr_reader :original
|
153
|
+
#
|
154
|
+
# # Indicates a resource where payment is accepted.
|
155
|
+
# # @return [RDF::Vocabulary::Term]
|
156
|
+
# attr_reader :payment
|
157
|
+
#
|
158
|
+
# # Indicates that the link target should be preemptively cached.
|
159
|
+
# # @return [RDF::Vocabulary::Term]
|
160
|
+
# attr_reader :prefetch
|
161
|
+
#
|
162
|
+
# # Indicates that the link's context is a part of a series, and that the previous in the series is the link target.
|
163
|
+
# # @return [RDF::Vocabulary::Term]
|
164
|
+
# attr_reader :prev
|
165
|
+
#
|
166
|
+
# # Refers to a resource that provides a preview of the link's context.
|
167
|
+
# # @return [RDF::Vocabulary::Term]
|
168
|
+
# attr_reader :preview
|
169
|
+
#
|
170
|
+
# # Refers to the previous resource in an ordered series of resources. Synonym for "prev".
|
171
|
+
# # @return [RDF::Vocabulary::Term]
|
172
|
+
# attr_reader :previous
|
173
|
+
#
|
174
|
+
# # Identifying that a resource representation conforms to a certain profile, without affecting the non-profile semantics of the resource representation.
|
175
|
+
# # @return [RDF::Vocabulary::Term]
|
176
|
+
# attr_reader :profile
|
177
|
+
#
|
178
|
+
# # Identifies a related resource.
|
179
|
+
# # @return [RDF::Vocabulary::Term]
|
180
|
+
# attr_reader :related
|
181
|
+
#
|
182
|
+
# # Identifies a resource that is a reply to the context of the link.
|
183
|
+
# # @return [RDF::Vocabulary::Term]
|
184
|
+
# attr_reader :replies
|
185
|
+
#
|
186
|
+
# # Refers to a resource that can be used to search through the link's context and related resources.
|
187
|
+
# # @return [RDF::Vocabulary::Term]
|
188
|
+
# attr_reader :search
|
189
|
+
#
|
190
|
+
# # Refers to a section in a collection of resources.
|
191
|
+
# # @return [RDF::Vocabulary::Term]
|
192
|
+
# attr_reader :section
|
193
|
+
#
|
194
|
+
# # Conveys an identifier for the link's context.
|
195
|
+
# # @return [RDF::Vocabulary::Term]
|
196
|
+
# attr_reader :self
|
197
|
+
#
|
198
|
+
# # Indicates a URI that can be used to retrieve a service document.
|
199
|
+
# # @return [RDF::Vocabulary::Term]
|
200
|
+
# attr_reader :service
|
201
|
+
#
|
202
|
+
# # Refers to the first resource in a collection of resources.
|
203
|
+
# # @return [RDF::Vocabulary::Term]
|
204
|
+
# attr_reader :start
|
205
|
+
#
|
206
|
+
# # Refers to a stylesheet.
|
207
|
+
# # @return [RDF::Vocabulary::Term]
|
208
|
+
# attr_reader :stylesheet
|
209
|
+
#
|
210
|
+
# # Refers to a resource serving as a subsection in a collection of resources.
|
211
|
+
# # @return [RDF::Vocabulary::Term]
|
212
|
+
# attr_reader :subsection
|
213
|
+
#
|
214
|
+
# # Gives a tag (identified by the given address) that applies to the current document.
|
215
|
+
# # @return [RDF::Vocabulary::Term]
|
216
|
+
# attr_reader :tag
|
217
|
+
#
|
218
|
+
# # The Target IRI points to a TimeGate for an Original Resource.
|
219
|
+
# # @return [RDF::Vocabulary::Term]
|
220
|
+
# attr_reader :timegate
|
221
|
+
#
|
222
|
+
# # The Target IRI points to a TimeMap for an Original Resource.
|
223
|
+
# # @return [RDF::Vocabulary::Term]
|
224
|
+
# attr_reader :timemap
|
225
|
+
#
|
226
|
+
# # Refers to a resource identifying the abstract semantic type of which the link's context is considered to be an instance.
|
227
|
+
# # @return [RDF::Vocabulary::Term]
|
228
|
+
# attr_reader :type
|
229
|
+
#
|
230
|
+
# # Refers to a parent document in a hierarchy of documents.
|
231
|
+
# # @return [RDF::Vocabulary::Term]
|
232
|
+
# attr_reader :up
|
233
|
+
#
|
234
|
+
# # Identifies a resource that is the source of the information in the link's context.
|
235
|
+
# # @return [RDF::Vocabulary::Term]
|
236
|
+
# attr_reader :via
|
237
|
+
#
|
9
238
|
# end
|
10
|
-
|
239
|
+
IANA = Class.new(RDF::StrictVocabulary("http://www.iana.org/assignments/relation/")) do
|
11
240
|
|
12
241
|
# Property definitions
|
13
242
|
property :about,
|