rdf 1.1.10 → 1.1.11

Sign up to get free protection for your applications and to get access to all the features.
data/lib/rdf/vocab/dc.rb CHANGED
@@ -2,6 +2,7 @@
2
2
  # This file generated automatically using vocab-fetch from http://purl.org/dc/terms/
3
3
  require 'rdf'
4
4
  module RDF
5
+ # @deprecated Please use `RDF::Vocab::DC` from the rdf-vocab gem instead
5
6
  class DC < RDF::StrictVocabulary("http://purl.org/dc/terms/")
6
7
 
7
8
  # Class definitions
@@ -2,6 +2,7 @@
2
2
  # This file generated automatically using vocab-fetch from http://purl.org/dc/elements/1.1/
3
3
  require 'rdf'
4
4
  module RDF
5
+ # @deprecated Please use `RDF::Vocab::DC11` from the rdf-vocab gem instead
5
6
  class DC11 < RDF::StrictVocabulary("http://purl.org/dc/elements/1.1/")
6
7
 
7
8
  # Property definitions
@@ -2,6 +2,7 @@
2
2
  # This file generated automatically using vocab-fetch from http://www.w3.org/ns/dcat#
3
3
  require 'rdf'
4
4
  module RDF
5
+ # @deprecated Please use `RDF::Vocab::DCAT` from the rdf-vocab gem instead
5
6
  class DCAT < RDF::StrictVocabulary("http://www.w3.org/ns/dcat#")
6
7
 
7
8
  # Class definitions
@@ -50,22 +51,22 @@ module RDF
50
51
  comment: %(represents a downloadable distribution of a dataset. This term has been deprecated).freeze,
51
52
  label: "Download (Deprecated)".freeze,
52
53
  "owl:deprecated" => %(true).freeze,
53
- "rdfs:isDefinedBy" => %(http://www.w3.org/ns/dcat#).freeze,
54
- subClassOf: "http://www.w3.org/ns/dcat#Distribution".freeze,
54
+ "rdfs:isDefinedBy" => %(dcat:).freeze,
55
+ subClassOf: "dcat:Distribution".freeze,
55
56
  type: ["rdfs:Class".freeze, "owl:Class".freeze]
56
57
  term :Feed,
57
58
  comment: %(represents availability of a dataset as a feed. This term has been deprecated).freeze,
58
59
  label: "Feed (Deprecated)".freeze,
59
60
  "owl:deprecated" => %(true).freeze,
60
- "rdfs:isDefinedBy" => %(http://www.w3.org/ns/dcat#).freeze,
61
- subClassOf: "http://www.w3.org/ns/dcat#Distribution".freeze,
61
+ "rdfs:isDefinedBy" => %(dcat:).freeze,
62
+ subClassOf: "dcat:Distribution".freeze,
62
63
  type: ["rdfs:Class".freeze, "owl:Class".freeze]
63
64
  term :WebService,
64
65
  comment: %(represents a web service that enables access to the data of a dataset. This term has been deprecated).freeze,
65
66
  label: "Web Service (Deprecated)".freeze,
66
67
  "owl:deprecated" => %(true).freeze,
67
- "rdfs:isDefinedBy" => %(http://www.w3.org/ns/dcat#).freeze,
68
- subClassOf: "http://www.w3.org/ns/dcat#Distribution".freeze,
68
+ "rdfs:isDefinedBy" => %(dcat:).freeze,
69
+ subClassOf: "dcat:Distribution".freeze,
69
70
  type: ["rdfs:Class".freeze, "owl:Class".freeze]
70
71
 
71
72
  # Property definitions
@@ -73,7 +74,7 @@ module RDF
73
74
  comment: %(Could be any kind of URL that gives access to a distribution of the dataset. E.g. landing page,
74
75
  download, feed URL, SPARQL endpoint. Use when your catalog does not have information on which it
75
76
  is or when it is definitely not a download.).freeze,
76
- domain: "http://www.w3.org/ns/dcat#Distribution".freeze,
77
+ domain: "dcat:Distribution".freeze,
77
78
  "http://purl.org/vocab/vann/usageNote" => %(The value is a URL.
78
79
  If the distribution\(s\) are accessible only through a landing page \(i.e. direct download URLs are
79
80
  not known\), then the landing page link should be duplicated as accessURL on a distribution.).freeze,
@@ -83,7 +84,7 @@ module RDF
83
84
  type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
84
85
  property :byteSize,
85
86
  comment: %(The size of a distribution in bytes.).freeze,
86
- domain: "http://www.w3.org/ns/dcat#Distribution".freeze,
87
+ domain: "dcat:Distribution".freeze,
87
88
  "http://purl.org/vocab/vann/usageNote" => %(The size in bytes can be approximated when the precise size is not known.
88
89
  The literal value of dcat:byteSize should by typed as xsd:decimal).freeze,
89
90
  label: "byte size".freeze,
@@ -92,52 +93,52 @@ module RDF
92
93
  type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
93
94
  property :bytes,
94
95
  comment: %(describe size of resource in bytes. This term has been deprecated).freeze,
95
- domain: "http://www.w3.org/ns/dcat#Distribution".freeze,
96
+ domain: "dcat:Distribution".freeze,
96
97
  label: "size in bytes (Deprecated)".freeze,
97
98
  "owl:deprecated" => %(true).freeze,
98
99
  range: "xsd:integer".freeze,
99
- "rdfs:isDefinedBy" => %(http://www.w3.org/ns/dcat#).freeze,
100
+ "rdfs:isDefinedBy" => %(dcat:).freeze,
100
101
  type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
101
102
  property :contactPoint,
102
103
  comment: %(Links a dataset to relevant contact information which is provided using VCard.).freeze,
103
- domain: "http://www.w3.org/ns/dcat#Dataset".freeze,
104
+ domain: "dcat:Dataset".freeze,
104
105
  label: "contact point".freeze,
105
106
  range: "vcard:Kind".freeze,
106
107
  "rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
107
108
  type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
108
109
  property :dataDictionary,
109
110
  comment: %(links a dataset to a dictionary that helps interpreting the data. This term has been deprecated).freeze,
110
- domain: "http://www.w3.org/ns/dcat#Dataset".freeze,
111
+ domain: "dcat:Dataset".freeze,
111
112
  label: "data dictionary (Deprecated)".freeze,
112
113
  "owl:deprecated" => %(true).freeze,
113
- "rdfs:isDefinedBy" => %(http://www.w3.org/ns/dcat#).freeze,
114
+ "rdfs:isDefinedBy" => %(dcat:).freeze,
114
115
  type: "rdf:Property".freeze
115
116
  property :dataQuality,
116
117
  comment: %(describes the quality of data e.g. precision. This should not be used to describe the data collection characteristics, other more specialized statistical properties can be used instead. This term has been deprecated).freeze,
117
- domain: "http://www.w3.org/ns/dcat#Dataset".freeze,
118
+ domain: "dcat:Dataset".freeze,
118
119
  label: "data quality (Deprecated)".freeze,
119
120
  "owl:deprecated" => %(true).freeze,
120
- "rdfs:isDefinedBy" => %(http://www.w3.org/ns/dcat#).freeze,
121
+ "rdfs:isDefinedBy" => %(dcat:).freeze,
121
122
  type: "rdf:Property".freeze
122
123
  property :dataset,
123
124
  comment: %(Links a catalog to a dataset that is part of the catalog.).freeze,
124
- domain: "http://www.w3.org/ns/dcat#Catalog".freeze,
125
+ domain: "dcat:Catalog".freeze,
125
126
  label: "dataset".freeze,
126
- range: "http://www.w3.org/ns/dcat#Dataset".freeze,
127
+ range: "dcat:Dataset".freeze,
127
128
  "rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
128
129
  subPropertyOf: "dc:hasPart".freeze,
129
130
  type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
130
131
  property :distribution,
131
132
  comment: %(Connects a dataset to one of its available distributions.).freeze,
132
- domain: "http://www.w3.org/ns/dcat#Dataset".freeze,
133
+ domain: "dcat:Dataset".freeze,
133
134
  label: "distribution".freeze,
134
- range: "http://www.w3.org/ns/dcat#Distribution".freeze,
135
+ range: "dcat:Distribution".freeze,
135
136
  "rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
136
137
  type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
137
138
  property :downloadURL,
138
139
  comment: %(This is a direct link to a downloadable file in a given format. E.g. CSV file or RDF file. The
139
140
  format is described by the distribution's dc:format and/or dcat:mediaType).freeze,
140
- domain: "http://www.w3.org/ns/dcat#Distribution".freeze,
141
+ domain: "dcat:Distribution".freeze,
141
142
  "http://purl.org/vocab/vann/usageNote" => %(The value is a URL.).freeze,
142
143
  label: "download URL".freeze,
143
144
  range: "rdfs:Resource".freeze,
@@ -145,14 +146,14 @@ module RDF
145
146
  type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
146
147
  property :granularity,
147
148
  comment: %(describes the level of granularity of data in a dataset. The granularity can be in time, place etc. This term has been deprecated).freeze,
148
- domain: "http://www.w3.org/ns/dcat#Dataset".freeze,
149
+ domain: "dcat:Dataset".freeze,
149
150
  label: "granularity (Deprecated)".freeze,
150
151
  "owl:deprecated" => %(true).freeze,
151
- "rdfs:isDefinedBy" => %(http://www.w3.org/ns/dcat#).freeze,
152
+ "rdfs:isDefinedBy" => %(dcat:).freeze,
152
153
  type: "rdf:Property".freeze
153
154
  property :keyword,
154
155
  comment: %(A keyword or tag describing the dataset.).freeze,
155
- domain: "http://www.w3.org/ns/dcat#Dataset".freeze,
156
+ domain: "dcat:Dataset".freeze,
156
157
  label: "keyword".freeze,
157
158
  range: "rdfs:Literal".freeze,
158
159
  "rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
@@ -160,18 +161,18 @@ module RDF
160
161
  type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
161
162
  property :landingPage,
162
163
  comment: %(A Web page that can be navigated to in a Web browser to gain access to the dataset, its distributions and/or additional information.).freeze,
163
- domain: "http://www.w3.org/ns/dcat#Dataset".freeze,
164
+ domain: "dcat:Dataset".freeze,
164
165
  "http://purl.org/vocab/vann/usageNote" => %(If the distribution\(s\) are accessible only through a landing page \(i.e. direct download
165
166
  URLs are not known\), then the landing page link should be duplicated as accessURL on a distribution.).freeze,
166
167
  label: "landing page".freeze,
167
168
  range: "foaf:Document".freeze,
168
169
  "rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
169
- subPropertyOf: "foaf:Page".freeze,
170
+ subPropertyOf: "foaf:page".freeze,
170
171
  type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
171
172
  property :mediaType,
172
173
  comment: %(This property SHOULD be used when the media type of the distribution is defined
173
174
  in IANA, otherwise dct:format MAY be used with different values.).freeze,
174
- domain: "http://www.w3.org/ns/dcat#Distribution".freeze,
175
+ domain: "dcat:Distribution".freeze,
175
176
  label: "media type".freeze,
176
177
  range: "dc:MediaTypeOrExtent".freeze,
177
178
  "rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
@@ -179,22 +180,22 @@ module RDF
179
180
  type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
180
181
  property :record,
181
182
  comment: %(Links a catalog to its records.).freeze,
182
- domain: "http://www.w3.org/ns/dcat#Catalog".freeze,
183
+ domain: "dcat:Catalog".freeze,
183
184
  label: "record".freeze,
184
- range: "http://www.w3.org/ns/dcat#CatalogRecord".freeze,
185
+ range: "dcat:CatalogRecord".freeze,
185
186
  "rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
186
187
  type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
187
188
  property :size,
188
189
  comment: %(the size of a distribution. This term has been deprecated).freeze,
189
- domain: "http://www.w3.org/ns/dcat#Distribution".freeze,
190
+ domain: "dcat:Distribution".freeze,
190
191
  label: "size (Deprecated)".freeze,
191
192
  "owl:deprecated" => %(true).freeze,
192
- "rdfs:isDefinedBy" => %(http://www.w3.org/ns/dcat#).freeze,
193
+ "rdfs:isDefinedBy" => %(dcat:).freeze,
193
194
  subPropertyOf: "dc:extent".freeze,
194
195
  type: "rdf:Property".freeze
195
196
  property :theme,
196
197
  comment: %(The main category of the dataset. A dataset can have multiple themes.).freeze,
197
- domain: "http://www.w3.org/ns/dcat#Dataset".freeze,
198
+ domain: "dcat:Dataset".freeze,
198
199
  "http://purl.org/vocab/vann/usageNote" => %(The set of skos:Concepts used to categorize the datasets are organized in
199
200
  a skos:ConceptScheme describing all the categories and their relations in the catalog.).freeze,
200
201
  label: "theme".freeze,
@@ -204,7 +205,7 @@ module RDF
204
205
  type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
205
206
  property :themeTaxonomy,
206
207
  comment: %(The knowledge organization system \(KOS\) used to classify catalog's datasets.).freeze,
207
- domain: "http://www.w3.org/ns/dcat#Catalog".freeze,
208
+ domain: "dcat:Catalog".freeze,
208
209
  label: "theme taxonomy".freeze,
209
210
  range: "skos:ConceptScheme".freeze,
210
211
  "rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
@@ -2,6 +2,7 @@
2
2
  # This file generated automatically using vocab-fetch from http://usefulinc.com/ns/doap#
3
3
  require 'rdf'
4
4
  module RDF
5
+ # @deprecated Please use `RDF::Vocab::DOAP` from the rdf-vocab gem instead
5
6
  class DOAP < RDF::StrictVocabulary("http://usefulinc.com/ns/doap#")
6
7
 
7
8
  # Class definitions
@@ -2,6 +2,7 @@
2
2
  # This file generated automatically using vocab-fetch from http://www.w3.org/2003/12/exif/ns#
3
3
  require 'rdf'
4
4
  module RDF
5
+ # @deprecated Please use `RDF::Vocab::EXIF` from the rdf-vocab gem instead
5
6
  class EXIF < RDF::StrictVocabulary("http://www.w3.org/2003/12/exif/ns#")
6
7
 
7
8
  # Class definitions
@@ -815,19 +816,19 @@ Interoperability IFD may be defined dependently to each Interoperability rule.).
815
816
  comment: %(DateTime subseconds).freeze,
816
817
  "exif:tagNumber" => %(37520).freeze,
817
818
  label: "SubSecTime".freeze,
818
- subPropertyOf: ["exif:dateAndOrTime".freeze, "exif:subsecond".freeze],
819
+ subPropertyOf: ["exif:dateAndOrTime".freeze, "exif:subseconds".freeze],
819
820
  type: "rdf:Property".freeze
820
821
  property :subSecTimeDigitized,
821
822
  comment: %(DateTimeDigitized subseconds).freeze,
822
823
  "exif:tagNumber" => %(37522).freeze,
823
824
  label: "SubSecTimeDigitized".freeze,
824
- subPropertyOf: ["exif:dateAndOrTime".freeze, "exif:subsecond".freeze],
825
+ subPropertyOf: ["exif:dateAndOrTime".freeze, "exif:subseconds".freeze],
825
826
  type: "rdf:Property".freeze
826
827
  property :subSecTimeOriginal,
827
828
  comment: %(DateTimeOriginal subseconds).freeze,
828
829
  "exif:tagNumber" => %(37521).freeze,
829
830
  label: "SubSecTimeOriginal".freeze,
830
- subPropertyOf: ["exif:dateAndOrTime".freeze, "exif:subsecond".freeze],
831
+ subPropertyOf: ["exif:dateAndOrTime".freeze, "exif:subseconds".freeze],
831
832
  type: "rdf:Property".freeze
832
833
  property :subjectArea,
833
834
  comment: %(The location and area of the main subject in the overall scene.).freeze,
@@ -2,6 +2,7 @@
2
2
  # This file generated automatically using vocab-fetch from http://xmlns.com/foaf/0.1/
3
3
  require 'rdf'
4
4
  module RDF
5
+ # @deprecated Please use `RDF::Vocab::FOAF` from the rdf-vocab gem instead
5
6
  class FOAF < RDF::StrictVocabulary("http://xmlns.com/foaf/0.1/")
6
7
 
7
8
  # Class definitions
data/lib/rdf/vocab/geo.rb CHANGED
@@ -2,6 +2,7 @@
2
2
  # This file generated automatically using vocab-fetch from http://www.w3.org/2003/01/geo/wgs84_pos#
3
3
  require 'rdf'
4
4
  module RDF
5
+ # @deprecated Please use `RDF::Vocab::GEO` from the rdf-vocab gem instead
5
6
  class GEO < RDF::StrictVocabulary("http://www.w3.org/2003/01/geo/wgs84_pos#")
6
7
 
7
8
  # Class definitions
data/lib/rdf/vocab/gr.rb CHANGED
@@ -2,6 +2,7 @@
2
2
  # This file generated automatically using vocab-fetch from http://www.heppnetz.de/ontologies/goodrelations/v1.owl
3
3
  require 'rdf'
4
4
  module RDF
5
+ # @deprecated Please use `RDF::Vocab::GR` from the rdf-vocab gem instead
5
6
  class GR < RDF::StrictVocabulary("http://purl.org/goodrelations/v1#")
6
7
 
7
8
  # Class definitions
data/lib/rdf/vocab/ht.rb CHANGED
@@ -1,320 +1,236 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # This file generated automatically using vocab-fetch from http://www.w3.org/2006/http#
2
+ # This file generated automatically using vocab-fetch from http://www.w3.org/2011/http#
3
3
  require 'rdf'
4
4
  module RDF
5
- class HT < RDF::StrictVocabulary("http://www.w3.org/2006/http#")
5
+ # @deprecated Please use `RDF::Vocab::HT` from the rdf-vocab gem instead
6
+ class HT < RDF::StrictVocabulary("http://www.w3.org/2011/http#")
6
7
 
7
8
  # Class definitions
8
- term :ConnectRequest,
9
- comment: %(The CONNECT request).freeze,
10
- label: "Connect".freeze,
11
- subClassOf: "ht:Request".freeze,
12
- type: "rdfs:Class".freeze
13
9
  term :Connection,
14
- comment: %(An HTTP connection).freeze,
10
+ comment: %(A connection used for HTTP transfer.).freeze,
15
11
  label: "Connection".freeze,
16
- type: "rdfs:Class".freeze
17
- term :DeleteRequest,
18
- comment: %(The DELETE request).freeze,
19
- label: "Delete".freeze,
20
- subClassOf: "ht:Request".freeze,
21
- type: "rdfs:Class".freeze
22
- term :GetRequest,
23
- comment: %(The GET request).freeze,
24
- label: "Get".freeze,
25
- subClassOf: "ht:Request".freeze,
26
- type: "rdfs:Class".freeze
27
- term :HeadRequest,
28
- comment: %(The HEAD request).freeze,
29
- label: "Head".freeze,
30
- subClassOf: "ht:Request".freeze,
31
- type: "rdfs:Class".freeze
12
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
13
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
14
+ term :EntityHeader,
15
+ comment: %(An entity header in an HTTP message.).freeze,
16
+ label: "Entity Header".freeze,
17
+ subClassOf: "http://www.w3.org/2011/http#MessageHeader".freeze,
18
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
19
+ term :GeneralHeader,
20
+ comment: %(A general header in an HTTP message.).freeze,
21
+ label: "General Header".freeze,
22
+ subClassOf: "http://www.w3.org/2011/http#MessageHeader".freeze,
23
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
32
24
  term :HeaderElement,
33
- comment: %(An element of a comma-separated list in a field value).freeze,
34
- label: "Header element".freeze,
35
- type: "rdfs:Class".freeze
25
+ comment: %(A part of a deconstructed header value.).freeze,
26
+ label: "Header Element".freeze,
27
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
36
28
  term :HeaderName,
37
- label: "HeaderName".freeze,
38
- type: "owl:Class".freeze
29
+ comment: %(A header name.).freeze,
30
+ label: "Header Name".freeze,
31
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
32
+ term :Message,
33
+ comment: %(An HTTP message.).freeze,
34
+ label: "Message".freeze,
35
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
36
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
39
37
  term :MessageHeader,
40
- comment: %(A message header according to section 4.2 of HTTP 1.1).freeze,
41
- label: "Message header".freeze,
42
- type: "rdfs:Class".freeze
43
- term :NewResponseCode,
44
- comment: %(New HTTP Response Code. If you want to define new header names, subclass this stub.).freeze,
45
- label: "New Response Code".freeze,
46
- type: ["owl:Thing".freeze, "rdfs:Class".freeze]
47
- term :OptionsRequest,
48
- comment: %(The OPTIONS request).freeze,
49
- label: "Options".freeze,
50
- subClassOf: "ht:Request".freeze,
51
- type: "rdfs:Class".freeze
52
- term :Param,
53
- comment: %(A parameter for a header element).freeze,
38
+ comment: %(A header in an HTTP message.).freeze,
39
+ label: "Message Header".freeze,
40
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
41
+ term :Method,
42
+ comment: %(The HTTP method used for the request.).freeze,
43
+ label: "Method".freeze,
44
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
45
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
46
+ term :Parameter,
47
+ comment: %(A parameter for a part of a header value.).freeze,
54
48
  label: "Parameter".freeze,
55
- type: "rdfs:Class".freeze
56
- term :PostRequest,
57
- comment: %(The POST request).freeze,
58
- label: "Post".freeze,
59
- subClassOf: "ht:Request".freeze,
60
- type: "rdfs:Class".freeze
61
- term :PutRequest,
62
- comment: %(The PUT request).freeze,
63
- label: "Put".freeze,
64
- subClassOf: "ht:Request".freeze,
65
- type: "rdfs:Class".freeze
49
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
66
50
  term :Request,
67
- comment: %(An HTTP request).freeze,
51
+ comment: %(An HTTP request.).freeze,
68
52
  label: "Request".freeze,
69
- type: "rdfs:Class".freeze
70
- term :RequestURI,
71
- comment: %(The HTTP request URI).freeze,
72
- label: "Request URI".freeze,
73
- type: "rdfs:Class".freeze
53
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
54
+ subClassOf: "http://www.w3.org/2011/http#Message".freeze,
55
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
56
+ term :RequestHeader,
57
+ comment: %(A header in an HTTP request message.).freeze,
58
+ label: "Request Header".freeze,
59
+ subClassOf: "http://www.w3.org/2011/http#MessageHeader".freeze,
60
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
74
61
  term :Response,
75
- comment: %(The HTTP Response).freeze,
62
+ comment: %(An HTTP response.).freeze,
76
63
  label: "Response".freeze,
77
- type: "rdfs:Class".freeze
78
- term :ResponseCode,
79
- comment: %(The HTTP Response Code).freeze,
80
- label: "Response code".freeze,
81
- type: ["owl:Class".freeze, "rdfs:Class".freeze]
82
- term :TraceRequest,
83
- comment: %(The TRACE request).freeze,
84
- label: "Trace".freeze,
85
- subClassOf: "ht:Request".freeze,
86
- type: "rdfs:Class".freeze
64
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
65
+ subClassOf: "http://www.w3.org/2011/http#Message".freeze,
66
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
67
+ term :ResponseHeader,
68
+ comment: %(A header in an HTTP response message.).freeze,
69
+ label: "Response Header".freeze,
70
+ subClassOf: "http://www.w3.org/2011/http#MessageHeader".freeze,
71
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
72
+ term :StatusCode,
73
+ comment: %(The status code of an HTTP response.).freeze,
74
+ label: "Status code".freeze,
75
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
76
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
87
77
 
88
78
  # Property definitions
89
- property :abs_path,
90
- comment: %(An absolute path used as request URI).freeze,
79
+ property :absolutePath,
80
+ comment: %(The absolute path sort of request URI.).freeze,
91
81
  label: "Absolute path".freeze,
92
- subPropertyOf: "ht:requestURI".freeze,
82
+ subPropertyOf: "http://www.w3.org/2011/http#requestURI".freeze,
93
83
  type: "rdf:Property".freeze
94
84
  property :absoluteURI,
95
- comment: %(An absolute request URI).freeze,
96
- label: "Absolute request URI".freeze,
97
- subPropertyOf: "ht:requestURI".freeze,
85
+ comment: %(The absolute request URI.).freeze,
86
+ label: "Absolute URI".freeze,
87
+ subPropertyOf: "http://www.w3.org/2011/http#requestURI".freeze,
98
88
  type: "rdf:Property".freeze
99
89
  property :authority,
100
- comment: %(An authority used as request URI).freeze,
90
+ comment: %(The authority sort of request URI.).freeze,
101
91
  label: "Authority".freeze,
102
- subPropertyOf: "ht:requestURI".freeze,
92
+ subPropertyOf: "http://www.w3.org/2011/http#requestURI".freeze,
103
93
  type: "rdf:Property".freeze
104
94
  property :body,
105
- comment: %(The HTTP entity body).freeze,
106
- label: "Entity body".freeze,
107
- type: "rdf:Property".freeze
95
+ comment: %(The entity body of an HTTP message.).freeze,
96
+ domain: "http://www.w3.org/2011/http#Message".freeze,
97
+ label: "Entity Body".freeze,
98
+ range: "http://www.w3.org/2011/content#ContentAsBase64".freeze,
99
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
100
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
108
101
  property :connectionAuthority,
109
- comment: %(An HTTP Connection authority).freeze,
110
- domain: "ht:Connection".freeze,
102
+ comment: %(The authority of a connection used for the HTTP transfer.).freeze,
103
+ domain: "http://www.w3.org/2011/http#Connection".freeze,
111
104
  label: "Connection authority".freeze,
112
- type: "rdf:Property".freeze
105
+ range: "rdfs:Literal".freeze,
106
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
113
107
  property :elementName,
114
- comment: %(Has an element name).freeze,
115
- domain: "ht:HeaderElement".freeze,
116
- label: "Element name".freeze,
108
+ comment: %(The name of a header element.).freeze,
109
+ domain: "http://www.w3.org/2011/http#HeaderElement".freeze,
110
+ label: "Header element name".freeze,
117
111
  range: "rdfs:Literal".freeze,
118
- type: "rdf:Property".freeze
112
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
119
113
  property :elementValue,
120
- comment: %(Has an element value).freeze,
121
- domain: "ht:HeaderElement".freeze,
122
- label: "Element value".freeze,
114
+ comment: %(The value of a header element.).freeze,
115
+ domain: "http://www.w3.org/2011/http#HeaderElement".freeze,
116
+ label: "Header element value".freeze,
123
117
  range: "rdfs:Literal".freeze,
124
- type: "rdf:Property".freeze
118
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
125
119
  property :fieldName,
126
- comment: %(Has a field name).freeze,
127
- domain: "ht:MessageHeader".freeze,
120
+ comment: %(The name of an HTTP header field.).freeze,
121
+ domain: "http://www.w3.org/2011/http#MessageHeader".freeze,
128
122
  label: "Field name".freeze,
129
- type: "rdf:Property".freeze
123
+ range: "rdfs:Literal".freeze,
124
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
130
125
  property :fieldValue,
131
- comment: %(Has a field value).freeze,
132
- domain: "ht:MessageHeader".freeze,
126
+ comment: %(The value of an HTTP header field.).freeze,
127
+ domain: "http://www.w3.org/2011/http#MessageHeader".freeze,
133
128
  label: "Field value".freeze,
134
- type: "rdf:Property".freeze
135
- property :header,
136
- comment: %(Has a header).freeze,
137
- label: "Header".freeze,
138
- range: "ht:MessageHeader".freeze,
139
- type: "rdf:Property".freeze
140
- property :param,
141
- comment: %(Has a parameter).freeze,
142
- domain: "ht:HeaderElement".freeze,
143
- label: "Parameter".freeze,
144
- range: "ht:Param".freeze,
145
- type: "rdf:Property".freeze
129
+ range: "rdfs:Literal".freeze,
130
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
131
+ property :hdrName,
132
+ comment: %(The name of an HTTP header.).freeze,
133
+ domain: "http://www.w3.org/2011/http#MessageHeader".freeze,
134
+ label: "Header name".freeze,
135
+ range: "http://www.w3.org/2011/http#HeaderName".freeze,
136
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
137
+ property :headerElements,
138
+ comment: %(The deconstructed parts of an HTTP header value.).freeze,
139
+ domain: "http://www.w3.org/2011/http#MessageHeader".freeze,
140
+ label: "Header elements".freeze,
141
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
142
+ property :headers,
143
+ comment: %(The headers in an HTTP message.).freeze,
144
+ domain: "http://www.w3.org/2011/http#Message".freeze,
145
+ label: "Headers".freeze,
146
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
147
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
148
+ property :httpVersion,
149
+ comment: %(The HTTP version of an HTTP message.).freeze,
150
+ domain: "http://www.w3.org/2011/http#Message".freeze,
151
+ label: "HTTP version".freeze,
152
+ range: "rdfs:Literal".freeze,
153
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
154
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
155
+ property :methodName,
156
+ comment: %(The HTTP method name used for the HTTP request.).freeze,
157
+ domain: "http://www.w3.org/2011/http#Request".freeze,
158
+ label: "Method name".freeze,
159
+ range: "rdfs:Literal".freeze,
160
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
161
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
162
+ property :mthd,
163
+ comment: %(The HTTP method used for the HTTP request.).freeze,
164
+ domain: "http://www.w3.org/2011/http#Request".freeze,
165
+ label: "Method".freeze,
166
+ range: "http://www.w3.org/2011/http#Method".freeze,
167
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
168
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
146
169
  property :paramName,
147
- comment: %(Has a parameter name).freeze,
148
- domain: "ht:Param".freeze,
170
+ comment: %(The name of a parameter in a part of a deconstructed HTTP header value.).freeze,
171
+ domain: "http://www.w3.org/2011/http#Parameter".freeze,
149
172
  label: "Parameter name".freeze,
150
173
  range: "rdfs:Literal".freeze,
151
- type: "rdf:Property".freeze
174
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
152
175
  property :paramValue,
153
- comment: %(Has a parameter value).freeze,
154
- domain: "ht:Param".freeze,
176
+ comment: %(The value of a parameter in a part of a deconstructed HTTP header value.).freeze,
177
+ domain: "http://www.w3.org/2011/http#Parameter".freeze,
155
178
  label: "Parameter value".freeze,
156
179
  range: "rdfs:Literal".freeze,
157
- type: "rdf:Property".freeze
158
- property :request,
159
- comment: %(Has an HTTP request).freeze,
160
- domain: "ht:Connection".freeze,
161
- label: "Request".freeze,
162
- range: "ht:Request".freeze,
163
- type: "rdf:Property".freeze
180
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
181
+ property :params,
182
+ comment: %(The parameters in a part of a deconstructed HTTP header value.).freeze,
183
+ domain: "http://www.w3.org/2011/http#HeaderElement".freeze,
184
+ label: "Header parameters".freeze,
185
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
186
+ property :reasonPhrase,
187
+ comment: %(The reason phrase \(status text\) of an HTTP response.).freeze,
188
+ domain: "http://www.w3.org/2011/http#Response".freeze,
189
+ label: "Reason phrase".freeze,
190
+ range: "rdfs:Literal".freeze,
191
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
192
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
164
193
  property :requestURI,
165
- comment: %(Has an HTTP request URI).freeze,
166
- domain: "ht:Request".freeze,
194
+ comment: %(The request URI of an HTTP request.).freeze,
195
+ domain: "http://www.w3.org/2011/http#Request".freeze,
167
196
  label: "Request URI".freeze,
168
- range: "ht:RequestURI".freeze,
169
- type: "rdf:Property".freeze
170
- property :response,
171
- comment: %(Has an HTTP response).freeze,
172
- domain: "ht:Request".freeze,
197
+ range: "rdfs:Literal".freeze,
198
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
199
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
200
+ property :requests,
201
+ comment: %(The HTTP requests made via a connection.).freeze,
202
+ domain: "http://www.w3.org/2011/http#Connection".freeze,
203
+ label: "Requests".freeze,
204
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
205
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
206
+ property :resp,
207
+ comment: %(The HTTP response sent in answer to an HTTP request.).freeze,
208
+ domain: "http://www.w3.org/2011/http#Request".freeze,
173
209
  label: "Response".freeze,
174
- range: "ht:Response".freeze,
175
- type: "rdf:Property".freeze
176
- property :responseCode,
177
- comment: %(Has an HTTP response code).freeze,
178
- domain: "ht:Response".freeze,
179
- label: "Response code".freeze,
180
- type: "rdf:Property".freeze
181
- property :version,
182
- comment: %(The HTTP version).freeze,
183
- label: "Version".freeze,
184
- type: "rdf:Property".freeze
185
-
186
- # Extra definitions
187
- term :"",
188
- comment: [%(A namespace for describing HTTP messages
189
- \(http://www.w3.org/Protocols/rfc2616/rfc2616.html\)).freeze, %(This has been obsoleted by http://www.w3.org/2011/http.rdfs).freeze],
190
- label: "".freeze,
191
- "rdfs:seeAlso" => %(http://www.w3.org/2011/http.rdfs).freeze
192
- term :"100",
193
- label: "Continue".freeze,
194
- type: "owl:Thing".freeze
195
- term :"101",
196
- label: "Switching Protocols".freeze,
197
- type: "owl:Thing".freeze
198
- term :"200",
199
- label: "OK".freeze,
200
- type: "owl:Thing".freeze
201
- term :"201",
202
- label: "Created".freeze,
203
- type: "owl:Thing".freeze
204
- term :"202",
205
- label: "Accepted".freeze,
206
- type: "owl:Thing".freeze
207
- term :"203",
208
- label: "Non-Authoritative Information".freeze,
209
- type: "owl:Thing".freeze
210
- term :"204",
211
- label: "No Content".freeze,
212
- type: "owl:Thing".freeze
213
- term :"205",
214
- label: "Reset Content".freeze,
215
- type: "owl:Thing".freeze
216
- term :"206",
217
- label: "Partial Content".freeze,
218
- type: "owl:Thing".freeze
219
- term :"300",
220
- label: "Multiple Choices".freeze,
221
- type: "owl:Thing".freeze
222
- term :"301",
223
- label: "Moved Permanently".freeze,
224
- type: "owl:Thing".freeze
225
- term :"302",
226
- label: "Found".freeze,
227
- type: "owl:Thing".freeze
228
- term :"303",
229
- label: "See Other".freeze,
230
- type: "owl:Thing".freeze
231
- term :"304",
232
- label: "Not Modified".freeze,
233
- type: "owl:Thing".freeze
234
- term :"305",
235
- label: "Use Proxy".freeze,
236
- type: "owl:Thing".freeze
237
- term :"306",
238
- label: "(Unused)".freeze,
239
- type: "owl:Thing".freeze
240
- term :"307",
241
- label: "Temporary Redirect".freeze,
242
- type: "owl:Thing".freeze
243
- term :"400",
244
- label: "Bad Request".freeze,
245
- type: "owl:Thing".freeze
246
- term :"401",
247
- label: "Unauthorized".freeze,
248
- type: "owl:Thing".freeze
249
- term :"402",
250
- label: "Payment Required".freeze,
251
- type: "owl:Thing".freeze
252
- term :"403",
253
- label: "Forbidden".freeze,
254
- type: "owl:Thing".freeze
255
- term :"404",
256
- label: "Not Found".freeze,
257
- type: "owl:Thing".freeze
258
- term :"405",
259
- label: "Method Not Allowed".freeze,
260
- type: "owl:Thing".freeze
261
- term :"406",
262
- label: "Not Acceptable".freeze,
263
- type: "owl:Thing".freeze
264
- term :"407",
265
- label: "Proxy Authentication Required".freeze,
266
- type: "owl:Thing".freeze
267
- term :"408",
268
- label: "Request Timeout".freeze,
269
- type: "owl:Thing".freeze
270
- term :"409",
271
- label: "Conflict".freeze,
272
- type: "owl:Thing".freeze
273
- term :"410",
274
- label: "Gone".freeze,
275
- type: "owl:Thing".freeze
276
- term :"411",
277
- label: "Length Required".freeze,
278
- type: "owl:Thing".freeze
279
- term :"412",
280
- label: "Precondition Failed".freeze,
281
- type: "owl:Thing".freeze
282
- term :"413",
283
- label: "Request Entity Too Large".freeze,
284
- type: "owl:Thing".freeze
285
- term :"414",
286
- label: "Request-URI Too Long".freeze,
287
- type: "owl:Thing".freeze
288
- term :"415",
289
- label: "Unsupported Media Type".freeze,
290
- type: "owl:Thing".freeze
291
- term :"416",
292
- label: "Requested Range Not Satisfiable".freeze,
293
- type: "owl:Thing".freeze
294
- term :"417",
295
- label: "Expectation Failed".freeze,
296
- type: "owl:Thing".freeze
297
- term :"500",
298
- label: "Internal Server Error".freeze,
299
- type: "owl:Thing".freeze
300
- term :"501",
301
- label: "Not Implemented".freeze,
302
- type: "owl:Thing".freeze
303
- term :"502",
304
- label: "Bad Gateway".freeze,
305
- type: "owl:Thing".freeze
306
- term :"503",
307
- label: "Service Unavailable".freeze,
308
- type: "owl:Thing".freeze
309
- term :"504",
310
- label: "Gateway Timeout".freeze,
311
- type: "owl:Thing".freeze
312
- term :"505",
313
- label: "HTTP Version Not Supported".freeze,
314
- type: "owl:Thing".freeze
315
- term :asterisk,
316
- comment: %(An asterisk used as request URI).freeze,
317
- label: "Asterisk".freeze,
318
- type: "owl:Thing".freeze
210
+ range: "http://www.w3.org/2011/http#Response".freeze,
211
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
212
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
213
+ property :sc,
214
+ comment: %(The status code of an HTTP response.).freeze,
215
+ domain: "http://www.w3.org/2011/http#Response".freeze,
216
+ label: "Status code".freeze,
217
+ range: "http://www.w3.org/2011/http#StatusCode".freeze,
218
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
219
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
220
+ property :statusCodeNumber,
221
+ comment: %(The status code number.).freeze,
222
+ domain: "http://www.w3.org/2011/http#StatusCode".freeze,
223
+ label: "Status code".freeze,
224
+ range: "xsd:int".freeze,
225
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
226
+ subPropertyOf: "dc:identifier".freeze,
227
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
228
+ property :statusCodeValue,
229
+ comment: %(The status code value of an HTTP response.).freeze,
230
+ domain: "http://www.w3.org/2011/http#Response".freeze,
231
+ label: "Status code".freeze,
232
+ range: "rdfs:Literal".freeze,
233
+ "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
234
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
319
235
  end
320
236
  end