index.html
80.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>HTTP Vocabulary in RDF 1.0</title>
<link href="http://www.w3.org/2011/http" rel="alternate"
type="application/rdf+xml" />
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css"
href="http://www.w3.org/StyleSheets/TR/W3C-WD" />
</head>
<body>
<p align="center">[<a href="#contents" rel="contents">contents</a>]</p>
<!--// head //-->
<div id="head" class="head">
<p><a href="http://www.w3.org/"><img width="72" height="48" alt="W3C"
src="http://www.w3.org/Icons/w3c_home" /></a></p>
<h1><a id="title" name="title"><acronym
title="Hyper Text Transfer Protocol">HTTP</acronym> Vocabulary in <acronym
title="Resource Description Framework">RDF</acronym> 1.0</a></h1>
<h2><a id="w3c-doctype" name="w3c-doctype">W3C Working Draft 10 May
2011</a></h2>
<dl>
<dt>This version:</dt>
<dd><a
href="http://www.w3.org/TR/2011/WD-HTTP-in-RDF10-20110510/">http://www.w3.org/TR/2011/WD-HTTP-in-RDF10-20110510/</a></dd>
<dt>Latest version:</dt>
<dd><a
href="http://www.w3.org/TR/HTTP-in-RDF10/">http://www.w3.org/TR/HTTP-in-RDF10/</a></dd>
<dt>Previous version:</dt>
<dd><a
href="http://www.w3.org/TR/2009/WD-HTTP-in-RDF10-20091029/">http://www.w3.org/TR/2009/WD-HTTP-in-RDF10-20091029/</a></dd>
<dt>Editors:</dt>
<dd>Johannes Koch (until November 2010 while at Fraunhofer Institute for
Applied Information Technology FIT)</dd>
<dd>Carlos A Velasco, Fraunhofer Institute for Applied Information
Technology FIT</dd>
<dd>Philip Ackermann, Fraunhofer Institute for Applied Information
Technology FIT</dd>
</dl>
<p>The terms defined by this document are also provided in <a
href="http://www.w3.org/2011/http">RDF Schema</a> format.</p>
<p class="copyright"><a
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> ©
2011 <a href="http://www.w3.org/"><acronym
title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a
href="http://www.csail.mit.edu/"><acronym
title="Massachusetts Institute of Technology">MIT</acronym></a>, <a
href="http://www.ercim.eu/"><acronym
title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>,
<a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a
href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
<a
href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>
and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document
use</a> rules apply.</p>
</div>
<hr />
<h2><a id="abstract" name="abstract">Abstract</a></h2>
<p>The identification of resources on the Web by a Uniform Resource Identifier
(<acronym>URI</acronym>) alone may not be sufficient, as other factors such as
<acronym title="Hyper Text Transfer Protocol">HTTP</acronym> content
negotiation might come into play. This issue is particularly significant for
quality assurance testing, conformance claims, and reporting languages like the
<a href="http://www.w3.org/WAI/intro/earl">W3C Evaluation And Report Language
(<acronym>EARL</acronym>)</a>. This document provides a representation of the
<acronym>HTTP</acronym> vocabulary in the Resource Description Framework
(<acronym>RDF</acronym>), to allow quality assurance tools to record the
<acronym>HTTP</acronym> headers that have been exchanged between a client and a
server. The <acronym>RDF</acronym> terms defined by this document represent the
core <acronym>HTTP</acronym> specification defined by <acronym
title="Request for Comments">RFC</acronym> 2616, as well as additional
<acronym>HTTP</acronym> headers registered by the Internet Assigned Numbers
Authority (<acronym>IANA</acronym>). These terms can also be used to record
<acronym title="Secure Hyper Text Transfer Protocol">HTTPS</acronym>
exchanges.</p>
<div id="sotd">
<h2><a id="status" name="status">Status of this document</a></h2>
<p><em>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 <a href="http://www.w3.org/TR/">W3C technical reports index</a> at
http://www.w3.org/TR/.</em></p>
<p>This 10 May 2011 Working Draft of <acronym
title="Hyper Text Transfer Protocol">HTTP</acronym> Vocabulary in <acronym
title="Resource Description Framework">RDF</acronym> 1.0 is an update of the
previous <a
href="http://www.w3.org/TR/2009/WD-Content-in-RDF10-20091029/"><acronym>HTTP</acronym>
Vocabulary in <acronym>RDF</acronym> Working Draft of 29 October 2009</a>, and
it incorporates all comments received since. This document is part of the <a
href="http://www.w3.org/WAI/intro/earl">W3C Evaluation And Report Language
(<acronym>EARL</acronym>)</a> 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.</p>
<p>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,
<acronym>HTTP</acronym> Vocabulary in <acronym>RDF</acronym> 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.</p>
<p>Please send comments on this <acronym>HTTP</acronym> Vocabulary in
<acronym>RDF</acronym> 1.0 document by <strong>10 June 2011</strong> to <a
href="mailto:public-earl10-comments@w3.org">public-earl10-comments@w3.org</a>
(publicly visible <a
href="http://lists.w3.org/Archives/Public/public-earl10-comments/">mailing list
archive</a>).</p>
<p>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.</p>
<p>This document has been produced by the <a
href="http://www.w3.org/WAI/ER/">Evaluation and Repair Tools Working Group (ERT
WG)</a> as part of the <a href="http://www.w3.org/WAI/Technical/Activity">Web
Accessibility Initiative (WAI) Technical Activity</a>.</p>
<p>This document was produced by a group operating under the <a
href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C
Patent Policy</a>. The group does not expect this document to become a W3C
Recommendation. W3C maintains a <a rel="disclosure"
href="http://www.w3.org/2004/01/pp-impl/32094/status">public list of any patent
disclosures</a> 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 <a
href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential
Claim(s)</a> must disclose the information in accordance with <a
href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section
6 of the W3C Patent Policy</a>.</p>
</div>
<hr />
<div id="toc">
<h2><a accesskey="c" id="contents" name="contents">Table of Contents</a></h2>
<ol>
<li><a href="#introduction">Introduction</a>
<ul>
<li><a href="#namespaces">1.1 Namespaces</a></li>
<li><a href="#use-cases">1.2 Use Cases</a></li>
<li><a href="#limitations">1.3 Limitations</a></li>
</ul>
</li>
<li><a href="#classes">Classes</a>
<ul>
<li><a href="#ConnectionClass">2.1 Connection Class</a></li>
<li><a href="#MessageClass">2.2 Message Class</a>
<ul>
<li><a href="#RequestClass">2.2.1 Request Class</a></li>
<li><a href="#ResponseClass">2.2.2 Response Class</a></li>
</ul>
</li>
<li><a href="#MessageHeaderClass">2.3 MessageHeader Class</a>
<ul>
<li><a href="#GeneralHeaderClass">2.3.1 GeneralHeader Class</a></li>
<li><a href="#RequestHeaderClass">2.3.2 RequestHeader Class</a></li>
<li><a href="#ResponseHeaderClass">2.3.3 ResponseHeader Class</a></li>
</ul>
</li>
<li><a href="#EntityHeaderClass">2.4 EntityHeader Class</a></li>
<li><a href="#HeaderElementClass">2.5 HeaderElement Class</a></li>
<li><a href="#ParameterClass">2.6 Parameter Class</a></li>
<li><a href="#MethodClass">2.7 Method Class</a></li>
<li><a href="#StatusCodeClass">2.8 StatusCode Class</a></li>
<li><a href="#HeaderNameClass">2.9 HeaderName Class</a></li>
</ul>
</li>
<li><a href="#properties">Properties</a>
<ul>
<li><a href="#bodyProperty">3.1 body Property</a></li>
<li><a href="#connectionAuthorityProperty">3.2 connectionAuthority
Property</a></li>
<li><a href="#elementNameProperty">3.3 elementName Property</a></li>
<li><a href="#elementValueProperty">3.4 elementValue Property</a></li>
<li><a href="#fieldNameProperty">3.5 fieldName Property</a></li>
<li><a href="#fieldValueProperty">3.6 fieldValue Property</a></li>
<li><a href="#headersProperty">3.7 headers Property</a></li>
<li><a href="#headerElementsProperty">3.8 headerElements Property</a></li>
<li><a href="#hdrNameProperty">3.9 hdrName Property</a></li>
<li><a href="#httpVersionProperty">3.10 httpVersion Property</a></li>
<li><a href="#mthdProperty">3.11 mthd Property</a></li>
<li><a href="#methodNameProperty">3.12 methodName Property</a></li>
<li><a href="#paramsProperty">3.13 params Property</a></li>
<li><a href="#paramNameProperty">3.14 paramName Property</a></li>
<li><a href="#paramValueProperty">3.15 paramValue Property</a></li>
<li><a href="#reasonPhraseProperty">3.16 reasonPhrase Property</a></li>
<li><a href="#requestsProperty">3.17 requests Property</a></li>
<li><a href="#requestURIProperty">3.18 requestURI Property</a>
<ul>
<li><a href="#absoluteURIProperty">3.18.1 absoluteURI
Property</a></li>
<li><a href="#absolutePathProperty">3.18.2 absolutePath
Property</a></li>
<li><a href="#authorityProperty">3.18.3 authority Property</a></li>
</ul>
</li>
<li><a href="#respProperty">3.19 resp Property</a></li>
<li><a href="#scProperty">3.20 sc Property</a></li>
<li><a href="#statusCodeNumberProperty">3.21 statusCodeNumber
Property</a></li>
<li><a href="#statusCodeValueProperty">3.22 statusCodeValue
Property</a></li>
</ul>
</li>
</ol>
<h3><a id="appendices" name="appendices">Appendices</a></h3>
<ol type="A">
<li><a href="#example">A practical Example</a></li>
<li><a href="#terms">Terms</a></li>
<li><a href="#references">References</a></li>
<li><a href="#changes">Document Changes</a></li>
</ol>
</div>
<!-- end toc -->
<hr />
<h2><a id="introduction" name="introduction">1 Introduction</a></h2>
<p>This document defines a representation of the Hypertext Transfer Protocol
(<acronym>HTTP</acronym>) using the Resource Description Framework
(<acronym>RDF</acronym>). It defines a collection of <acronym>RDF</acronym>
classes and properties that represent the <acronym>HTTP</acronym> vocabulary as
defined by the <acronym>HTTP</acronym> specification [<a
href="#ref-rfc2616">RFC2616</a>]. These <acronym>RDF</acronym> terms can be
used to record <acronym>HTTP</acronym> or secure <acronym>HTTP</acronym>
request and response messages in <acronym>RDF</acronym> 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 <a href="#use-cases">1.2 Use Cases</a>.</p>
<p><strong>Note:</strong> The version 1.0 specifies the version of the
<acronym>HTTP</acronym> Vocabulary in <acronym>RDF</acronym> document and
<strong>not</strong> the version of <acronym>HTTP</acronym>. The vocabulary
defined in this specification is usable for <acronym>HTTP</acronym> versions up
to 1.1.</p>
<p>This document is not intended to be a clarification or extension of the
different concepts of the <acronym>HTTP</acronym> specification. The
<acronym>HTTP</acronym> specification is defined by a series of Request for
Comments (<acronym>RFC</acronym>) publications and other documentation,
including [<a href="#ref-rfc2616">RFC 2616</a>] and [<a href="#ref-rfc4229">RFC
4229</a>]. These are listed in <a href="#references">Appendix C:
References</a>.</p>
<p>Additionally this document assumes the following background knowledge:</p>
<ul>
<li>Basic knowledge of the Extensible Markup Language
(<acronym>XML</acronym>) [<a href="#ref-xml">XML</a>] and its associated
technologies.</li>
<li>Basic knowledge about the Semantic Web and <acronym>RDF</acronym>. For
references, consult [<a href="#ref-rdf">RDF</a>], [<a
href="#ref-rdfs">RDFS</a>], [<a href="#ref-rdf-primer">RDF-PRIMER</a>] and
[<a href="#ref-owl">OWL</a>].</li>
</ul>
<p>The terms defined by this document can be used as part of the <a
href="http://www.w3.org/WAI/intro/earl">W3C Evaluation And Report Language
(<acronym>EARL</acronym>)</a> and in other contexts too. <a
href="http://www.w3.org/TR/EARL10-Guide/">Developer Guide for Evaluation and
Report Language (EARL) 1.0</a> explains how to implement and use EARL,
including conformance requirements for software tools.</p>
<p>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 <strong>must</strong>, <strong>required</strong>,
<strong>recommended</strong>, <strong>should</strong>, <strong>may</strong>,
and <strong>optional</strong> are used in accordance with [<a
href="#ref-rfc2119">RFC2119</a>].</p>
<h3><a id="namespaces" name="namespaces">1.1 Namespaces</a></h3>
<p>The <acronym title="Resource Description Framework">RDF</acronym>
representation of the <acronym
title="Hyper Text Transfer Protocol">HTTP</acronym> vocabulary defined by this
document uses the namespace <code>http://www.w3.org/2011/http#</code>. The
prefix <code>http</code> is used throughout this document to denote this
namespace. <a href="#tab-ns1">Table 1</a> 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.
<a href="#tab-externalResources">Table 2</a> presents additional
<acronym>RDF</acronym> data used by this document.</p>
<table id="tab-ns1">
<caption>Table 1: namespaces used by this document.</caption>
<tbody>
<tr>
<th>Namespace prefix</th>
<th>Namespace <acronym
title="Uniform Resource Identifier">URI</acronym></th>
<th>Description</th>
</tr>
<tr>
<td><code>http</code></td>
<td><code>http://www.w3.org/2011/http#</code></td>
<td>Namespace for the core terms of <acronym>HTTP</acronym> vocabulary in
<acronym>RDF</acronym>.</td>
</tr>
<tr>
<td scope="row"><code>cnt</code></td>
<td><code>http://www.w3.org/2011/content#</code></td>
<td>Namespace for Representing Content in <acronym>RDF</acronym> [<a
href="#ref-content-in-rdf">Content-in-RDF</a>].</td>
</tr>
<tr>
<td scope="row"><code>dct</code></td>
<td><code>http://purl.org/dc/terms/</code></td>
<td>Namespace for the Dublin Core Metadata Terms.</td>
</tr>
<tr>
<td><code>owl</code></td>
<td><code>http://www.w3.org/2002/07/owl#</code></td>
<td>Namespace for <acronym>OWL</acronym> [<a
href="#ref-owl">OWL</a>].</td>
</tr>
<tr>
<td scope="row"><code>rdf</code></td>
<td><code>http://www.w3.org/1999/02/22-rdf-syntax-ns#</code></td>
<td>Namespace for <acronym>RDF</acronym> [<a
href="#ref-rdf">RDF</a>].</td>
</tr>
</tbody>
</table>
<table id="tab-externalResources">
<caption>Table 2: <acronym>RDF</acronym> data used by this document.</caption>
<tbody>
<tr>
<th><acronym>URI</acronym></th>
<th>Description</th>
</tr>
<tr>
<td><code>http://www.w3.org/2011/http-headers</code></td>
<td><acronym>HTTP</acronym> headers as registered by the <acronym
title="Internet Assigned Numbers Authority">IANA</acronym> (see [<a
href="#ref-rfc4229">RFC4229</a>], [<a href="#ref-permheaders">Permanent
Headers</a>], and [<a href="#ref-provheaders">Provisional
Headers</a>]).</td>
</tr>
<tr>
<td><code>http://www.w3.org/2011/http-methods</code></td>
<td><acronym>HTTP</acronym> methods for requests.</td>
</tr>
<tr>
<td><code>http://www.w3.org/2011/http-statusCodes</code></td>
<td><acronym>HTTP</acronym> status codes for responses.</td>
</tr>
</tbody>
</table>
<h3><a id="use-cases" name="use-cases">1.2 Use Cases</a></h3>
<p>The following (non-exhaustive) list of use cases aims to highlight some of
the different usages of the terms provided by this document:</p>
<dl>
<dt><a id="use-case1" name="use-case1">Reporting Test Results</a></dt>
<dd>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 <acronym
title="Hypertext Transfer Protocol">HTTP</acronym> 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 <acronym
title="World Wide Web Consortium">W3C</acronym> Evaluation And Report
Language (<acronym>EARL</acronym>) [<a href="#ref-earl">EARL</a>].</dd>
<dt><a id="use-case2" name="use-case2">Precising Conformance Claims</a></dt>
<dd>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 (<acronym>WCAG</acronym>) [<a href="#ref-wcag">WCAG</a>], 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 [<a href="#ref-powder-dr">POWDER-DR</a>], it is
important to precise any such constraints that may apply.</dd>
<dt><a id="use-case3" name="use-case3">Debugging Web Applications</a></dt>
<dd>Web applications using client-side scripting such as <acronym
title="Asynchronous JavaScript and XML">AJAX</acronym> may exchange
additional <acronym>HTTP</acronym> messages with the server without using
a different <acronym>URI</acronym>. 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 <acronym>HTTP</acronym>
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.</dd>
<dt><a id="use-case4" name="use-case4">Indexing Information Resources</a></dt>
<dd>When indexing <acronym>RDF</acronym> information resources that are
available through the <acronym>HTTP</acronym> protocol (also called
"scuttering" in Semantic Web parlance), it is often useful to record
information about the <acronym>HTTP</acronym> request and response
messages that were exchanged, along with the data for later use. In some
instances, different representations of the <acronym>RDF</acronym>
information may be retrieved from the server depending on the
<acronym>HTTP</acronym> headers and parameters exchanged. The terms
provided by this document can be used to supplement the collected data
with the <acronym>HTTP</acronym> messages as part of a comprehensive
indexing repository.</dd>
</dl>
<h3><a id="limitations" name="limitations">1.3 Limitations</a></h3>
<p>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 <acronym
title="Hyper Text Transfer Protocol">HTTP</acronym> 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
<acronym>HTTP</acronym> 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.</p>
<h2><a id="classes" name="classes">2 Classes</a></h2>
<p>This section defines <acronym
title="Resource Description Framework">RDF</acronym> classes for the <acronym
title="Hyper Text Transfer Protocol">HTTP</acronym> 1.1 specification according
to [<a href="#ref-rfc2616">RFC2616</a>].</p>
<h3><a id="ConnectionClass" name="ConnectionClass">2.1 Connection Class</a></h3>
<p>A connection that is used for the <acronym
title="Hyper Text Transfer Protocol">HTTP</acronym> transfer.</p>
<h4><a id="ConnectionClassProperties" name="ConnectionClassProperties">Related
Properties</a></h4>
<ul>
<li>Domain of:
<ul>
<li><a
href="#connectionAuthorityProperty"><code>http:connectionAuthority</code></a></li>
<li><a href="#requestsProperty"><code>http:requests</code></a></li>
</ul>
</li>
<li>Range of: none</li>
</ul>
<h4><a id="ConnectionClassExamples"
name="ConnectionClassExamples">Examples</a></h4>
<div class="example">
<p><strong>Example 2.1:</strong> A <code>Connection</code> resource.</p>
<pre><http:Connection rdf:ID="conn">
<http:connectionAuthority>www.example.org:80</http:connectionAuthority>
<http:requests rdf:parseType="Collection">
<http:Request rdf:ID="req0"/>
<http:Request rdf:ID="req1"/>
</http:requests>
</http:Connection></pre>
</div>
<h3><a id="MessageClass" name="MessageClass">2.2 Message Class</a></h3>
<p>An <acronym title="Hyper Text Transfer Protocol">HTTP</acronym> message.</p>
<h4><a id="MessageClassProperties" name="MessageClassProperties">Related
Properties</a></h4>
<ul>
<li>Domain of:
<ul>
<li><a href="#httpVersionProperty"><code>http:httpVersion</code></a></li>
<li><a href="#headersProperty"><code>http:headers</code></a></li>
<li><a href="#bodyProperty"><code>http:body</code></a></li>
</ul>
</li>
<li>Range of: none</li>
</ul>
<p>It may be appropriate to provide additional information about the Message by
using the following from external vocabularies:</p>
<dl>
<dt><a
href="http://dublincore.org/documents/dcmi-terms/#terms-date"><code>dct:date</code>
<img alt="external link" src="http://www.w3.org/Icons/tr.png" /></a></dt>
<dd>Message date (see the usage of this property in <a
href="#dateReq">requests</a> and <a href="#dateResp">responses</a>).</dd>
</dl>
<h4><a id="MessageClassExamples" name="MessageClassExamples">Examples</a></h4>
<div class="example">
<p><strong>Example 2.2:</strong> A <code>Message</code> resource.</p>
<pre><http:Message rdf:ID="mess0">
<http:httpVersion>1.1</http:httpVersion>
<dct:date>2007-09-13</dct:date>
<http:headers rdf:parseType="Collection">
<http:MessageHeader rdf:ID="mh0"/>
<http:MessageHeader rdf:ID="mh1"/>
</http:headers>
<http:body>
<cnt:Content rdf:ID="cont0"/>
</http:body>
</http:Message></pre>
</div>
<p>There are two subclasses from the <code>http:Message</code> class: <a
href="#RequestClass"><code>http:Request</code></a> and <a
href="#ResponseClass"><code>http:Response</code></a>.</p>
<h4><a id="RequestClass" name="RequestClass">2.2.1 Request Class</a></h4>
<p>An <acronym title="Hyper Text Transfer Protocol">HTTP</acronym> request. The
<code>http:Request</code> class is a subclass of the <a
href="#MessageClass"><code>http:Message</code></a> class.</p>
<h5><a id="RequestClassProperties" name="RequestClassProperties">Related
Properties</a></h5>
<ul>
<li>Domain of:
<ul>
<li><a href="#methodNameProperty"><code>http:methodName</code></a></li>
<li><a href="#mthdProperty"><code>http:mthd</code></a></li>
<li><a href="#requestURIProperty"><code>http:requestURI</code></a></li>
<li><a href="#respProperty"><code>http:resp</code></a></li>
</ul>
</li>
<li>Range of: none</li>
</ul>
<p><a id="dateReq" name="dateReq">The <code>dct:date</code> property</a> when
used in a <code>Request</code> resource represents the date the request was
<strong>sent</strong> by the client.</p>
<h5><a id="RequestClassExamples" name="RequestClassExamples">Examples</a></h5>
<div class="example">
<p><strong>Example 2.3:</strong> A <code>Request</code> resource.</p>
<pre><http:Request rdf:ID="reqs0">
<http:absolutePath>/</http:absolutePath>
<http:methodName>GET</http:methodName>
<http:mthd rdf:resource="http://www.w3.org/2011/http-methods#GET"/>
<http:resp rdf:resource="#resp0"/>
<dct:date>2007-09-13</dct:date>
<http:httpVersion>1.1</http:httpVersion>
<http:headers rdf:parseType="Collection">
<http:MessageHeader rdf:about="#mh0"/>
<http:MessageHeader rdf:about="#mh1"/>
</http:headers>
</http:Request></pre>
</div>
<h4><a id="ResponseClass" name="ResponseClass">2.2.2 Response Class</a></h4>
<p>An <acronym title="Hyper Text Transfer Protocol">HTTP</acronym> response.
The <code>http:Response</code> class is a subclass of the <a
href="#MessageClass"><code>http:Message</code></a> class.</p>
<h5><a id="ResponseClassProperties" name="ResponseClassProperties">Related
Properties</a></h5>
<ul>
<li>Domain of:
<ul>
<li><a
href="#statusCodeValueProperty"><code>http:statusCodeValue</code></a></li>
<li><a href="#scProperty"><code>http:sc</code></a></li>
<li><a
href="#reasonPhraseProperty"><code>http:reasonPhrase</code></a></li>
</ul>
</li>
<li>Range of:
<ul>
<li><a href="#respProperty"><code>http:resp</code></a></li>
</ul>
</li>
</ul>
<p><a id="dateResp" name="dateResp">The <code>dct:date</code> property</a> when
used in a <code>Response</code> resource represents the date the response was
<strong>received</strong> by the client.</p>
<h5><a id="ResponseClassExamples" name="ResponseClassExamples">Examples</a></h5>
<div class="example">
<p><strong>Example 2.4:</strong> A <code>Response</code> resource.</p>
<pre><http:Response rdf:ID="resp0">
<http:httpVersion>1.1</http:httpVersion>
<dct:date>2008-01-11</dct:date>
<http:statusCodeValue>200</http:statusCodeValue>
<http:sc rdf:resource="http://www.w3.org/2011/http-statusCodes#OK"/>
<http:headers rdf:parseType="Collection">
<http:MessageHeader rdf:about="#mh2"/>
<http:MessageHeader rdf:about="#mh3"/>
</http:headers>
<http:body>
<cnt:Content rdf:ID="cont0"/>
</http:body>
</http:Response></pre>
</div>
<h3><a id="MessageHeaderClass" name="MessageHeaderClass">2.3 MessageHeader
Class</a></h3>
<p>A header in an <acronym title="Hyper Text Transfer Protocol">HTTP</acronym>
message.</p>
<h4><a id="MessageHeaderClassProperties"
name="MessageHeaderClassProperties">Related Properties</a></h4>
<ul>
<li>Domain of:
<ul>
<li><a href="#fieldNameProperty"><code>http:fieldName</code></a></li>
<li><a href="#hdrNameProperty"><code>http:hdrName</code></a></li>
<li><a href="#fieldValueProperty"><code>http:fieldValue</code></a></li>
<li><a
href="#headerElementsProperty"><code>http:headerElements</code></a></li>
</ul>
</li>
<li>Range of: none</li>
</ul>
<h4><a id="MessageHeaderClassExamples"
name="MessageHeaderClassExamples">Examples</a></h4>
<div class="example">
<p><strong>Example 2.5:</strong> A <code>MessageHeader</code> resource.</p>
<pre><http:MessageHeader rdf:ID="mh0">
<http:fieldValue>text/html, image/png, image/gif;q=0.8</http:fieldValue>
<http:fieldName>Accept</http:fieldName>
<http:hdrName rdf:resource="http://www.w3.org/2011/http-headers#accept"/>
<http:headerElements rdf:parseType="Collection">
<http:HeaderElement rdf:about="#he0"/>
<http:HeaderElement rdf:about="#he1"/>
<http:HeaderElement rdf:about="#he2"/>
</http:headerElements>
</http:MessageHeader></pre>
</div>
<h4><a id="GeneralHeaderClass" name="GeneralHeaderClass">2.3.1 GeneralHeader
Class</a></h4>
<p>A general header in an <acronym
title="Hyper Text Transfer Protocol">HTTP</acronym> message. The
<code>http:GeneralHeader</code> class is a subclass of the <a
href="#MessageHeaderClass"><code>http:MessageHeader</code></a> class.</p>
<h4><a id="GeneralHeaderClassProperties"
name="GeneralHeaderClassProperties">Related Properties</a></h4>
<ul>
<li>Domain of: none</li>
<li>Range of: none</li>
</ul>
<h4><a id="GeneralHeaderClassExamples"
name="GeneralHeaderClassExamples">Examples</a></h4>
<div class="example">
<p><strong>Example 2.6:</strong> A <code>GeneralHeader</code> resource.</p>
<pre><http:GeneralHeader rdf:ID="gh0">
<http:fieldValue>chunked</http:fieldValue>
<http:fieldName>Transfer-Encoding</http:fieldName>
<http:hdrName rdf:resource="http://www.w3.org/2011/http-headers#transfer-encoding"/>
</http:GeneralHeader></pre>
</div>
<h4><a id="RequestHeaderClass" name="RequestHeaderClass">2.3.2 RequestHeader
Class</a></h4>
<p>A header in an <acronym title="Hyper Text Transfer Protocol">HTTP</acronym>
request message. The <code>http:RequestHeader</code> class is a subclass of the
<a href="#MessageHeaderClass"><code>http:MessageHeader</code></a> class.</p>
<h4><a id="RequestHeaderClassProperties"
name="RequestHeaderClassProperties">Related Properties</a></h4>
<ul>
<li>Domain of: none</li>
<li>Range of: none</li>
</ul>
<h4><a id="RequestHeaderClassExamples"
name="RequestHeaderClassExamples">Examples</a></h4>
<div class="example">
<p><strong>Example 2.7:</strong> A <code>RequestHeader</code> resource.</p>
<pre><http:RequestHeader rdf:ID="rh0">
<http:fieldValue>text/html</http:fieldValue>
<http:fieldName>Accept</http:fieldName>
<http:hdrName rdf:resource="http://www.w3.org/2011/http-headers#accept"/>
</http:RequestHeader></pre>
</div>
<h4><a id="ResponseHeaderClass" name="ResponseHeaderClass">2.3.3 ResponseHeader
Class</a></h4>
<p>A header in an <acronym title="Hyper Text Transfer Protocol">HTTP</acronym>
response message. The <code>http:ResponseHeader</code> class is a subclass of
the <a href="#MessageHeaderClass"><code>http:MessageHeader</code></a> class.</p>
<h4><a id="ResponseHeaderClassProperties"
name="ResponseHeaderClassProperties">Related Properties</a></h4>
<ul>
<li>Domain of: none</li>
<li>Range of: none</li>
</ul>
<h4><a id="ResponseHeaderClassExamples"
name="ResponseHeaderClassExamples">Examples</a></h4>
<div class="example">
<p><strong>Example 2.8:</strong> A <code>ResponseHeader</code> resource.</p>
<pre><http:ResponseHeader rdf:ID="reh0">
<http:fieldValue>bytes</http:fieldValue>
<http:fieldName>Accept-Ranges</http:fieldName>
<http:hdrName rdf:resource="http://www.w3.org/2011/http-headers#accept-ranges"/>
</http:ResponseHeader></pre>
</div>
<h3><a id="EntityHeaderClass" name="EntityHeaderClass">2.4 EntityHeader
Class</a></h3>
<p>An entity header in an <acronym
title="Hyper Text Transfer Protocol">HTTP</acronym> message. The
<code>http:EntityHeader</code> class is a subclass of the <a
href="#MessageHeaderClass"><code>http:MessageHeader</code></a> class.</p>
<h4><a id="EntityHeaderClassProperties"
name="EntityHeaderClassProperties">Related Properties</a></h4>
<ul>
<li>Domain of: none</li>
<li>Range of: none</li>
</ul>
<h4><a id="EntityHeaderClassExamples"
name="EntityHeaderClassExamples">Examples</a></h4>
<div class="example">
<p><strong>Example 2.9:</strong> A <code>EntityHeader</code> resource.</p>
<pre><http:EntityHeader rdf:ID="eh0">
<http:fieldValue>3495</http:fieldValue>
<http:fieldName>Content-Length</http:fieldName>
<http:hdrName rdf:resource="http://www.w3.org/2011/http-headers#content-length"/>
</http:EntityHeader></pre>
</div>
<h3><a id="HeaderElementClass" name="HeaderElementClass">2.5 HeaderElement
Class</a></h3>
<p>An element in a header value, if a <a href="#MessageHeaderClass">Message
Header</a> value can be decomposed into several parts.</p>
<h4><a id="HeaderElementClassProperties"
name="HeaderElementClassProperties">Related Properties</a></h4>
<ul>
<li>Domain of:
<ul>
<li><a href="#elementNameProperty"><code>http:elementName</code></a></li>
<li><a
href="#elementValueProperty"><code>http:elementValue</code></a></li>
<li><a href="#paramsProperty"><code>http:params</code></a></li>
</ul>
</li>
<li>Range of: none</li>
</ul>
<h4><a id="HeaderElementClassExamples"
name="HeaderElementClassExamples">Examples</a></h4>
<div class="example">
<p><strong>Example 2.10:</strong> A <code>HeaderElement</code> resource.</p>
<pre><http:HeaderElement rdf:ID="he0">
<http:elementName>image/gif</http:elementName>
<http:params rdf:parseType="Collection">
<http:Parameter rdf:ID="param0"/>
</http:params>
</http:HeaderElement></pre>
</div>
<h3><a id="ParameterClass" name="ParameterClass">2.6 Parameter Class</a></h3>
<p>A parameter in a <a href="#HeaderElementClass">Header Element</a>.</p>
<h4><a id="ParameterClassProperties" name="ParameterClassProperties">Related
Properties</a></h4>
<ul>
<li>Domain of:
<ul>
<li><a href="#paramNameProperty"><code>http:paramName</code></a></li>
<li><a href="#paramValueProperty"><code>http:paramValue</code></a></li>
</ul>
</li>
<li>Range of: none</li>
</ul>
<h4><a id="ParameterClassExamples"
name="ParameterClassExamples">Examples</a></h4>
<div class="example">
<p><strong>Example 2.11:</strong> A <code>Parameter</code> resource.</p>
<pre><http:Parameter rdf:ID="param0">
<http:paramName>q</http:paramName>
<http:paramValue>0.8</http:paramValue>
</http:Parameter></pre>
</div>
<h3><a id="MethodClass" name="MethodClass">2.7 Method Class</a></h3>
<p>The <acronym title="Hyper Text Transfer Protocol">HTTP</acronym> 1.1
specification defines eight methods: OPTIONS, GET, HEAD, POST, PUT, DELETE,
TRACE, CONNECT. Additionally [<a href="#ref-rfc5789">RFC5789</a>] defines the
PATCH method. The <acronym title="Resource Description Framework">RDF</acronym>
graph available in <acronym>RDF</acronym>/<acronym
title="Extensible Markup Language">XML</acronym> at <a
href="http://www.w3.org/2011/http-methods"><code>http://www.w3.org/2011/http-methods</code></a>
provides <code>http:Method</code> resources for each of these to be used as
objects for the <a href="#mthdProperty"><code>http:mthd</code></a> property. A
resource of type <code>http:Method</code> represents the name of a method used
with <acronym>HTTP</acronym>.</p>
<h4><a id="MethodClassProperties" name="MethodClassProperties">Related
Properties</a></h4>
<ul>
<li>Domain of: none</li>
<li>Range of:
<ul>
<li><a href="#mthdProperty"><code>http:mthd</code></a></li>
</ul>
</li>
</ul>
<h3><a id="StatusCodeClass" name="StatusCodeClass">2.8 StatusCode Class</a></h3>
<p>[<a href="#ref-status-codes">HTTP Status Codes</a>] is a registry for status
codes too be used in <acronym
title="Hyper Text Transfer Protocol">HTTP</acronym>. The <acronym
title="Resource Description Framework">RDF</acronym> graph available in
<acronym>RDF</acronym>/<acronym
title="Extensible Markup Language">XML</acronym> at <a
href="http://www.w3.org/2011/http-statusCodes"><code>http://www.w3.org/2011/http-statusCodes</code></a>
provides <code>http:StatusCode</code> resources for each of these to be used as
objects for the <a href="#scProperty"><code>http:sc</code></a> property. A
resource of type <code>http:StatusCode</code> represents a status code.</p>
<h4><a id="StatusCodeClassProperties" name="StatusCodeClassProperties">Related
Properties</a></h4>
<ul>
<li>Domain of:
<ul>
<li><a
href="#statusCodeNumberProperty"><code>http:statusCodeNumber</code></a></li>
</ul>
</li>
<li>Range of:
<ul>
<li><a href="#scProperty"><code>http:sc</code></a></li>
</ul>
</li>
</ul>
<h3><a id="HeaderNameClass" name="HeaderNameClass">2.9 HeaderName Class</a></h3>
<p>Header names to be used in <acronym
title="Hyper Text Transfer Protocol">HTTP</acronym> are registered by the
<acronym title="Internet Assigned Numbers Authority">IANA</acronym> (see [<a
href="#ref-rfc4229">RFC4229</a>], [<a href="#ref-permheaders">Permanent
Headers</a>], and [<a href="#ref-provheaders">Provisional Headers</a>]). The
<acronym title="Resource Description Framework">RDF</acronym> graph available
in <acronym>RDF</acronym>/<acronym
title="Extensible Markup Language">XML</acronym> at <a
href="http://www.w3.org/2011/http-headers"><code>http://www.w3.org/2011/http-headers</code></a>
provides <code>http:HeaderName</code> resources for each of these to be used as
objects for the <a href="#hdrNameProperty"><code>http:hdrName</code></a>
property. A resource of type <code>http:HeaderName</code> represents the name
of a header used with <acronym>HTTP</acronym>.</p>
<h4><a id="HeaderNameClassProperties" name="HeaderNameClassProperties">Related
Properties</a></h4>
<p>Properties defined by this document:</p>
<ul>
<li>Domain of: none</li>
<li>Range of:
<ul>
<li><a href="#hdrNameProperty"><code>http:hdrName</code></a></li>
</ul>
</li>
</ul>
<h2><a id="properties" name="properties">3 Properties</a></h2>
<p>This section defines <acronym
title="Resource Description Framework">RDF</acronym> properties for the
<acronym title="Hyper Text Transfer Protocol">HTTP</acronym> 1.1 specification
according to [<a href="#ref-rfc2616">RFC2616</a>].</p>
<h3><a id="bodyProperty" name="bodyProperty">3.1 body Property</a></h3>
<p>This property relates a resource object of the type <code>Message</code> to
a resource object of the type <code>cnt:Content</code> or a subclass thereof to
be the Message's entity body as defined in [<a
href="#ref-rfc2616">RFC2616</a>]. <acronym
title="Hyper Text Transfer Protocol">HTTP</acronym> bodies are series of bytes.
Thus for the resource object, it is appropriate to point to a
<code>cnt:ContentAsBase64</code> resource (see [<a
href="#ref-content-in-rdf">Content-in-RDF</a>] for more information on content
representations using the Resource Desription Framework
(<acronym>RDF</acronym>)).</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#MessageClass"><code>http:Message</code></a></dd>
<dt>Range:</dt>
<dd><a
href="http://www.w3.org/TR/Content-in-RDF/#ContentAsBase64Class"><code>cnt:ContentAsBase64</code>
<img alt="external link" src="http://www.w3.org/Icons/tr.png" /></a></dd>
</dl>
<h4><a id="bodyPropertyExamples" name="bodyPropertyExamples">Examples</a></h4>
<div class="example">
<p><strong>Example 3.1:</strong> The entity body of a message.</p>
<pre><http:Message rdf:ID="mess0">
<http:body>
<cnt:ContentAsBase64 rdf:ID="cont0-bin"/>
</http:body>
</http:Message></pre>
</div>
<h3><a id="connectionAuthorityProperty" name="connectionAuthorityProperty">3.2
connectionAuthority Property</a></h3>
<p>Connection authority: server, host and port for a connection.</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#ConnectionClass"><code>http:Connection</code></a></dd>
<dt>Range:</dt>
<dd>Literal</dd>
</dl>
<h3><a id="elementNameProperty" name="elementNameProperty">3.3 elementName
Property</a></h3>
<p>Header element name (Literal).</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#HeaderElementClass"><code>http:HeaderElement</code></a></dd>
<dt>Range:</dt>
<dd>Literal</dd>
</dl>
<h3><a id="elementValueProperty" name="elementValueProperty">3.4 elementValue
Property</a></h3>
<p>Header element value (Literal).</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#HeaderElementClass"><code>http:HeaderElement</code></a></dd>
<dt>Range:</dt>
<dd>Literal</dd>
</dl>
<h3><a id="fieldNameProperty" name="fieldNameProperty">3.5 fieldName
Property</a></h3>
<p>Header name (Literal).</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#MessageHeaderClass"><code>http:MessageHeader</code></a></dd>
<dt>Range:</dt>
<dd>Literal</dd>
</dl>
<h3><a id="fieldValueProperty" name="fieldValueProperty">3.6 fieldValue
Property</a></h3>
<p>Header value (Literal).</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#MessageHeaderClass"><code>http:MessageHeader</code></a></dd>
<dt>Range:</dt>
<dd>Literal</dd>
</dl>
<h3><a id="headersProperty" name="headersProperty">3.7 headers Property</a></h3>
<p><acronym title="Hyper Text Transfer Protocol">HTTP</acronym> headers sent
with the message.</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#MessageClass"><code>http:Message</code></a></dd>
<dt>Range:</dt>
<dd>unspecified</dd>
</dl>
<h3><a id="headerElementsProperty" name="headerElementsProperty">3.8
headerElements Property</a></h3>
<p>Header value elements.</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#MessageHeaderClass"><code>http:MessageHeader</code></a></dd>
<dt>Range:</dt>
<dd>unspecified</dd>
</dl>
<h3><a id="hdrNameProperty" name="hdrNameProperty">3.9 hdrName Property</a></h3>
<p>This property relates a resource of type <code>http:MessageHeader</code> to
a resource of type <code>http:HeaderName</code>.</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#MessageHeaderClass"><code>http:MessageHeader</code></a></dd>
<dt>Range:</dt>
<dd><a href="#HeaderNameClass"><code>http:HeaderName</code></a></dd>
</dl>
<h3><a id="httpVersionProperty" name="httpVersionProperty">3.10 httpVersion
Property</a></h3>
<p>Property representing the <acronym
title="Hyper Text Transfer Protocol">HTTP</acronym> version number as a Literal
(the format is <em>'digit.digit'</em>).</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#MessageClass"><code>http:Message</code></a></dd>
<dt>Range:</dt>
<dd>Literal</dd>
</dl>
<h3><a id="mthdProperty" name="mthdProperty">3.11 mthd Property</a></h3>
<p><acronym title="Hyper Text Transfer Protocol">HTTP</acronym> method.</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#RequestClass"><code>http:Request</code></a></dd>
<dt>Range:</dt>
<dd><a href="#MethodClass"><code>http:Method</code></a></dd>
</dl>
<h3><a id="methodNameProperty" name="methodNameProperty">3.12 methodName
Property</a></h3>
<p><acronym title="Hyper Text Transfer Protocol">HTTP</acronym> method name
(Literal).</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#RequestClass"><code>http:Request</code></a></dd>
<dt>Range:</dt>
<dd>Literal</dd>
</dl>
<h3><a id="paramsProperty" name="paramsProperty">3.13 params Property</a></h3>
<p>Header element parameters.</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#HeaderElementClass"><code>http:HeaderElement</code></a></dd>
<dt>Range:</dt>
<dd>unspecified</dd>
</dl>
<h3><a id="paramNameProperty" name="paramNameProperty">3.14 paramName
Property</a></h3>
<p>Parameter name.</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#ParameterClass"><code>http:Parameter</code></a></dd>
<dt>Range:</dt>
<dd>Literal</dd>
</dl>
<h3><a id="paramValueProperty" name="paramValueProperty">3.15 paramValue
Property</a></h3>
<p>Parameter value.</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#ParameterClass"><code>http:Parameter</code></a></dd>
<dt>Range:</dt>
<dd>Literal</dd>
</dl>
<h3><a id="reasonPhraseProperty" name="reasonPhraseProperty">3.16 reasonPhrase
Property</a></h3>
<p>Reason phrase sent by the server.</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#ResponseClass"><code>http:Response</code></a></dd>
<dt>Range:</dt>
<dd>Literal</dd>
</dl>
<h3><a id="requestsProperty" name="requestsProperty">3.17 requests
Property</a></h3>
<p><acronym title="Hyper Text Transfer Protocol">HTTP</acronym> requests sent
via the connection.</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#ConnectionClass"><code>http:Connection</code></a></dd>
<dt>Range:</dt>
<dd>unspecified</dd>
</dl>
<h3><a id="requestURIProperty" name="requestURIProperty">3.18 requestURI
Property</a></h3>
<p>The request <acronym title="Uniform Resource Identifier">URI</acronym> as
specified in section 5.1.2 of [<a href="#ref-rfc2616">RFC2616</a>]. This
vocabulary defines the following sub-properties:</p>
<ul>
<li><a href="#absoluteURIProperty"><code>http:absoluteURI</code></a></li>
<li><a href="#absolutePathProperty"><code>http:absolutePath</code></a></li>
<li><a href="#authorityProperty"><code>http:authority</code></a></li>
</ul>
<dl>
<dt>Domain:</dt>
<dd><a href="#RequestClass"><code>http:Request</code></a></dd>
<dt>Range:</dt>
<dd>Literal</dd>
</dl>
<h4><a id="requestURIPropertyExamples"
name="requestURIPropertyExamples">Examples</a></h4>
<div class="example">
<p><strong>Example 3.2:</strong> The use of the <code>requestURI</code>
property.</p>
<pre><http:Request>
<http:methodName>OPTIONS</http:methodName>
<http:requestURI>*</http:requestURI>
...
</http:Request></pre>
</div>
<h4><a id="absoluteURIProperty" name="absoluteURIProperty">3.18.1 absoluteURI
Property</a></h4>
<p>Request <acronym title="Uniform Resource Identifier">URI</acronym> that is
an absolute <acronym>URI</acronym>.</p>
<h5><a id="absoluteURIPropertyExamples"
name="absoluteURIPropertyExamples">Examples</a></h5>
<div class="example">
<p><strong>Example 3.3:</strong> The use of the <code>absoluteURI</code>
property.</p>
<pre><http:Request>
<http:methodName>GET</http:methodName>
<http:absoluteURI>http://www.example.org:80/foo/bar</http:absoluteURI>
...
</http:Request></pre>
</div>
<h4><a id="absolutePathProperty" name="absolutePathProperty">3.18.2
absolutePath Property</a></h4>
<p>Request <acronym title="Uniform Resource Identifier">URI</acronym> that is
an absolute path.</p>
<h5><a id="absolutePathPropertyExamples"
name="absolutePathPropertyExamples">Examples</a></h5>
<div class="example">
<p><strong>Example 3.4:</strong> The use of the <code>absolutePath</code>
property.</p>
<pre><http:Request>
<http:methodName>GET</http:methodName>
<http:absolutePath>/foo/bar</http:absolutePath>
...
</http:Request></pre>
</div>
<h4><a id="authorityProperty" name="authorityProperty">3.18.3 authority
Property</a></h4>
<p>Request <acronym title="Uniform Resource Identifier">URI</acronym> that is
an authority.</p>
<h5><a id="authorityPropertyExamples"
name="authorityPropertyExamples">Examples</a></h5>
<div class="example">
<p><strong>Example 3.5:</strong> The use of the <code>authority</code>
property.</p>
<pre><http:Request>
<http:methodName>CONNECT</http:methodName>
<http:authority>www.example.org:80</http:authority>
...
</http:Request></pre>
</div>
<h3><a id="respProperty" name="respProperty">3.19 resp Property</a></h3>
<p>This property relates a resource of type <code>http:Request</code> to a
resource of type <code>http:Response</code>.</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#RequestClass"><code>http:Request</code></a></dd>
<dt>Range:</dt>
<dd><a href="#ResponseClass"><code>http:Response</code></a></dd>
</dl>
<h3><a id="scProperty" name="scProperty">3.20 sc Property</a></h3>
<p>This property relates a resource of type <code>http:Response</code> to a
resource of type <code>http:StatusCode</code>.</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#ResponseClass"><code>http:Response</code></a></dd>
<dt>Range:</dt>
<dd><a href="#StatusCodeClass"><code>http:StatusCode</code></a></dd>
</dl>
<h3><a id="statusCodeNumberProperty" name="statusCodeNumberProperty">3.21
statusCodeNumber Property</a></h3>
<p>The status code value (integer) corresponding to the standardized status
code value.</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#StatusCodeClass"><code>http:StatusCode</code></a></dd>
<dt>Range:</dt>
<dd><code>http://www.w3.org/2001/XMLSchema#int</code></dd>
</dl>
<h3><a id="statusCodeValueProperty" name="statusCodeValueProperty">3.22
statusCodeValue Property</a></h3>
<p>The actual status code value sent by the server (Literal).</p>
<dl>
<dt>Domain:</dt>
<dd><a href="#ResponseClass"><code>http:Response</code></a></dd>
<dt>Range:</dt>
<dd>Literal</dd>
</dl>
<hr />
<h2><a id="example" name="example">Appendix A: A practical Example</a></h2>
<p>The following example shows an <acronym
title="Resource Description Framework">RDF</acronym>/<acronym
title="Extensible Markup Language">XML</acronym> representation of an <acronym
title="Hypertext Transfer Protocol">HTTP</acronym> request and response
pair.</p>
<h3><a id="scenario" name="scenario">Scenario Description</a></h3>
<p>A client sends two requests to a server at <code>www.example.org</code> port
80 via <acronym>HTTP</acronym> 1.1 GET. With each request, it sends request
headers. The first request is for a resource in the document root
(<code>/</code>), the second for a resource at <code>/image</code>. While
handling the second request the server performs content negotiation respecting
the request's <code>Accept</code> header and so sends a <acronym
title="Portable Netowrk Graphics">PNG</acronym> image. This is indicated by the
response's <code>Vary</code> header.</p>
<h3><a id="code" name="code">Resulting
<acronym>RDF</acronym>/<acronym>XML</acronym></a></h3>
<pre><?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:http="http://www.w3.org/2011/http#"
xmlns:cnt="http://www.w3.org/2011/content#"
xmlns:dct="http://purl.org/dc/terms/">
<http:Connection rdf:ID="conn">
<http:connectionAuthority>www.example.org:80</http:connectionAuthority>
<http:requests rdf:parseType="Collection">
<http:Request rdf:about="#req0"/>
<http:Request rdf:about="#req1"/>
</http:requests>
</http:Connection>
<http:Request rdf:about="#req0">
<http:httpVersion>1.1</http:httpVersion>
<http:methodName>GET</http:methodName>
<http:mthd rdf:resource="http://www.w3.org/2011/http-methods#GET"/>
<http:absolutePath>/</http:absolutePath>
<http:headers rdf:parseType="Collection">
<http:RequestHeader>
<http:fieldName>Host</http:fieldName>
<http:hdrName rdf:resource="http://www.w3.org/2011/http-headers#host"/>
<http:fieldValue>www.example.org</http:fieldValue>
</http:RequestHeader>
<http:RequestHeader>
<http:fieldName>User-Agent</http:fieldName>
<http:hdrName rdf:resource="http://www.w3.org/2011/http-headers#user-agent"/>
<http:fieldValue>My User Agent</http:fieldValue>
</http:RequestHeader>
<http:RequestHeader>
<http:fieldName>Accept</http:fieldName>
<http:hdrName rdf:resource="http://www.w3.org/2011/http-headers#accept"/>
<http:fieldValue>text/html, image/png, image/gif;q=0.8</http:fieldValue>
<http:headerElements rdf:parseType="Collection">
<http:HeaderElement>
<http:elementName>text/html</http:elementName>
</http:HeaderElement>
<http:HeaderElement>
<http:elementName>image/png</http:elementName>
</http:HeaderElement>
<http:HeaderElement>
<http:elementName>image/gif</http:elementName>
<http:params rdf:parseType="Collection">
<http:Parameter>
<http:paramName>q</http:paramName>
<http:paramValue>0.8</http:paramValue>
</http:Parameter>
</http:params>
</http:HeaderElement>
</http:headerElements>
</http:RequestHeader>
</http:headers>
<http:resp rdf:resource="#resp0"/>
</http:Request>
<http:Request rdf:about="#req1">
<http:httpVersion>1.1</http:httpVersion>
<http:methodName>GET</http:methodName>
<http:mthd rdf:resource="http://www.w3.org/2011/http-methods#GET"/>
<http:absolutePath>/image</http:absolutePath>
<http:headers rdf:parseType="Collection">
<http:RequestHeader>
<http:fieldName>Host</http:fieldName>
<http:hdrName rdf:resource="http://www.w3.org/2011/http-headers#host"/>
<http:fieldValue>www.example.org</http:fieldValue>
</http:RequestHeader>
<http:RequestHeader>
<http:fieldName>User-Agent</http:fieldName>
<http:hdrName rdf:resource="http://www.w3.org/2011/http-headers#user-agent"/>
<http:fieldValue>My User Agent</http:fieldValue>
</http:RequestHeader>
<http:RequestHeader>
<http:fieldName>Accept</http:fieldName>
<http:hdrName rdf:resource="http://www.w3.org/2011/http-headers#accept"/>
<http:fieldValue>image/png, image/gif;q=0.8</http:fieldValue>
<http:headerElements rdf:parseType="Collection">
<http:HeaderElement>
<http:elementName>image/png</http:elementName>
</http:HeaderElement>
<http:HeaderElement>
<http:elementName>image/gif</http:elementName>
<http:params rdf:parseType="Collection">
<http:Parameter>
<http:paramName>q</http:paramName>
<http:paramValue>0.8</http:paramValue>
</http:Parameter>
</http:params>
</http:HeaderElement>
</http:headerElements>
</http:RequestHeader>
</http:headers>
<http:resp rdf:resource="#resp1"/>
</http:Request>
<http:Response rdf:ID="resp0">
<http:httpVersion>1.1</http:httpVersion>
<http:statusCodeValue>200</http:statusCodeValue>
<http:sc rdf:resource="http://www.w3.org/2011/http-statusCodes#OK"/>
<http:reasonPhrase>OK</http:reasonPhrase>
<http:headers rdf:parseType="Collection">
<http:GeneralHeader>
<http:fieldName>Date</http:fieldName>
<http:hdrName rdf:resource="http://www.w3.org/2011/http-headers#date"/>
<http:fieldValue>.......</http:fieldValue>
</http:GeneralHeader>
<http:EntityHeader>
<http:fieldName>Content-Type</http:fieldName>
<http:hdrName rdf:resource="http://www.w3.org/2011/http-headers#content-type"/>
<http:fieldValue>text/html; charset=utf-8</http:fieldValue>
<http:headerElements rdf:parseType="Collection">
<http:HeaderElement>
<http:elementName>text/html</http:elementName>
<http:params rdf:parseType="Collection">
<http:Parameter>
<http:paramName>charset</http:paramName>
<http:paramValue>utf-8</http:paramValue>
</http:Parameter>
</http:params>
</http:HeaderElement>
</http:headerElements>
</http:EntityHeader>
</http:headers>
<http:body>
<cnt:ContentAsBase64 rdf:ID="cont0-bin">
<cnt:bytes rdf:datatype="http://www.w3.org/2001/XMLSchema#base64Binary">ajrq9qguojbglj48z..........</cnt:bytes>
<dct:isFormatOf rdf:resource="http://www.example.org/"/>
</cnt:ContentAsBase64>
</http:body>
</http:Response>
<http:Response rdf:ID="resp1">
<http:httpVersion>1.1</http:httpVersion>
<http:statusCodeValue>200</http:statusCodeValue>
<http:sc rdf:resource="http://www.w3.org/2011/http-statusCodes#OK"/>
<http:reasonPhrase>OK</http:reasonPhrase>
<http:headers rdf:parseType="Collection">
<http:MessageHeader>
<http:fieldName>Date</http:fieldName>
<http:hdrName rdf:resource="http://www.w3.org/2011/http-headers#date"/>
<http:fieldValue>.......</http:fieldValue>
</http:MessageHeader>
<http:MessageHeader>
<http:fieldName>Content-Type</http:fieldName>
<http:hdrName rdf:resource="http://www.w3.org/2011/http-headers#content-type"/>
<http:fieldValue>image/png</http:fieldValue>
</http:MessageHeader>
<http:MessageHeader>
<http:fieldName>Vary</http:fieldName>
<http:hdrName rdf:resource="http://www.w3.org/2011/http-headers#vary"/>
<http:fieldValue>accept</http:fieldValue>
<http:headerElements rdf:parseType="Collection">
<http:HeaderElement>
<http:elementName>accept</http:elementName>
</http:HeaderElement>
</http:headerElements>
</http:MessageHeader>
</http:headers>
<http:body>
<cnt:ContentAsBase64>
<cnt:bytes rdf:datatype="http://www.w3.org/2001/XMLSchema#base64Binary">qouh3908t38hohfrf..........</cnt:bytes>
<dct:isFormatOf rdf:resource="http://www.example.org/image"/>
</cnt:ContentAsBase64>
</http:body>
</http:Response>
</rdf:RDF></pre>
<h2><a id="terms" name="terms">Appendix B: Terms</a></h2>
<p>The following terms are defined by this specification:</p>
<h3><a id="terms-classes" name="terms-classes">Classes</a></h3>
<table>
<caption>Classes in the HTTP-in-RDF namespace</caption>
<thead>
<tr>
<th scope="col">Class name</th>
<th scope="col">Label</th>
<th scope="col">Comment</th>
<th scope="col">Refinements</th>
<th scope="col">Related properties</th>
</tr>
</thead>
<tbody>
<tr id="terms-classes-Connection">
<td scope="row"><code><a
href="#ConnectionClass">http:Connection</a></code></td>
<td>Connection</td>
<td>A connection used for <acronym
title="Hypertext Transfer Protocol">HTTP</acronym> transfer.</td>
<td>-</td>
<td><a
href="#connectionAuthorityProperty"><code>http:connectionAuthority</code></a>,
<a href="#requestsProperty"><code>http:requests</code></a></td>
</tr>
<tr id="terms-classes-EntityHeader">
<td scope="row"><code><a
href="#EntityHeaderClass">http:EntityHeader</a></code></td>
<td>Entity Header</td>
<td>An entity header in an <acronym>HTTP</acronym> message.</td>
<td>-</td>
<td><a href="#fieldNameProperty"><code>http:fieldName</code></a>, <a
href="#fieldValueProperty"><code>http:fieldValue</code></a>, <a
href="#hdrNameProperty"><code>http:hdrName</code></a>, <a
href="#headerElementsProperty"><code>http:headerElements</code></a></td>
</tr>
<tr id="terms-classes-GeneralHeader">
<td scope="row"><code><a
href="#GeneralHeaderClass">http:GeneralHeader</a></code></td>
<td>General Header</td>
<td>A general header in an <acronym>HTTP</acronym> message.</td>
<td>-</td>
<td><a href="#fieldNameProperty"><code>http:fieldName</code></a>, <a
href="#fieldValueProperty"><code>http:fieldValue</code></a>, <a
href="#hdrNameProperty"><code>http:hdrName</code></a>, <a
href="#headerElementsProperty"><code>http:headerElements</code></a></td>
</tr>
<tr id="terms-classes-HeaderElement">
<td scope="row"><code><a
href="#HeaderElementClass">http:HeaderElement</a></code></td>
<td>Header Element</td>
<td>A part of a deconstructed header value.</td>
<td>-</td>
<td><a href="#elementNameProperty"><code>http:elementName</code></a>, <a
href="#elementValueProperty"><code>http:elementValue</code></a>, <a
href="#paramsProperty"><code>http:params</code></a></td>
</tr>
<tr id="terms-classes-HeaderName">
<td scope="row"><code><a
href="#HeaderNameClass">http:HeaderName</a></code></td>
<td>Header Name</td>
<td>The header name.</td>
<td>-</td>
<td></td>
</tr>
<tr id="terms-classes-Message">
<td scope="row"><code><a href="#MessageClass">http:Message</a></code></td>
<td>Message</td>
<td>An <acronym>HTTP</acronym> message.</td>
<td><a href="#RequestClass">http:Request</a>, <a
href="#ResponseClass">http:Response</a></td>
<td><a href="#httpVersionProperty"><code>http:httpVersion</code></a>,
<code>dct:date</code>, <a
href="#bodyProperty"><code>http:body</code></a>, <a
href="#headersProperty"><code>http:headers</code></a></td>
</tr>
<tr id="terms-classes-MessageHeader">
<td scope="row"><code><a
href="#MessageHeaderClass">http:MessageHeader</a></code></td>
<td>Message Header</td>
<td>A header in an <acronym>HTTP</acronym> message.</td>
<td><a href="#GeneralHeaderClass">http:GeneralHeader</a>, <a
href="#RequestHeaderClass">http:RequestHeader</a>, <a
href="#ResponseHeaderClass">http:ResponseHeader</a>, <a
href="#EntityHeaderClass">http:EntityHeader</a></td>
<td><a href="#fieldNameProperty"><code>http:fieldName</code></a>, <a
href="#fieldValueProperty"><code>http:fieldValue</code></a>, <a
href="#hdrNameProperty"><code>http:hdrName</code></a>, <a
href="#headerElementsProperty"><code>http:headerElements</code></a></td>
</tr>
<tr id="terms-classes-Method">
<td scope="row"><code><a href="#MethodClass">http:Method</a></code></td>
<td>Method</td>
<td>The <acronym>HTTP</acronym> method used for a request.</td>
<td>-</td>
<td></td>
</tr>
<tr id="terms-classes-Parameter">
<td scope="row"><code><a
href="#ParameterClass">http:Parameter</a></code></td>
<td>Parameter</td>
<td>A parameter for a part of a header value</td>
<td>-</td>
<td><a href="#paramNameProperty"><code>http:paramName</code></a>, <a
href="#paramValueProperty"><code>http:paramValue</code></a></td>
</tr>
<tr id="terms-classes-Request">
<td scope="row"><code><a href="#RequestClass">http:Request</a></code></td>
<td>Request</td>
<td>An <acronym>HTTP</acronym> request.</td>
<td>-</td>
<td><a href="#methodNameProperty"><code>http:methodName</code></a>, <a
href="#requestURIProperty"><code>http:requestURI</code></a>, <a
href="#mthdProperty"><code>http:mthd</code></a>, <a
href="#respProperty"><code>http:resp</code></a></td>
</tr>
<tr id="terms-classes-RequestHeader">
<td scope="row"><code><a
href="#RequestHeaderClass">http:RequestHeader</a></code></td>
<td>Request Header</td>
<td>A header in an <acronym>HTTP</acronym> request message.</td>
<td>-</td>
<td><a href="#fieldNameProperty"><code>http:fieldName</code></a>, <a
href="#fieldValueProperty"><code>http:fieldValue</code></a>, <a
href="#hdrNameProperty"><code>http:hdrName</code></a>, <a
href="#headerElementsProperty"><code>http:headerElements</code></a></td>
</tr>
<tr id="terms-classes-Response">
<td scope="row"><code><a
href="#ResponseClass">http:Response</a></code></td>
<td>Response</td>
<td>An <acronym>HTTP</acronym> response.</td>
<td>-</td>
<td><a
href="#statusCodeValueProperty"><code>http:statusCodeValue</code></a>,
<a href="#reasonPhraseProperty"><code>http:reasonPhrase</code></a>, <a
href="#scProperty"><code>http:sc</code></a></td>
</tr>
<tr id="terms-classes-ResponseHeader">
<td scope="row"><code><a
href="#ResponseHeaderClass">http:ResponseHeader</a></code></td>
<td>Response Header</td>
<td>A general header in an <acronym>HTTP</acronym> response message.</td>
<td>-</td>
<td><a href="#fieldNameProperty"><code>http:fieldName</code></a>, <a
href="#fieldValueProperty"><code>http:fieldValue</code></a>, <a
href="#hdrNameProperty"><code>http:hdrName</code></a>, <a
href="#headerElementsProperty"><code>http:headerElements</code></a></td>
</tr>
<tr id="terms-classes-StatusCode">
<td scope="row"><code><a
href="#StatusCodeClass">http:StatusCode</a></code></td>
<td>Status Code</td>
<td>The status code of an <acronym>HTTP</acronym> response.</td>
<td>-</td>
<td><a
href="#statusCodeNumberProperty"><code>http:statusCodeNumber</code></a></td>
</tr>
</tbody>
</table>
<h3><a id="terms-properties" name="terms-properties">Properties</a></h3>
<table>
<caption>Properties in the HTTP-in-RDF namespace</caption>
<thead>
<tr>
<th scope="col">Property name</th>
<th scope="col">Label</th>
<th scope="col">Comment</th>
<th scope="col">Domain</th>
<th scope="col">Range</th>
</tr>
</thead>
<tbody>
<tr id="terms-properties-absolutePath">
<td scope="row"><code><a
href="#absolutePathProperty">http:absolutePath</a></code></td>
<td>Request <acronym>URI</acronym></td>
<td>Request <acronym title="Uniform Resource Identifier">URI</acronym>
that is an absolute path.</td>
<td><a href="#RequestClass"><code>http:Request</code></a></td>
<td>RDF Literal</td>
</tr>
<tr id="terms-properties-absoluteURI">
<td scope="row"><code><a
href="#absoluteURIProperty">http:absoluteURI</a></code></td>
<td>Request <acronym>URI</acronym></td>
<td>Request <acronym title="Uniform Resource Identifier">URI</acronym>
that is an absolute <acronym>URI</acronym></td>
<td><a href="#RequestClass"><code>http:Request</code></a></td>
<td>RDF Literal</td>
</tr>
<tr id="terms-properties-authority">
<td scope="row"><code><a
href="#authorityProperty">http:authority</a></code></td>
<td>Request <acronym>URI</acronym></td>
<td>Request <acronym title="Uniform Resource Identifier">URI</acronym>
that is an authority.</td>
<td><a href="#RequestClass"><code>http:Request</code></a></td>
<td>RDF Literal</td>
</tr>
<tr id="terms-properties-body">
<td scope="row"><code><a href="#bodyProperty">http:body</a></code></td>
<td>Entity body</td>
<td>The entity body of an <acronym>HTTP</acronym> message.</td>
<td><a href="#MessageClass"><code>http:Message</code></a></td>
<td><code>cnt:ContentAsBase64</code></td>
</tr>
<tr id="terms-properties-connectionAuthority">
<td scope="row"><code><a
href="#connectionAuthorityProperty">http:connectionAuthority</a></code></td>
<td>Connection authority</td>
<td>The authority of a connection used for the <acronym>HTTP</acronym>
transfer</td>
<td><a href="#ConnectionClass"><code>http:Connection</code></a></td>
<td>RDF Literal</td>
</tr>
<tr id="terms-properties-elementName">
<td scope="row"><code><a
href="#elementNameProperty">http:elementName</a></code></td>
<td>Header element name</td>
<td>The name of a header element</td>
<td><a href="#HeaderElementClass"><code>http:HeaderElement</code></a></td>
<td>RDF Literal</td>
</tr>
<tr id="terms-properties-elementValue">
<td scope="row"><code><a
href="#elementValueProperty">http:elementValue</a></code></td>
<td>Header element value</td>
<td>The value of a header element.</td>
<td><a href="#HeaderElementClass"><code>http:HeaderElement</code></a></td>
<td>RDF Literal</td>
</tr>
<tr id="terms-properties-fieldName">
<td scope="row"><code><a
href="#fieldNameProperty">http:fieldName</a></code></td>
<td>Field name</td>
<td>The name of an <acronym>HTTP</acronym> header field.</td>
<td><a href="#MessageHeaderClass"><code>http:MessageHeader</code></a></td>
<td>RDF Literal</td>
</tr>
<tr id="terms-properties-fieldValue">
<td scope="row"><code><a
href="#fieldValueProperty">http:fieldValue</a></code></td>
<td>Field value</td>
<td>The value of an <acronym>HTTP</acronym> header field.</td>
<td><a href="#MessageHeaderClass"><code>http:MessageHeader</code></a></td>
<td>RDF Literal</td>
</tr>
<tr id="terms-properties-hdrName">
<td scope="row"><code><a
href="#hdrNameProperty">http:hdrName</a></code></td>
<td>Header name</td>
<td>The name of an <acronym>HTTP</acronym> header.</td>
<td><a href="#MessageHeaderClass"><code>http:MessageHeader</code></a></td>
<td><a href="#HeaderNameClass"><code>http:HeaderName</code></a></td>
</tr>
<tr id="terms-properties-headerElements">
<td scope="row"><code><a
href="#headerElementsProperty">http:headerElements</a></code></td>
<td>Header elements</td>
<td>The deconstructed parts of an <acronym>HTTP</acronym> header
value.</td>
<td><a href="#MessageHeaderClass"><code>http:MessageHeader</code></a></td>
<td>Collection of <a
href="#HeaderElementClass"><code>http:HeaderElement</code></a></td>
</tr>
<tr id="terms-properties-headers">
<td scope="row"><code><a
href="#headersProperty">http:headers</a></code></td>
<td>Headers</td>
<td>The headers in an <acronym>HTTP</acronym> message.</td>
<td><a href="#MessageClass"><code>http:Message</code></a></td>
<td>Collection of <a
href="#MessageHeaderClass"><code>http:MessageHeader</code></a></td>
</tr>
<tr id="terms-properties-httpVersion">
<td scope="row"><code><a
href="#httpVersionProperty">http:httpVersion</a></code></td>
<td><acronym>HTTP</acronym> Version</td>
<td>The <acronym>HTTP</acronym> version of an <acronym>HTTP</acronym>
message.</td>
<td><a href="#MessageClass"><code>http:Message</code></a></td>
<td>RDF Literal</td>
</tr>
<tr id="terms-properties-methodName">
<td scope="row"><code><a
href="#methodNameProperty">http:methodName</a></code></td>
<td>Method name</td>
<td>The <acronym>HTTP</acronym> method name used for the
<acronym>HTTP</acronym> request.</td>
<td><a href="#RequestClass"><code>http:Request</code></a></td>
<td>RDF Literal</td>
</tr>
<tr id="terms-properties-mthd">
<td scope="row"><code><a href="#mthdProperty">http:mthd</a></code></td>
<td>Method</td>
<td>The <acronym>HTTP</acronym> method used for the
<acronym>HTTP</acronym> request.</td>
<td><a href="#RequestClass"><code>http:Request</code></a></td>
<td><a href="#MethodClass"><code>http:Method</code></a></td>
</tr>
<tr id="terms-properties-paramName">
<td scope="row"><code><a
href="#paramNameProperty">http:paramName</a></code></td>
<td>Parameter name</td>
<td>The name of a parameter in a part of a deconstructed
<acronym>HTTP</acronym> header value.</td>
<td><a href="#ParameterClass"><code>http:Parameter</code></a></td>
<td>RDF Literal</td>
</tr>
<tr id="terms-properties-params">
<td scope="row"><code><a
href="#paramsProperty">http:params</a></code></td>
<td>Parameters</td>
<td>The parameters in a part of a deconstructed <acronym>HTTP</acronym>
header value.</td>
<td><a href="#HeaderElementClass"><code>http:HeaderElement</code></a></td>
<td>Collection of <a
href="#ParameterClass"><code>http:Parameter</code></a></td>
</tr>
<tr id="terms-properties-paramValue">
<td scope="row"><code><a
href="#paramValueProperty">http:paramValue</a></code></td>
<td>Parameter value</td>
<td>The value of a parameter in a part of a deconstructed
<acronym>HTTP</acronym> header value.</td>
<td><a href="#ParameterClass"><code>http:Parameter</code></a></td>
<td>RDF Literal</td>
</tr>
<tr id="terms-properties-reasonPhrase">
<td scope="row"><code><a
href="#reasonPhraseProperty">http:reasonPhrase</a></code></td>
<td>Reason phrase</td>
<td>The reason phrase (status text) of an <acronym>HTTP</acronym>
response.</td>
<td><a href="#ResponseClass"><code>http:Response</code></a></td>
<td>RDF Literal</td>
</tr>
<tr id="terms-properties-requests">
<td scope="row"><code><a
href="#requestsProperty">http:requests</a></code></td>
<td>Requests</td>
<td>The <acronym>HTTP</acronym> requests made via a connection.</td>
<td><a href="#ConnectionClass"><code>http:Connection</code></a></td>
<td>Collection of <a
href="#RequestClass"><code>http:Request</code></a></td>
</tr>
<tr id="terms-properties-requestURI">
<td scope="row"><code><a
href="#requestURIProperty">http:requestURI</a></code></td>
<td>Request <acronym>URI</acronym></td>
<td>The request <acronym>URI</acronym> of an <acronym>HTTP</acronym>
request.</td>
<td><a href="#RequestClass"><code>http:Request</code></a></td>
<td>RDF Literal</td>
</tr>
<tr id="terms-properties-resp">
<td scope="row"><code><a href="#respProperty">http:resp</a></code></td>
<td>Response</td>
<td>The <acronym>HTTP</acronym> response sent in answer to an
<acronym>HTTP</acronym> request.</td>
<td><a href="#RequestClass"><code>http:Request</code></a></td>
<td><a href="#ResponseClass"><code>http:Response</code></a></td>
</tr>
<tr id="terms-properties-sc">
<td scope="row"><code><a href="#scProperty">http:sc</a></code></td>
<td>Status code</td>
<td>The status code of an <acronym>HTTP</acronym> response.</td>
<td><a href="#ResponseClass"><code>http:Response</code></a></td>
<td><a href="#StatusCodeClass"><code>http:StatusCode</code></a></td>
</tr>
<tr id="terms-properties-statusCodeNumber">
<td scope="row"><code><a
href="#statusCodeNumberProperty">http:statusCodeNumber</a></code></td>
<td>Status code number</td>
<td>The standardized status code number.</td>
<td><a href="#ResponseClass"><code>http:StatusCode</code></a></td>
<td><code>http://www.w3.org/2001/XMLSchema#int</code></td>
</tr>
<tr id="terms-properties-statusCodeValue">
<td scope="row"><code><a
href="#statusCodeValueProperty">http:statusCodeValue</a></code></td>
<td>Status code value</td>
<td>The status code value of an <acronym>HTTP</acronym> response.</td>
<td><a href="#ResponseClass"><code>http:Response</code></a></td>
<td>RDF Literal</td>
</tr>
</tbody>
</table>
<h2><a id="references" name="references">Appendix C: References</a></h2>
<dl>
<dt>[<a id="ref-content-in-rdf"
name="ref-content-in-rdf">Content-in-RDF</a>]</dt>
<dd><a href="http://www.w3.org/TR/Content-in-RDF10/">Representing Content
in <acronym title="Resource Description Framework">RDF</acronym></a> -
Johannes Koch, Carlos A Velasco, Philip Ackermann (editors). <acronym
title="World Wide Web Consortium">W3C</acronym> Working Draft 27 April
2011.</dd>
<dt>[<a id="ref-earl" name="ref-earl">EARL</a>]</dt>
<dd><a href="http://www.w3.org/WAI/intro/earl.php">Evaluation and Report
Language (<acronym>EARL</acronym>) Overview</a> -
<acronym>W3C</acronym></dd>
<dt>[<a id="ref-status-codes" name="ref-status-codes">HTTP Status
Codes</a>]</dt>
<dd><a href="http://www.iana.org/assignments/http-status-codes">"<acronym
title="Hypertext Transfer Protocol">HTTP</acronym> Status Code
Registry"</a> - <acronym
title="Internet Assigned Numbers Authority">IANA</acronym>.</dd>
<dt>[<a id="ref-owl" name="ref-owl">OWL</a>]</dt>
<dd><a href="http://www.w3.org/2004/OWL/">Web Ontology Language
(<acronym>OWL</acronym>) Overview</a> - <acronym>W3C</acronym></dd>
<dt>[<a id="ref-permheaders" name="ref-permheaders">Permanent
Headers</a>]</dt>
<dd><a
href="http://www.iana.org/assignments/message-headers/perm-headers.html">Permanent
Message Header Field Names</a> - <acronym>IANA</acronym>.</dd>
<dt>[<a id="ref-provheaders" name="ref-provheaders">Provisional
Headers</a>]</dt>
<dd><a
href="http://www.iana.org/assignments/message-headers/prov-headers.html">Provisional
Message Header Field Names</a> - <acronym>IANA</acronym>.</dd>
<dt>[<a id="ref-powder-dr" name="ref-powder-dr">POWDER-DR</a>]</dt>
<dd><a href="http://www.w3.org/TR/2009/PR-powder-dr-20090604/">Protocol for
Web Description Resources (POWDER): Description Resources</a> - P.
Archer, K. Smith, A. Perego (editors). <acronym>W3C</acronym> Proposed
Recommendation 04 June 2009.</dd>
<dt>[<a id="ref-rdf" name="ref-rdf">RDF</a>]</dt>
<dd><a href="http://www.w3.org/RDF/">Resource Description Framework
(<acronym>RDF</acronym>) Overview</a> - <acronym>W3C</acronym></dd>
<dt>[<a id="ref-rdf-primer" name="ref-rdf-primer">RDF-PRIMER</a>]</dt>
<dd><a href="http://www.w3.org/TR/rdf-primer/"><acronym>RDF</acronym>
Primer</a> - Frank Manola, Eric Miller (editors). W3C Recommendation, 10
February 2004.</dd>
<dt>[<a id="ref-rdfs" name="ref-rdfs">RDFS</a>]</dt>
<dd><a href="http://www.w3.org/TR/rdf-schema/"><acronym>RDF</acronym>
Vocabulary Description Language 1.0: <acronym>RDF</acronym> Schema</a> -
Dan Brickley, R.V. Guha (editors). W3C Recommendation 10 February
2004</dd>
<dt>[<a id="ref-rfc2119" name="ref-rfc2119">RFC2119</a>]</dt>
<dd>Request for Comments (<acronym>RFC</acronym>): 2119. <a
href="http://www.ietf.org/rfc/rfc2119.txt">Key words for use in
<acronym>RFC</acronym>s to Indicate Requirement Levels</a> - <acronym
title="Internet Engineering Task Force">IETF</acronym> March 1997.</dd>
<dt>[<a id="ref-rfc2616" name="ref-rfc2616">RFC2616</a>]</dt>
<dd><a href="http://www.ietf.org/rfc/rfc2616.txt">Hypertext Transfer
Protocol -- <acronym>HTTP</acronym>/1.1</a> - R. Fielding, J. Gettys, J.
Mogul, H. Frystyk Nielsen, L. Masinter, P. Leach and T. Berners-Lee.
<acronym>IETF</acronym> June 1999.</dd>
<dt>[<a id="ref-rfc4229" name="ref-rfc4229">RFC4229</a>]</dt>
<dd><a href="http://www.ietf.org/rfc/rfc4229.txt"><acronym>HTTP</acronym>
Header Field Registrations</a> - M. Nottingham, J. Mogul.
<acronym>IETF</acronym> December 2005.</dd>
<dt>[<a id="ref-rfc5789" name="ref-rfc5789">RFC5789</a>]</dt>
<dd><a href="http://www.ietf.org/rfc/rfc5789.txt">PATCH Method for
<acronym>HTTP</acronym></a> - L. Dusseault, Linden Lab, J. Snell.
<acronym>IETF</acronym> March 2010.</dd>
<dt>[<a id="ref-wcag" name="ref-wcag">WCAG</a>]</dt>
<dd><a href="http://www.w3.org/WAI/intro/wcag.php">Web Content
Accessibility Guidelines (<acronym>WCAG</acronym>) Overview</a> -
<acronym>W3C</acronym>.</dd>
<dt>[<a id="ref-xml" name="ref-xml">XML</a>]</dt>
<dd><a href="http://www.w3.org/TR/2008/REC-xml-20081126/">Extensible Markup
Language (<acronym>XML</acronym>) 1.0 (Fifth Edition)</a> - Tim Bray,
Jean Paoli, C. M. Sperberg-McQueen, Eve Maler, François Yergeau
(editors). <acronym>W3C</acronym> Recommendation 26 November 2008</dd>
</dl>
<h2><a id="changes" name="changes">Appendix D: Document Changes</a></h2>
<p>The following is a list of substantial changes since the <a
href="http://www.w3.org/TR/2009/WD-HTTP-in-RDF10-20091029/">29 October 2009
Working Draft</a>:</p>
<ul>
<li>Added new classes <code>GeneralHeader</code>,
<code>ResponseHeader</code>, <code>RequestHeader</code> and
<code>EntityHeader</code> as subclasses of <code>MessageHeader</code>.</li>
<li>Added HTTP PATCH method.</li>
<li>Added <code>statusCodeNumber</code> to class <code>StatusCode</code><a>.
</a></li>
<li>Changed domain of <code>statusCodeValue</code> to class
<code>Response</code>.</li>
<li>Fixed inconsistencies in RDF Schemas (HTTP and Status Codes). </li>
<li>Examples adapted.</li>
<li>Changed <code>abs_Path</code> to <code>absolutePath</code>.</li>
<li>Removed conformance section.</li>
</ul>
</body>
</html>