rdf 1.1.10 → 1.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README +9 -4
- data/VERSION +1 -1
- data/lib/rdf/model/node.rb +1 -1
- data/lib/rdf/util/file.rb +256 -90
- data/lib/rdf/vocab/cc.rb +2 -1
- data/lib/rdf/vocab/cert.rb +3 -2
- data/lib/rdf/vocab/dc.rb +1 -0
- data/lib/rdf/vocab/dc11.rb +1 -0
- data/lib/rdf/vocab/dcat.rb +33 -32
- data/lib/rdf/vocab/doap.rb +1 -0
- data/lib/rdf/vocab/exif.rb +4 -3
- data/lib/rdf/vocab/foaf.rb +1 -0
- data/lib/rdf/vocab/geo.rb +1 -0
- data/lib/rdf/vocab/gr.rb +1 -0
- data/lib/rdf/vocab/ht.rb +190 -274
- data/lib/rdf/vocab/ical.rb +1 -0
- data/lib/rdf/vocab/ma.rb +1 -0
- data/lib/rdf/vocab/mo.rb +1 -0
- data/lib/rdf/vocab/og.rb +1 -0
- data/lib/rdf/vocab/ogc.rb +1 -0
- data/lib/rdf/vocab/prov.rb +1 -0
- data/lib/rdf/vocab/rsa.rb +4 -3
- data/lib/rdf/vocab/rss.rb +1 -0
- data/lib/rdf/vocab/schema.rb +2 -1
- data/lib/rdf/vocab/sioc.rb +1 -0
- data/lib/rdf/vocab/skos.rb +1 -0
- data/lib/rdf/vocab/skosxl.rb +1 -0
- data/lib/rdf/vocab/v.rb +1 -0
- data/lib/rdf/vocab/vcard.rb +1 -0
- data/lib/rdf/vocab/vmd.rb +1 -0
- data/lib/rdf/vocab/void.rb +1 -0
- data/lib/rdf/vocab/vs.rb +1 -0
- data/lib/rdf/vocab/wdrs.rb +1 -0
- data/lib/rdf/vocab/wot.rb +1 -0
- data/lib/rdf/vocab/xhtml.rb +1 -0
- data/lib/rdf/vocab/xhv.rb +1 -0
- data/lib/rdf/vocabulary.rb +2 -0
- metadata +31 -3
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
|
data/lib/rdf/vocab/dc11.rb
CHANGED
@@ -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
|
data/lib/rdf/vocab/dcat.rb
CHANGED
@@ -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" => %(
|
54
|
-
subClassOf: "
|
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" => %(
|
61
|
-
subClassOf: "
|
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" => %(
|
68
|
-
subClassOf: "
|
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: "
|
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: "
|
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: "
|
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" => %(
|
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: "
|
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: "
|
111
|
+
domain: "dcat:Dataset".freeze,
|
111
112
|
label: "data dictionary (Deprecated)".freeze,
|
112
113
|
"owl:deprecated" => %(true).freeze,
|
113
|
-
"rdfs:isDefinedBy" => %(
|
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: "
|
118
|
+
domain: "dcat:Dataset".freeze,
|
118
119
|
label: "data quality (Deprecated)".freeze,
|
119
120
|
"owl:deprecated" => %(true).freeze,
|
120
|
-
"rdfs:isDefinedBy" => %(
|
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: "
|
125
|
+
domain: "dcat:Catalog".freeze,
|
125
126
|
label: "dataset".freeze,
|
126
|
-
range: "
|
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: "
|
133
|
+
domain: "dcat:Dataset".freeze,
|
133
134
|
label: "distribution".freeze,
|
134
|
-
range: "
|
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: "
|
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: "
|
149
|
+
domain: "dcat:Dataset".freeze,
|
149
150
|
label: "granularity (Deprecated)".freeze,
|
150
151
|
"owl:deprecated" => %(true).freeze,
|
151
|
-
"rdfs:isDefinedBy" => %(
|
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: "
|
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: "
|
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:
|
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: "
|
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: "
|
183
|
+
domain: "dcat:Catalog".freeze,
|
183
184
|
label: "record".freeze,
|
184
|
-
range: "
|
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: "
|
190
|
+
domain: "dcat:Distribution".freeze,
|
190
191
|
label: "size (Deprecated)".freeze,
|
191
192
|
"owl:deprecated" => %(true).freeze,
|
192
|
-
"rdfs:isDefinedBy" => %(
|
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: "
|
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: "
|
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,
|
data/lib/rdf/vocab/doap.rb
CHANGED
@@ -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
|
data/lib/rdf/vocab/exif.rb
CHANGED
@@ -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:
|
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:
|
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:
|
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,
|
data/lib/rdf/vocab/foaf.rb
CHANGED
@@ -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/
|
2
|
+
# This file generated automatically using vocab-fetch from http://www.w3.org/2011/http#
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
-
|
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: %(
|
10
|
+
comment: %(A connection used for HTTP transfer.).freeze,
|
15
11
|
label: "Connection".freeze,
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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: %(
|
34
|
-
label: "Header
|
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
|
-
|
38
|
-
|
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
|
41
|
-
label: "Message
|
42
|
-
type: "rdfs:Class".freeze
|
43
|
-
term :
|
44
|
-
comment: %(
|
45
|
-
label: "
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
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
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
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: %(
|
62
|
+
comment: %(An HTTP response.).freeze,
|
76
63
|
label: "Response".freeze,
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
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 :
|
90
|
-
comment: %(
|
79
|
+
property :absolutePath,
|
80
|
+
comment: %(The absolute path sort of request URI.).freeze,
|
91
81
|
label: "Absolute path".freeze,
|
92
|
-
subPropertyOf: "
|
82
|
+
subPropertyOf: "http://www.w3.org/2011/http#requestURI".freeze,
|
93
83
|
type: "rdf:Property".freeze
|
94
84
|
property :absoluteURI,
|
95
|
-
comment: %(
|
96
|
-
label: "Absolute
|
97
|
-
subPropertyOf: "
|
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: %(
|
90
|
+
comment: %(The authority sort of request URI.).freeze,
|
101
91
|
label: "Authority".freeze,
|
102
|
-
subPropertyOf: "
|
92
|
+
subPropertyOf: "http://www.w3.org/2011/http#requestURI".freeze,
|
103
93
|
type: "rdf:Property".freeze
|
104
94
|
property :body,
|
105
|
-
comment: %(The
|
106
|
-
|
107
|
-
|
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: %(
|
110
|
-
domain: "
|
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
|
-
|
105
|
+
range: "rdfs:Literal".freeze,
|
106
|
+
type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
|
113
107
|
property :elementName,
|
114
|
-
comment: %(
|
115
|
-
domain: "
|
116
|
-
label: "
|
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: %(
|
121
|
-
domain: "
|
122
|
-
label: "
|
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: %(
|
127
|
-
domain: "
|
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
|
-
|
123
|
+
range: "rdfs:Literal".freeze,
|
124
|
+
type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
|
130
125
|
property :fieldValue,
|
131
|
-
comment: %(
|
132
|
-
domain: "
|
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
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
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: %(
|
148
|
-
domain: "
|
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: %(
|
154
|
-
domain: "
|
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 :
|
159
|
-
comment: %(
|
160
|
-
domain: "
|
161
|
-
label: "
|
162
|
-
|
163
|
-
|
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: %(
|
166
|
-
domain: "
|
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: "
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
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: "
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
"
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
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
|