HTCPCP Vocabulary in RDF

WC3 RFC Draft 01 April 2017

This version:
Latest version:
Previous version:
Chief Arabica , CEB, WC3


The Hyper Text Coffee Pot Control Protocol (HTCPCP) is a protocol for controlling, monitoring and diagnosing coffee pots over a network. The Resource Description Framework (RDF) is a general-purpose language for representing information in the Web.

This document defines HTCPCP Vocabulary in RDF in order to allow HTCPCP headers that have been exchanged between a client (in other words, a coffee addict) and a server (a networked device that can brew, store and deliver heated coffee beverages) to be recorded in RDF format. The objective of this vocabulary is to support quality assurance testing, and to serve as a machine-readable component in conformance claims and in reporting languages such as the Evaluation and Report Language (EARL) [EARL Schema].

Status of This Document

This section describes the status of this document at the time of its publication. Other documents may supersede this document.

This second draft of HTCPCP Vocabulary in RDF was published on 1 April 2017 and incorporates only minor changes. It does not yet reflect updates related to the Internet of Drinks (IoD) that has recently emerged from many coffee cups. This document is expected to be published as a WC3 RFC Document after more brewing experience, tasting and refinement.

Publication as a RFC Draft does not imply endorsement by the WC3 Membership. This is a draft document and may be rebrewed, repoured or become stale at any time. It is inappropriate to cite this document as other than brewing in progress.


Coffee is one of the most popular beverages worldwide [Villanueva] and is the second most traded commodity in the world (after oil) [InvestorGuide 2017]. Worldwide, about 2.25 billion cups of coffee are drunk every day [Ponte 2002]. Internet World Stats estimates that there are over 1.13 billion internet users worldwide (1,139,872,109 in December 2007) [Internet World Stats]. Thus, there is dark, strong demand for a protocol designed expressoly for controlling networked devices that can brew, store and deliver heated coffee beverages. The Hyper Text Coffe Pot Control Protocol (HTCPCP) [RFC2324] addressed this demand by extending HTTP with commands such as BREW, GET and WHEN.

This document defines a representation of the Hyper Text Coffe Pot Control Protocol (HTCPCP) using the Resource Description Framework (RDF). It defines a collection of RDF classes and properties that represent the HTCPCP vocabulary as defined by the HTCPCP specification. These RDF terms can be used to record HTCPCP request and response messages in RDF format, for example by automated coffee quality evaluation tools to describe servings of caffeinated beverages, including the various headers exchanged between the client and server during coffee negotiation. Since HTCPCP is defined as an extension of HTTP, the current draft is defined as an extension of HTTP in RDF [HTTP-RDF].


The RDF representation of the HTCPCP vocabulary defined by this document uses the following namespaces:

Vocabulary Namespace URI Prefix
HTCPCP coffee
HTTP http
HTTP headers http-header

Note: the namespace URI for HTCPCP is temporary and will be updated when HTCPCP Vocabulary in RDF is finalized.

HTCPCP/1.0 Connection Class (RFC 2324)

The coffee:Connection class represents a connection that is used for HTCPCP control. The following properties may appear in nodes of type Connection:

Example: An instance of the coffee:Connection class.

<coffee:Connection rdf:ID="conn">
  <http:request rdf:resource="#req0"/>

When the coffee:Connection class is used to record more than one request sent to a coffee pot, the order of these requests (usually coffee cups) may be significant. For such cases, an RDF collection can be used as follows:

Example: An instance of the coffee:Connection class with two coffee cup requests.

<coffee:Connection rdf:ID="conn2">
  <http:request rdf:parseType="Collection">
    <http:Request rdf:about="#espresso"/>
    <http:Request rdf:about="#lungo"/>

HTCPCP/1.0 Added Methods (RFC 2324)

This section defines RDF terms for the HTCPCP/1.0 specification according to [RFC 2324].

Subclasses of the Request Class (HTTP Vocabulary in RDF)

HTTP Vocabulary in RDF [HTTP-RDF] already defines a Request class. There are several HTCPCP subclasses that derive from the Request class.

Brew Class

The Brew class represents an HTCPCP BREW request.

Example: An instance of the coffee:BrewRequest class.

<coffee:BrewRequest rdf:ID="req0">
  <htcpcp:header rdf:resource="#headerSafe"/>
  <htcpcp:response rdf:resource="#responseCup"/>

PropFind Class


When Class


Header Properties

Safe Property


Accept Additions Property


Subclasses of the Response Class (HTTP Vocabulary in RDF)

HTTP Vocabulary in RDF [HTTP-RDF] already defines a Response class.

Vocabulary Terms


Class name Label Allowable types Suggested types Required properties Optional properties
htcpcp:ResponseCode Response Code htcpcp:406 (Not Acceptable), htcpcp:418 (I’m a Teapot)

Future Work


[EARL Schema]
"Evaluation and Report Language (EARL) 1.0 Schema" – Shadi Abou-Zahra, W3C Working Draft 23 March 2007.
"HTTP Vocabulary in RDF"Johannes Koch, Carlos A. Velasco, Shadi Abou-Zahra, W3C Working Draft 23 March 2007.
[Internet World Stats]
“World Internet Users December 2007" – Internet World Statistics, retrieved 31 March 2008.
[InvestorGuide 2017]
“What are the Most Commonly Traded Commodities?” –, 2017.
JSR 220: Enterprise JavaBeansTM 3.0” – Linda DeMichiel, Michael Keith.
“Mind Reading Markup Language (MRML)” – Michael O’Neal-Petterson, Brandon J. Rickman.
[Ponte 2002]
“The `Latte Revolution'? Regulation, Markets and Consumption in the Global Coffee Chain” – Stefano Ponte, World Development Volume 30, Issue 7 (July 2002): pages 1099–1122.
“Resource Description Framework (RDF): Concepts and Abstract Syntax” – Graham Klyne, Jeremy J. Carroll, W3C Recommendation, 10 February 2004.
“RDF Primer” – Frank Manola, Eric Miller (eds.). W3C Recommendation, 10 February 2004.
“Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0)” – L. Masinter, 1 April 1998.
“Definitions of Managed Objects for Drip-Type Heated Beverage Hardware Devices using SMIv2” – M. Slavitch, 1 April 1998.
“Hobbes’ Internet Timeline” – R. Zakon, November 1997.
“Secure Coffee Pot Layer (SCL/1.0)” - L. Fiksdal, ed., 1 April 2006.
Cristina M. Villanueva, Kenneth P. Cantor, Will D. King, Jouni J.K. Jaakkola, Sylvaine Cordier, Charles F. Lynch, Stefano Porru, Manolis Kogevinas: “Total and specific fluid consumption as determinants of bladder cancer risk”.  International Journal of Cancer 118 (8): 2040–2047. doi:10.1002/ijc.21587.