---
url: "https://www.w3.org/WAI/ER/HTTP-in-RDF/"
titulek: "HTTP Vocabulary in RDF 1.0"
h1: "HTTP Vocabulary in RDF 1.0"
popis: ""
jazyk: "en"
kanonicka: ""
drobecky: []
zdroj: "live"
wayback_snapshot: ""
stazeno: "2026-09-14 02:57:19"
znaku: 40005
slov: 4476
kodovani: "utf-8"
sha256: "dc6a890db6aac6d73ba6c92ff1650b6a7a9851dc84afde66cac0bfed580e8322"
---
[contents]
# HTTP Vocabulary in RDF 1.0
## W3C Editors Draft 2 May 2011
This version:
[http://www.w3.org/WAI/ER/HTTP/WD-HTTP-in-RDF10-20110502](https://www.w3.org/WAI/ER/HTTP/WD-HTTP-in-RDF10-20110502)
Latest published version:
[http://www.w3.org/TR/HTTP-in-RDF/](https://www.w3.org/TR/HTTP-in-RDF/)
Latest internal version:
[http://www.w3.org/WAI/ER/HTTP-in-RDF/](https://www.w3.org/WAI/ER/HTTP-in-RDF/)
Previous published version:
[http://www.w3.org/TR/2009/WD-HTTP-in-RDF10-20091029/](https://www.w3.org/TR/2009/WD-HTTP-in-RDF10-20091029/)
Previous internal version:
[http://www.w3.org/WAI/ER/HTTP/WD-HTTP-in-RDF-1.0-20090625](https://www.w3.org/WAI/ER/HTTP/WD-HTTP-in-RDF-1.0-20090625)
Editors:
Johannes Koch (until November 2010 while at Fraunhofer Institute for Applied Information Technology FIT)
Carlos A Velasco, Fraunhofer Institute for Applied Information Technology FIT
Philip Ackermann, Fraunhofer Institute for Applied Information Technology FIT
The terms defined by this document are also provided in [RDF Schema](https://www.w3.org/2011/http) format.
[Copyright](https://www.w3.org/Consortium/Legal/ipr-notice#Copyright) © 2011 [W3C](https://www.w3.org/)® ([MIT](http://www.csail.mit.edu/), [ERCIM](http://www.ercim.org/), [Keio](http://www.keio.ac.jp/)), All Rights Reserved. W3C [liability](https://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer), [trademark](https://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks) and [document use](https://www.w3.org/Consortium/Legal/copyright-documents) rules apply.
---
## Abstract
The identification of resources on the Web by a Uniform Resource Identifier (URI) alone may not be sufficient, as other factors such as HTTP content negotiation might come into play. This issue is particularly significant for quality assurance testing, conformance claims, and reporting languages like the [W3C Evaluation And Report Language (EARL)](https://www.w3.org/WAI/intro/earl). This document provides a representation of the HTTP vocabulary in the Resource Description Framework (RDF), to allow quality assurance tools to record the HTTP headers that have been exchanged between a client and a server. The RDF terms defined by this document represent the core HTTP specification defined by RFC 2616, as well as additional HTTP headers registered by the Internet Assigned Numbers Authority (IANA). These terms can also be used to record HTTPS exchanges.
## Status of this document
*This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the [W3C technical reports index](https://www.w3.org/TR/) at http://www.w3.org/TR/.*
This 2 May 2011 Editors Draft of HTTP Vocabulary in RDF 1.0 is an update of the previous [HTTP Vocabulary in RDF Working Draft of 29 October 2009](https://www.w3.org/TR/2009/WD-Content-in-RDF10-20091029/), and it incorporates all comments received since. This document is part of the [W3C Evaluation And Report Language (EARL)](https://www.w3.org/WAI/intro/earl) but can be reused in other contexts too. This document is intended to be published and maintained as a W3C Working Group Note after review and refinement.
The Evaluation and Repair Tools Working Group (ERT WG) believes it has addressed all issues brought forth through previous Working Draft iterations. The Working Group encourages feedback about this document, HTTP Vocabulary in RDF 1.0, by developers and researchers who have interest in software-supported evaluation and validation of websites, and by developers and researchers who have interest in Semantic Web technologies for content description, annotation, and adaptation. In particular, feedback from the groups involved in the W3C Semantic Web Activity, especially the Semantic Web Coordination Group, the Semantic Web Deployment Working Group, and the Semantic Web Interest Group would be greatly appreciated.
Please send comments on this HTTP Vocabulary in RDF 1.0 document by **@@@** to [public-earl10-comments@w3.org](mailto:public-earl10-comments@w3.org) (publicly visible [mailing list archive](http://lists.w3.org/Archives/Public/public-earl10-comments/)).
Publication as a Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
This document has been produced by the [Evaluation and Repair Tools Working Group (ERT WG)](https://www.w3.org/WAI/ER/) as part of the [Web Accessibility Initiative (WAI) Technical Activity](https://www.w3.org/WAI/Technical/Activity).
This document was produced by a group operating under the [5 February 2004 W3C Patent Policy](https://www.w3.org/Consortium/Patent-Policy-20040205/). The group does not expect this document to become a W3C Recommendation. W3C maintains a [public list of any patent disclosures](https://www.w3.org/2004/01/pp-impl/32094/status) made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains [Essential Claim(s)](https://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential) must disclose the information in accordance with [section 6 of the W3C Patent Policy](https://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure).
---
## Table of Contents
1. Introduction
- 1.1 Namespaces
- 1.2 Use Cases
- 1.3 Limitations
2. Classes
- 2.1 Connection Class
- 2.2 Message Class
- 2.2.1 Request Class
- 2.2.2 Response Class
- 2.3 MessageHeader Class
- 2.3.1 GeneralHeader Class
- 2.3.2 RequestHeader Class
- 2.3.3 ResponseHeader Class
- 2.4 EntityHeader Class
- 2.5 HeaderElement Class
- 2.6 Parameter Class
- 2.7 Method Class
- 2.8 StatusCode Class
- 2.9 HeaderName Class
3. Properties
- 3.1 body Property
- 3.2 connectionAuthority
Property
- 3.3 elementName Property
- 3.4 elementValue
Property
- 3.5 fieldName Property
- 3.6 fieldValue Property
- 3.7 headers Property
- 3.8 headerElements
Property
- 3.9 hdrName Property
- 3.10 httpVersion
Property
- 3.11 mthd Property
- 3.12 methodName Property
- 3.13 params Property
- 3.14 paramName Property
- 3.15 paramValue Property
- 3.16 reasonPhrase
Property
- 3.17 requests Property
- 3.18 requestURI Property
- 3.18.1 absoluteURI
Property
- 3.18.2 absolutePath
Property
- 3.18.3 authority
Property
- 3.19 resp Property
- 3.20 sc Property
- 3.21 statusCodeNumber
Property
- 3.22 statusCodeValue
Property
### Appendices
1. A practical Example
2. Terms
3. References
4. Document Changes
---
## 1 Introduction
This document defines a
representation of the Hypertext Transfer Protocol (HTTP)
using the Resource Description Framework (RDF). It
defines a collection of RDF classes and properties that
represent the HTTP vocabulary as defined by the
HTTP specification [RFC2616].
These RDF terms can be used to record
HTTP or secure HTTP request and
response messages in RDF format, such as by automated Web
accessibility evaluation tools that want to describe Web resources,
including the various headers exchanged between the client and server during
content negotiation. More usage examples for these terms are described in
section 1.2 Use Cases.
**Note:** The version 1.0 specifies the version of the
HTTP Vocabulary in RDF document and
**not** the version of HTTP. The vocabulary
defined in this specification is usable for HTTP versions
up to 1.1.
This document is not intended to be a clarification or
extension of the different concepts of the HTTP
specification. The HTTP specification is defined by a
series of Request for Comments (RFC) publications and
other documentation, including [RFC 2616] and [RFC 4229]. These are listed in Appendix C: References.
Additionally this
document assumes the following background knowledge:
- Basic knowledge of the Extensible Markup Language
( XML ) [ XML ] and its associated
technologies.
- Basic knowledge about the Semantic Web and RDF .
For references, consult [ RDF ], [ RDFS ], [ RDF-PRIMER ]
and [ OWL ].
The terms defined by this document can be used as part of the [W3C Evaluation And Report Language (EARL)](https://www.w3.org/WAI/intro/earl) and in other contexts too. [Developer Guide for Evaluation and Report Language (EARL) 1.0](https://www.w3.org/TR/EARL10-Guide/) explains how to implement and use EARL, including conformance requirements for software tools.
By default, the vocabulary introduced by this document uses names
starting with upper-case letters for classes and names starting with
lower-case letters for properties. The keywords **must**,
**required**, **recommended**,
**should**, **may**, and **optional**
are used in accordance with [RFC2119].
### 1.1 Namespaces
The RDF representation of the
HTTP vocabulary
defined by this document uses the namespace
`http://www.w3.org/2011/http#`. The prefix `http` is
used throughout this document to denote this namespace. Table 1 presents the namespaces used by this document.
The prefix notation presents the typical conventions used in the Web and in
this document to denote a given namespace, and can be freely modified. Table 2 presents additional
RDF data used by this document.
| Namespace prefix | Namespace URI | Description |
| --- | --- | --- |
| `http` | `http://www.w3.org/2011/http#` | Namespace for the core terms of HTTP
vocabulary in RDF. |
| `cnt` | `http://www.w3.org/2011/content#` | Namespace for Representing Content in RDF [Content-in-RDF]. |
| `dct` | `http://purl.org/dc/terms/` | Namespace for the Dublin Core Metadata Terms. |
| `owl` | `http://www.w3.org/2002/07/owl#` | Namespace for OWL [OWL]. |
| `rdf` | `http://www.w3.org/1999/02/22-rdf-syntax-ns#` | Namespace for RDF [RDF]. |
| URI | Description |
| --- | --- |
| `http://www.w3.org/2011/http-headers` | HTTP headers as registered by the IANA (see [RFC4229], [Permanent Headers], and [Provisional Headers]). |
| `http://www.w3.org/2011/http-methods` | HTTP methods for requests. |
| `http://www.w3.org/2011/http-statusCodes` | HTTP status codes for responses. |
### 1.2 Use Cases
The following (non-exhaustive) list of use cases aims to highlight some
of the different usages of the terms provided by this document:
Reporting Test Results
When Web resources are tested, for example for accessibility or
other quality assurance testing, it may be significant to record the
exact headers exchanged between the server and the client during the
testing. Without a record of the exchanged headers, it may not be
possible to re-identify the exact resource (or representation of the
resource) that has been tested. The terms provided by this document
allow quality assurance tools to record the HTTP exchange between a
client and a server, for example to record the POST parameters or the
headers used during content negotiation. The terms provided by this
document can be used in combination with the W3C Evaluation And Report
Language (EARL) [EARL].
Precising Conformance
Claims
Conformance claims that are made about a Web resource or group of
Web resource, are sometimes only applicable under certain constraints.
For example, conformance of a Web site to the W3C Web Content
Accessibility Guidelines (WCAG) [WCAG], may only be applicable for a certain
language of the Web site that is using language negotiation. When
providing machine-readable conformance claims, for example using the W3C
Protocol for Describing Web Resources (POWDER): Description Resources
[POWDER-DR], it is important to precise any
such constraints that may apply.
Debugging Web
Applications
Web applications using client-side scripting such as AJAX may exchange
additional HTTP messages with the server without
using a different URI. In order to debug such Web
applications, it must be possible to reconstruct the exact history of
the states through which the Web application passed. Web authoring tools
that are designed to develop and debug Web applications could use the
terms provided by this document to record the exact
HTTP messages exchanged between a client and a
server. This information could be provided to the developer as a log to
help debug errors in the Web application.
Indexing Information
Resources
When indexing RDF information resources that are
available through the HTTP protocol (also called
"scuttering" in Semantic Web parlance), it is often useful to record
information about the HTTP request and response
messages that were exchanged, along with the data for later use. In some
instances, different representations of the RDF
information may be retrieved from the server depending on the
HTTP headers and parameters exchanged. The terms
provided by this document can be used to supplement the collected data
with the HTTP messages as part of a comprehensive
indexing repository.
### 1.3 Limitations
There are also notable schema limitations in regard to security and
privacy since the content recorded by this vocabulary could potentially
contain sensitive information, for example authentication information in
HTTP headers or
other information (login user name, passwords, and so on) within the body of
the message. Since the schema of this document is limited to terms defined
by the HTTP vocabulary, security and privacy
considerations need to be made at the application level. For example,
certain parts of the data may be restricted to appropriate user permissions
or obfuscated.
## 2 Classes
This section defines RDF classes for the
HTTP 1.1
specification according to [RFC2616].
### 2.1 Connection Class
A connection that is used for the HTTP transfer.
#### Related
Properties
- Domain of:
- `http:connectionAuthority`
- `http:requests`
- Range of: none
#### Examples
**Example 2.1:** A `Connection` resource.
```
www.example.org:80
```
### 2.2 Message Class
An HTTP message.
#### Related
Properties
- Domain of:
- `http:httpVersion`
- `http:headers`
- `http:body`
- Range of: none
It may be appropriate to provide additional information about the
Message by using the following from external vocabularies:
[`dct:date`](http://dublincore.org/documents/dcmi-terms/#terms-date)
Message date (see the usage of this property in requests and responses).
#### Examples
**Example 2.2:** A `Message` resource.
```
1.1
2007-09-13
```
There are two subclasses from the
`http:Message` class: `http:Request` and `http:Response`.
#### 2.2.1 Request Class
An
HTTP request. The
`http:Request` class is a subclass of the `http:Message` class.
##### Related
Properties
- Domain of:
- `http:methodName`
- `http:mthd`
- `http:requestURI`
- `http:resp`
- Range of: none
The `dct:date`
property when used in a `Request` resource represents the
date the request was **sent** by the client.
##### Examples
**Example 2.3:** A `Request`
resource.
```
/
GET
2007-09-13
1.1
```
#### 2.2.2 Response Class
An HTTP response. The
`http:Response` class is a subclass of the `http:Message` class.
##### Related
Properties
- Domain of:
- `http:statusCodeValue`
- `http:sc`
- `http:reasonPhrase`
- Range of:
- `http:resp`
The `dct:date`
property when used in a `Response` resource represents the
date the response was **received** by the client.
##### Examples
**Example 2.4:** A
`Response` resource.
```
1.1
2008-01-11
200
```
### 2.3 MessageHeader Class
A header in an
HTTP message.
#### Related Properties
- Domain of:
- `http:fieldName`
- `http:hdrName`
- `http:fieldValue`
- `http:headerElements`
- Range of: none
#### Examples
**Example 2.5:** A `MessageHeader` resource.
```
text/html, image/png, image/gif;q=0.8
Accept
```
#### 2.3.1 GeneralHeader Class
A general
header in an HTTP
message. The `http:GeneralHeader` class is a subclass of the `http:MessageHeader` class.
#### Related Properties
- Domain of: none
- Range of: none
#### Examples
**Example 2.6:** A `GeneralHeader` resource.
```
chunked
Transfer-Encoding
```
#### 2.3.2 RequestHeader Class
A header in an
HTTP request
message. The `http:RequestHeader` class is a subclass of the `http:MessageHeader` class.
#### Related Properties
- Domain of: none
- Range of: none
#### Examples
**Example 2.7:** A `RequestHeader` resource.
```
text/html
Accept
```
#### 2.3.3 ResponseHeader Class
A header in
an HTTP response
message. The `http:ResponseHeader` class is a subclass of the `http:MessageHeader` class.
#### Related Properties
- Domain of: none
- Range of: none
#### Examples
**Example 2.8:** A `ResponseHeader` resource.
```
bytes
Accept-Ranges
```
### 2.4 EntityHeader Class
An entity header
in an HTTP message.
The `http:EntityHeader` class is a subclass of the `http:MessageHeader` class.
#### Related Properties
- Domain of: none
- Range of: none
#### Examples
**Example 2.9:** A `EntityHeader` resource.
```
3495
Content-Length
```
### 2.5 HeaderElement Class
An element in
a header value, if a Message Header value
can be decomposed into several parts.
#### Related Properties
- Domain of:
- `http:elementName`
- `http:elementValue`
- `http:params`
- Range of: none
#### Examples
**Example 2.10:** A `HeaderElement` resource.
```
image/gif
```
### 2.6 Parameter Class
A parameter in a Header Element.
#### Related
Properties
- Domain of:
- `http:paramName`
- `http:paramValue`
- Range of: none
#### Examples
**Example 2.11:** A `Parameter` resource.
```
q
0.8
```
### 2.7 Method Class
The HTTP 1.1 specification
defines eight methods: OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE,
CONNECT. Additionally [RFC5789] defines the PATCH
method. The RDF
graph available in RDF/XML at [`http://www.w3.org/2011/http-methods`](https://www.w3.org/2011/http-methods)
provides `http:Method` resources for each of these to be used as
objects for the `http:mthd` property.
A resource of type `http:Method` represents the name of a method
used with HTTP.
#### Related Properties
- Domain of: none
- Range of:
- `http:mthd`
### 2.8 StatusCode
Class
[HTTP Status Codes] is a
registry for status codes too be used in HTTP. The RDF graph available in
RDF/XML at [`http://www.w3.org/2011/http-statusCodes`](https://www.w3.org/2011/http-statusCodes)
provides `http:StatusCode` resources for each of these to be used
as objects for the `http:sc` property.
A resource of type `http:StatusCode` represents a status
code.
#### Related Properties
- Domain of:
- `http:statusCodeNumber`
- Range of:
- `http:sc`
### 2.9 HeaderName
Class
Header names to be used in HTTP are registered by the
IANA (see [RFC4229], [Permanent
Headers], and [Provisional Headers]). The
RDF graph
available in RDF/XML at [`http://www.w3.org/2011/http-headers`](https://www.w3.org/2011/http-headers)
provides `http:HeaderName` resources for each of these to be used
as objects for the `http:hdrName`
property. A resource of type `http:HeaderName` represents the
name of a header used with HTTP.
#### Related
Properties
Properties defined by this document:
- Domain of: none
- Range of:
- `http:hdrName`
## 3 Properties
This section defines RDF properties for the
HTTP 1.1
specification according to [RFC2616].
### 3.1 body Property
This
property relates a resource object of the type `Message` to a
resource object of the type `cnt:Content` or a subclass thereof
to be the Message's entity body as defined in [RFC2616]. HTTP bodies are series of
bytes. Thus for the resource object, it is appropriate to point to a
`cnt:ContentAsBase64` resource (see [Content-in-RDF] for more information on
content representations using the Resource Desription Framework
(RDF)).
Domain:
`http:Message`
Range:
[`cnt:ContentAsBase64`](https://www.w3.org/TR/Content-in-RDF/#contentBase64Class)
#### Examples
**Example 3.1:** The entity body of a message.
```
```
### 3.2 connectionAuthority Property
Connection authority: server, host and port for a connection.
Domain:
`http:Connection`
Range:
Literal
### 3.3
elementName Property
Header element name (Literal).
Domain:
`http:HeaderElement`
Range:
Literal
### 3.4
elementValue Property
Header element value (Literal).
Domain:
`http:HeaderElement`
Range:
Literal
### 3.5 fieldName
Property
Header name (Literal).
Domain:
`http:MessageHeader`
Range:
Literal
### 3.6
fieldValue Property
Header value (Literal).
Domain:
`http:MessageHeader`
Range:
Literal
### 3.7 headers
Property
HTTP headers sent with the
message.
Domain:
`http:Message`
Range:
unspecified
### 3.8
headerElements Property
Header value elements.
Domain:
`http:MessageHeader`
Range:
unspecified
### 3.9 hdrName
Property
This property relates a resource of type
`http:MessageHeader` to a resource of type
`http:HeaderName`.
Domain:
`http:MessageHeader`
Range:
`http:HeaderName`
### 3.10
httpVersion Property
Property representing the HTTP version number as a
Literal (the format is *'digit.digit'*).
Domain:
`http:Message`
Range:
Literal
### 3.11 mthd
Property
HTTP method.
Domain:
`http:Request`
Range:
`http:Method`
### 3.12
methodName Property
HTTP method name
(Literal).
Domain:
`http:Request`
Range:
Literal
### 3.13 params
Property
Header element parameters.
Domain:
`http:HeaderElement`
Range:
unspecified
### 3.14
paramName Property
Parameter name.
Domain:
`http:Parameter`
Range:
Literal
### 3.15
paramValue Property
Parameter value.
Domain:
`http:Parameter`
Range:
Literal
### 3.16
reasonPhrase Property
Reason phrase sent by the server.
Domain:
`http:Response`
Range:
Literal
### 3.17 requests
Property
HTTP requests sent via the
connection.
Domain:
`http:Connection`
Range:
unspecified
### 3.18
requestURI Property
The request URI as specified in section
5.1.2 of [RFC2616]. This vocabulary defines the
following sub-properties:
- `http:absoluteURI`
- `http:absolutePath`
- `http:authority`
Domain:
`http:Request`
Range:
Literal
#### Examples
**Example 3.2:** The use of the `requestURI`
property.
```
OPTIONS
*
...
```
#### 3.18.1 absoluteURI Property
Request
URI that is an
absolute URI.
##### Examples
**Example 3.3:** The use of the `absoluteURI`
property.
```
GET
http://www.example.org:80/foo/bar
...
```
#### 3.18.2 absolutePath Property
Request
URI that is an
absolute path.
##### Examples
**Example 3.4:** The use of the `absolutePath`
property.
```
GET
/foo/bar
...
```
#### 3.18.3 authority Property
Request
URI that is an
authority.
##### Examples
**Example 3.5:** The use of the `authority`
property.
```
CONNECT
www.example.org:80
...
```
### 3.19 resp Property
This property relates a
resource of type `http:Request` to a resource of type
`http:Response`.
Domain:
`http:Request`
Range:
`http:Response`
### 3.20 sc Property
This property relates a resource of type `http:Response` to a
resource of type `http:StatusCode`.
Domain:
`http:Response`
Range:
`http:StatusCode`
### 3.21 statusCodeNumber Property
The status code value (integer) corresponding to the standardized status
code value.
Domain:
`http:StatusCode`
Range:
`http://www.w3.org/2001/XMLSchema#int`
### 3.22 statusCodeValue Property
The
actual status code value sent by the server (Literal).
Domain:
`http:Response`
Range:
Literal
---
## Appendix A: A practical
Example
The following example shows an RDF/XML representation of an
HTTP request and
response pair.
### Scenario
Description
A client sends two requests to a server at
`www.example.org` port 80 via HTTP 1.1 GET.
With each request, it sends request headers. The first request is for a
resource in the document root (`/`), the second for a resource at
`/image`. While handling the second request the server performs
content negotiation respecting the request's `Accept` header and
so sends a PNG image.
This is indicated by the response's `Vary` header.
### Resulting
RDF/XML
```
www.example.org:80
1.1
GET
/
Host
www.example.org
User-Agent
My User Agent
Accept
text/html, image/png, image/gif;q=0.8
text/html
image/png
image/gif
q
0.8
1.1
GET
/image
Host
www.example.org
User-Agent
My User Agent
Accept
image/png, image/gif;q=0.8
image/png
image/gif
q
0.8
1.1
200
OK
Date
.......
Content-Type
text/html; charset=utf-8
text/html
charset
utf-8
ajrq9qguojbglj48z..........
1.1
200
OK
Date
.......
Content-Type
image/png
Vary
accept
accept
qouh3908t38hohfrf..........
```
## Appendix B:
Terms
The following terms are defined by this specification:
### Classes
| Class name | Label | Comment | Refinements | Related properties |
| --- | --- | --- | --- | --- |
| `http:Connection` | Connection | A connection used for HTTP transfer. | - | `http:connectionAuthority`,
`http:requests` |
| `http:EntityHeader` | Entity Header | An entity header in an HTTP message. | - | `http:fieldName`, `http:fieldValue`, `http:hdrName`, `http:headerElements` |
| `http:GeneralHeader` | General Header | A general header in an HTTP message. | - | `http:fieldName`, `http:fieldValue`, `http:hdrName`, `http:headerElements` |
| `http:HeaderElement` | Header Element | A part of a deconstructed header value. | - | `http:elementName`, `http:elementValue`, `http:params` |
| `http:HeaderName` | Header Name | The header name. | - | |
| `http:Message` | Message | An HTTP message. | http:Request, http:Response | `http:httpVersion`,
`dct:date`, `http:body`, `http:headers` |
| `http:MessageHeader` | Message Header | A header in an HTTP message. | http:GeneralHeader, http:RequestHeader, http:ResponseHeader, http:EntityHeader | `http:fieldName`, `http:fieldValue`, `http:hdrName`, `http:headerElements` |
| `http:Method` | Method | The HTTP method used for a request. | - | |
| `http:Parameter` | Parameter | A parameter for a part of a header value | - | `http:paramName`, `http:paramValue` |
| `http:Request` | Request | An HTTP request. | - | `http:methodName`,
`http:requestURI`, `http:mthd`, `http:resp` |
| `http:RequestHeader` | Request Header | A header in an HTTP request message. | - | `http:fieldName`, `http:fieldValue`, `http:hdrName`, `http:headerElements` |
| `http:Response` | Response | An HTTP response. | - | `http:statusCodeValue`,
`http:reasonPhrase`,
`http:sc` |
| `http:ResponseHeader` | Response Header | A general header in an HTTP response
message. | - | `http:fieldName`, `http:fieldValue`, `http:hdrName`, `http:headerElements` |
| `http:StatusCode` | Status Code | The status code of an HTTP response. | - | `http:statusCodeNumber` |
### Properties
| Property name | Label | Comment | Domain | Range |
| --- | --- | --- | --- | --- |
| `http:absolutePath` | Request URI | Request URI that is an
absolute path. | `http:Request` | RDF Literal |
| `http:absoluteURI` | Request URI | Request URI that is an
absolute URI | `http:Request` | RDF Literal |
| `http:authority` | Request URI | Request URI that is an
authority. | `http:Request` | RDF Literal |
| `http:body` | Entity body | The entity body of an HTTP message. | `http:Message` | `cnt:ContentAsBase64` |
| `http:connectionAuthority` | Connection authority | The authority of a connection used for the
HTTP transfer | `http:Connection` | RDF Literal |
| `http:elementName` | Header element name | The name of a header element | `http:HeaderElement` | RDF Literal |
| `http:elementValue` | Header element value | The value of a header element. | `http:HeaderElement` | RDF Literal |
| `http:fieldName` | Field name | The name of an HTTP header field. | `http:MessageHeader` | RDF Literal |
| `http:fieldValue` | Field value | The value of an HTTP header field. | `http:MessageHeader` | RDF Literal |
| `http:hdrName` | Header name | The name of an HTTP header. | `http:MessageHeader` | `http:HeaderName` |
| `http:headerElements` | Header elements | The deconstructed parts of an HTTP header
value. | `http:MessageHeader` | Collection of `http:HeaderElement` |
| `http:headers` | Headers | The headers in an HTTP message. | `http:Message` | Collection of `http:MessageHeader` |
| `http:httpVersion` | HTTP Version | The HTTP version of an
HTTP message. | `http:Message` | RDF Literal |
| `http:methodName` | Method name | The HTTP method name used for the
HTTP request. | `http:Request` | RDF Literal |
| `http:mthd` | Method | The HTTP method used for the
HTTP request. | `http:Request` | `http:Method` |
| `http:paramName` | Parameter name | The name of a parameter in a part of a deconstructed
HTTP header value. | `http:Parameter` | RDF Literal |
| `http:params` | Parameters | The parameters in a part of a deconstructed
HTTP header value. | `http:HeaderElement` | Collection of `http:Parameter` |
| `http:paramValue` | Parameter value | The value of a parameter in a part of a deconstructed
HTTP header value. | `http:Parameter` | RDF Literal |
| `http:reasonPhrase` | Reason phrase | The reason phrase (status text) of an HTTP
response. | `http:Response` | RDF Literal |
| `http:requests` | Requests | The HTTP requests made via a connection. | `http:Connection` | Collection of `http:Request` |
| `http:requestURI` | Request URI | The request URI of an HTTP
request. | `http:Request` | RDF Literal |
| `http:resp` | Response | The HTTP response sent in answer to an
HTTP request. | `http:Request` | `http:Response` |
| `http:sc` | Status code | The status code of an HTTP response. | `http:Response` | `http:StatusCode` |
| `http:statusCodeNumber` | Status code number | The standardized status code number. | `http:StatusCode` | `http://www.w3.org/2001/XMLSchema#int` |
| `http:statusCodeValue` | Status code value | The status code value of an HTTP
response. | `http:Response` | RDF Literal |
## Appendix C:
References
[Content-in-RDF]
[Representing
Content in RDF](https://www.w3.org/TR/Content-in-RDF10/) - Johannes
Koch, Carlos A Velasco, Philip Ackermann (editors). W3C Working Draft 27 April
2011.
[EARL]
[Evaluation and Report
Language (EARL) Overview](https://www.w3.org/WAI/intro/earl.php) -
W3C
[HTTP Status
Codes]
["HTTP Status Code
Registry"](http://www.iana.org/assignments/http-status-codes) - IANA.
[OWL]
[Web Ontology Language
(OWL) Overview](https://www.w3.org/2004/OWL/) - W3C
[Permanent
Headers]
[Permanent
Message Header Field Names](http://www.iana.org/assignments/message-headers/perm-headers.html) - IANA.
[Provisional
Headers]
[Provisional
Message Header Field Names](http://www.iana.org/assignments/message-headers/prov-headers.html) - IANA.
[POWDER-DR]
[Protocol
for Web Description Resources (POWDER): Description Resources](https://www.w3.org/TR/2009/PR-powder-dr-20090604/) - P.
Archer, K. Smith, A. Perego (editors). W3C Proposed
Recommendation 04 June 2009.
[RDF]
[Resource Description Framework
(RDF) Overview](https://www.w3.org/RDF/) - W3C
[RDF-PRIMER]
[RDF
Primer](https://www.w3.org/TR/rdf-primer/) - Frank Manola, Eric Miller (editors). W3C Recommendation, 10
February 2004.
[RDFS]
[RDF
Vocabulary Description Language 1.0: RDF Schema](https://www.w3.org/TR/rdf-schema/) -
Dan Brickley, R.V. Guha (editors). W3C Recommendation 10 February
2004
[RFC2119]
Request for Comments (RFC): 2119. [Key words for use in
RFCs to Indicate Requirement Levels](http://www.ietf.org/rfc/rfc2119.txt) - IETF March 1997.
[RFC2616]
[Hypertext Transfer
Protocol -- HTTP/1.1](http://www.ietf.org/rfc/rfc2616.txt) - R. Fielding, J. Gettys, J.
Mogul, H. Frystyk Nielsen, L. Masinter, P. Leach and T. Berners-Lee.
IETF June 1999.
[RFC4229]
[HTTP
Header Field Registrations](http://www.ietf.org/rfc/rfc4229.txt) - M. Nottingham, J. Mogul.
IETF December 2005.
[RFC5789]
[PATCH Method for
HTTP](http://www.ietf.org/rfc/rfc5789.txt) - L. Dusseault, Linden Lab, J. Snell.
IETF March 2010.
[WCAG]
[Web Content
Accessibility Guidelines (WCAG) Overview](https://www.w3.org/WAI/intro/wcag.php) -
W3C.
[XML]
[Extensible
Markup Language (XML) 1.0 (Fifth Edition)](https://www.w3.org/TR/2008/REC-xml-20081126/) - Tim
Bray, Jean Paoli, C. M. Sperberg-McQueen, Eve Maler, François Yergeau
(editors). W3C Recommendation 26 November 2008
## Appendix D: Document
Changes
The following is a list of substantial changes since the
[29 October
2009 Working Draft](https://www.w3.org/TR/2009/WD-HTTP-in-RDF10-20091029/):
- Added new classes `GeneralHeader` , `ResponseHeader` , `RequestHeader` and `EntityHeader` as subclasses of `MessageHeader` .
- Added HTTP PATCH method.
- Added `statusCodeNumber` to class `StatusCode` .
- Changed domain of `statusCodeValue` to class `Response` .
- Fixed inconsistencies in RDF Schemas (HTTP and Status Codes).
- Examples adapted.
- Changed `abs_Path` to `absolutePath` .
- Removed conformance section.