foo.html
38.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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>A quick look at iCalendar</title>
<link rel="stylesheet" href="/StyleSheets/base.css">
<!-- Changed by: tbl 19990524 -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body lang="en">
<p><a href="../"><img alt="W3" border="0" src="/Icons/WWW/w3c_home"
width="72" height="48"></a></p>
<h2>Building an RDF model:</h2>
<h1>A quick look at iCalendar</h1>
<p>I spent a few hours reading 50 pages of the iCalendar <a
href="http://www.ietf.org/rfc/rfc2445.txt">RFC2445</a> with a view to
evaluating proposals to put it into XML. My conclusion early on was that the
spec should be written in terms of <a href="/RDF">RDF</a> properties,
particularly as it has a clear property/value and parameter/value
structure.</p>
<blockquote style="background-color: #E1E1E1">
<p>Epilogue: see also the <a href="/2002/12/cal/">RDF Calendar
Workspace</a>, started late 2002, which takes a similar approach to this
"quick look" with running code, example data, and schemas.</p>
<address style="text-align: right">
<p><a href="/People/Connolly/">DanC</a></p>
</address>
</blockquote>
<h2><a name="Summary">Summary</a></h2>
<p>General points I noticed included</p>
<ol>
<li>The spec is full of x-extensions and IANA registries. these would all
be done using namespaces in XML</li>
<li>There is no summary of properties with their domains and ranges, which
would make the spec much clearer.</li>
<li>The parameter value type of "URI" implicitly causes dereferencing. This
is not clear from the spec but is assumed by the examples.</li>
<li>There are a few example of wanton reification, e.g. relationship
type.</li>
<li>Encodings, for cleanliness: the encoding is a relationship between two
objects, not the property of an object. Same comment on XML DSig.</li>
<li>I am concerned that I have not found very much protocol defining what
how agents interact, or what a message containing a calendar entry means.
But maybe that is elsewhere in the spec.</li>
</ol>
<h2><a name="Narrative">Narrative</a></h2>
<p>When looking for a natural representation of data in a given lanbguage in
RDF, one looks at first for the natural structureo fthe language. iCalndar
has a nested set of structures which naturally lend themselves to an RDF
graph interpretation. Apart from the noted exceptions, this translatoin leads
to a set of fairly logically defined RDF properties which could form
iCalendar's contribution to the semantic web.</p>
<p>A "calendar" consists of a set of components, such as events, and to-do
list and journal entries. These seem natural RDF types. (There is a choice
of whether to introduce special a specific property as the relationship
between the containing calendar and a specfic type of component, or whther to
use generic inclusion property and then specifythe subtype of the
component.)</p>
<p>The components have properties, even known as properties in iCalendar. Now
each property is in fact a complex thing which has a "value" (implcitly
named) and various "parameters" with names.</p>
<p>The named parameters are clearly easily represented as RDF properties.</p>
<p>The values are generally atomic things suhc as integers and strings, with
two exceptions. One is when the valeu if the URI and this implies that the
actual value is in a document with that URI. Another is that the value
datatype "rcecur"is a string which itself has a substructure. This recurrence
substructure takes the form of (guess what!) a set of attribute value
pairs.</p>
<h2><a name="Detailed">Detailed comments</a></h2>
<h3>2.3 Internationalization</h3>
<p>If this were XML this would be done for you, with Unicode and the various
encodings etc.</p>
<h3>4.1 Content Lines</h3>
<p>x-name and iana-token are extensions which XML would give for free using
namespaces.</p>
<p></p>
<p>"Each property defines the specific ABNF for the parameters allowed on the
property"</p>
<p>This makes general parsing impossible, direct conversion into XML
difficult. The only hope is that in fact that it not true and there is more
consistency than this line leads you to believe! This sounds like a remake of
the RFC822 problem which HTTP has in spades: One parser per page of the
spec.</p>
<h3><a name="4.1.3">4.1.3</a></h3>
<p>Here in the example</p>
<pre>ATTACH;FMTTYPE=image/basic;ENCODING=BASE64;VALUE=BINARY:
MIICajCCAdOgAwIBAgICBEUwDQYJKoZIhvcNAQEEBQAwdzELMAkGA1U
EBhMCVVMxLDAqBgNVBAoTI05ldHNjYXBlIENvbW11bmljYXRpb25zIE <...remainder of "BASE64" encoded binary data...></pre>
<p>represents the encoding as though it were a property of the value. It
isn't: it is a relationship between the value and thestring expressed here.
Nicer to write that.</p>
<p></p>
<pre><attach>
<fmttype>image/basic</fmttype>
<base64>MIICajCCAdOgAwIBAgICBEUwDQYJKoZIhvcN
[...]
</base64>
</attach></pre>
<p>which would mean (in XML or RDF nonstriped strawman syntax) "Something is
attached which has content type image/basic and has base64 encoding
MMICCblablahblah".</p>
<p>Note that making base64 a first class relationship (subclass of encoding)
makes for brevity and extensibility: with a namespace I can introduce a new
one.</p>
<p>Value=binary has all these problems and is unnecessary. It is assumed in
base64. The earlier example with the URI</p>
<pre>ATTACH:http://xyz.com/public/quarterly-report.doc</pre>
<p>has an implicit dereferencing operation which it would be best to
expose:</p>
<p></p>
<pre><attach>
<uri>http://xyz.com/public/quarterly-report.doc
</uri>
</attach></pre>
<p>which means, consistently with the previous example, "something is
attached which is identified by URI http://...."</p>
<h3>4.2 property parameters</h3>
<p>Property parameter values MUST NOT contain a double quote. So I guess that
if i want to represent something which does... I attach it?</p>
<p></p>
<p>4.2.1</p>
<p>ALTREP and many of the following parameters can be represented obviously
as RDF properties. There needs to be an explicit property between the
introduced thing and any "value".</p>
<pre><description>
<altrep>cid:asdfsadf@sdfsdaf.com</altrep>
<text>Proext XYZ review meeting</text>
<description></pre>
<p>This becomes more obvious when you look at things like ATTENDEE.</p>
<p></p>
<p>4.2.2.</p>
<p>There seems to be an embryonic notion of type here ("properties with the
CAL-ADDRESS value type". I assume this can be formalized. it would be so much
simpler if this were tabulated.</p>
<p></p>
<p>4.2.3 Calendar User Type.</p>
<p>"mailto:" is usually in lower case. I thought it was in fact mandatory
that it be in lower case.</p>
<p></p>
<h3>4.2.5 Delegatees</h3>
<p>It is very confusing who ends up being the attendee notionally when both
delegates-to and -from are specified. Changing this to RDF, or contemplating
doing logical operations on this make one queasy about the solidity here.</p>
<p>ATTENDEE;DELEGATED-TO="mailto:a@y.com";DELEGATED-FROM="mailto:b@y.com":c@y.com</p>
<p>What is that equivalent to? I assume a@y.com goes to the meeting.</p>
<p></p>
<h3>4.2.7. See comment about 4.1.3</h3>
<h3>4.2.9 Free/Busy Time type</h3>
<p>make relationships first class</p>
<p>FREEBUSY=FREE: would be better as FREE: to reduce unnecessary complication
and allow extension.</p>
<p>If that section of the spec (4.2.9) seems to be self-referential and
difficult to read, that is also because it is describing an unnatural part of
a clumsy syntax. You don't say "I am free or busy as follows: 12-1pm and we
are talking about free here"! because RDF makes these things first class
objects and allow you to group FREE and BUSY and REALLYBUSY as subclases of
FREEBUSYTYPE life is easier.</p>
<h3>4.2.10 language</h3>
<p>xml:lang of course is what one would get for free with XML.</p>
<h3>4.2.15</h3>
<p>"RELATED-TO:RELTYPE=SIBLING" is a classic wanton reification. Just say
SIBLING:</p>
<p>Unfortunately the specification defined how calendars can be put into a
hierarchical relationship but doesn't say what that relationship *means*.
Maybe it does later in the spec.</p>
<p></p>
<h3>4.2.18 Sent By</h3>
<p>This is a relationship between a mailbox and another mailbox. It is that
the owner of one mailbox is being represented by the owner of another. Yes,
the message which asserted this data was probably sent by the agent, but the
term is misleading when it crops up in the data. This will cause confusion.
This is an example of the clarification which arises when you try to
represent the meaning of each rdf:property (icalendar:parameter)
independently.</p>
<h3>4.2.20 Value Data Type</h3>
<p>Note that the "URI" data type does not just constrain the value string to
be a valid URI, but indicated that the value string is the document you get
when you dereference the URI. Big difference, particularly when you automate
the base 64 decoding of something.</p>
<p></p>
<p>In general, note XML data types are defined by XML schema working group.
See draft @@. A comparison would be a useful exercise.</p>
<h3>4.8.4.1 <a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor105">ATTENDEE</a></h3>
<p>"If the LANGUAGE property parameter is specified, the identified language
applies to the CN parameter"</p>
<p>That is a terrible bit of design - a typical bit of interference between
different headers which is so temping for designers in these flat specs which
can't use nesting. How many other clauses like this are there?</p>
<p>LANGUAGE is, I must admit, a problem RDF has a bug with in general. It is
difficult to specify that a string has a language without making an
intermediate node that you don't want. This is, I realize the same as the
intermediate packaging problem: how to let a system know that what it asked
for is inside, but in the mean time, here is some useful information about
it. Here is a number and by the way it is prime. here is a GIF and by ht way
it is copyright. Here is a common name and by the way it is in English. It is
interesting to see the way iCalendar has the same problem</p>
<p></p>
<h3>4.8.4 <a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor111">UID</a></h3>
<p>There is linking between components of calendars which uses "UIDs" which
are mid URIs with the prefix removed. This is a bug</p>
<ul>
<li>It removes calendar objects from the URI space so that one cannot refer
to them with any other system which uses a URI -- unless you simply
assume that you can by using mid:</li>
<li>The spec is full of recommendations for making identifiers unique.</li>
<li>It has a given length of 255 characters which is y2k bug asking to
happen. Never specify fixed buffer sizes.</li>
</ul>
<p></p>
<h4>4.8.7.4 "<a
href="http://xml.resource.org/public/rfc/html/rfc2445.html#anchor125">SEQUENCE</a>"</h4>
<p>This is not in fact a property of an event, but is a property of a given
expression of the state of an event. the rule is that it must be incremented
by the organizer if the event changes significantly. In a peer-peer world, it
is not obvious what to do. </p>
<p></p>
<p></p>
<h2><a name="reviewed">Not reviewed</a></h2>
<p>I skipped most of the rest of the spec but a few very similar concerns
arose with some other parts I glanced at.</p>
<p></p>
<h2><a name="Conclusion">Conclusion</a></h2>
<p>It seems that RDF nodes for the calendar, for each event etc, and for each
icalendar:property is a fairly straightforward mapping.</p>
<p>A spinoff would be a vocabulary which would include useful reusable models
of time.The timezone work could be factored out if it is definitive.</p>
<p>Where RDF mapping was not obvious this sometimes coincided with unclear
aspects of the specification.</p>
<p>There are three levels at which the RDF mapping could be made</p>
<ol>
<li>A very direct mapping of the ical:properties and parameters onto
rdf:properties. Always use the same "value" rdf:property for the VALUE of
an ical:property. This would leave some things looking illogical in
RDF. It would be simple to define as a mapping, but the definitoin of
the properties would be strange in some cases.</li>
<li>Make a few simple adjustments to make the RDF more natural. Places to
lok for these arehese have been indicated with a @@ in the table. This
will make the mapping obvious to an iCal expert reading the RDF, but at
the same time make the RDF queries simpler and the properties more
reusable. It would move things like RELATED RELTYPE=X into a subclass
relationship between X and RELATED which allows generic RDF machinery to
process it.</li>
<li>An extensive rework in which the logic of rules was largely exposed in
RDFS or something stronger would of course be great.</li>
</ol>
<h3><a name="Appendix:1">Appendix: Node types</a></h3>
<table border="1">
<caption>Node types infered</caption>
<tbody>
<tr>
<td>party</td>
<td>implicit node in all properties with a CAL-ADDRESS value type.
(person or group: anything which can have a mailbox)</td>
<td></td>
</tr>
<tr>
<td>cal-address</td>
<td>A mailbox - normally mailto:...</td>
<td>URI</td>
</tr>
<tr>
<td>CU</td>
<td>Calendar user defined in <a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor29">CUTYPE</a></td>
<td></td>
</tr>
<tr>
<td>INDIVIDUAL, GROUP, RESOURCE, ROOM</td>
<td></td>
<td>CU</td>
</tr>
<tr>
<td>ldap-directory</td>
<td>starts "ldap:" (is this a standard?)</td>
<td>URI</td>
</tr>
<tr>
<td>mime-type</td>
<td></td>
<td>string</td>
</tr>
<tr>
<td>participation status</td>
<td>needs-action, accepted, declines, tentative, delegated, ... (an
enum type- could do better. <a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor38">Constraints
in the spec</a>.)</td>
<td>string</td>
</tr>
<tr>
<td>component</td>
<td>of a calendar</td>
<td></td>
</tr>
<tr>
<td>EVENT, TODO, etc</td>
<td></td>
<td>component</td>
</tr>
<tr>
<td>TimeProperty</td>
<td>DTSTART, DTEND, DUE, EXDATE, RDATE</td>
<td></td>
</tr>
<tr>
<td>Timezone</td>
<td>see <a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor45">TZID</a></td>
<td>string</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor62">icalobject</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td>recur</td>
<td>defined by recurrence properties</td>
<td>-Really complex datatype could be broken down into RDF! Contains
its own nested attr/value structure.</td>
</tr>
</tbody>
</table>
<h2>Appendix: rdf:Properties - from "parameters"</h2>
<table border="1">
<caption>Properties from section 4</caption>
<tbody>
<tr>
<th>iCalendar name</th>
<th>domain</th>
<th>range</th>
<th>Notes</th>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor27">ALTREP</a></td>
<td>anything iCal property?</td>
<td>URI</td>
<td>altervative to body</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor28">CN</a></td>
<td>party</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>: (mailbox)</td>
<td>party</td>
<td>cal-address</td>
<td>Implicit node between a party and that part's mailbox. Represted by
"value" of property</td>
</tr>
<tr>
<td>CUTYPE - type</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor30">DELEGATED-FROM</a></td>
<td>party</td>
<td>cal-address</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor31">DELEGATED-TO</a></td>
<td>party</td>
<td>cal-address</td>
<td></td>
</tr>
<tr>
<td>DIR</td>
<td>party</td>
<td>URI</td>
<td></td>
</tr>
<tr>
<td>eightbit, base64</td>
<td>bits</td>
<td>text</td>
<td>text encodes bits accordingto RFC2045. Was value of encoding
"property"which was faulty model. Now, subclass of generic
ëncoding"property</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor33">ENCODING</a></td>
<td>bits</td>
<td>text</td>
<td>Only in schema, as superclass of eightbit and base64 See <a
href="#4.1.3">notes</a></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor34">FMTTYPE</a></td>
<td>document</td>
<td>mime-type</td>
<td>Why not call it content-type?! Applies to a document. Expect the
implit uri proprerty to tell you which object.</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor35">FBTYPE</a></td>
<td></td>
<td></td>
<td>Supertype of the following</td>
</tr>
<tr>
<td>FREE, BUSY, BUSY-UNAVAILABLE, BUSY-TENTATIVE</td>
<td>?</td>
<td>time-interval</td>
<td>enum became subclasses FBTYPE property</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor36">LANGUAGE</a></td>
<td>string-or-doc</td>
<td>iso-language</td>
<td>Equivalent xml:lang</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor37">MEMBER</a></td>
<td>party</td>
<td>cal-address</td>
<td>group membership</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor38">PARTSTAT</a></td>
<td>party</td>
<td>enum</td>
<td>A status: part of some protocol?</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor39">RANGE</a></td>
<td>component</td>
<td></td>
<td>superclass only of ...</td>
</tr>
<tr>
<td>THIS-AND-PRIOR, THISANDFUTURE</td>
<td>component</td>
<td>date-time</td>
<td>subclass of RANGE (was qualifier)</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor40">RELATED</a></td>
<td>component</td>
<td>period@@</td>
<td>superclass of TRIGGER-FROM-START and TRIGGER-FROM-END?</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor41">RELTYPE</a></td>
<td>component</td>
<td>component</td>
<td>Superclass only, of</td>
</tr>
<tr>
<td>PARENT, CHILD, SIBLING</td>
<td>component</td>
<td>component</td>
<td>Subclases of RELTYPE. Hierarchical constraints. Semantics
unclear@@.</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor42">ROLE</a></td>
<td>party</td>
<td>enum roleparam</td>
<td>Attendee; role=chair could it be better "chair?". Wait and see
wether it is a separate dimension.</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor43">RSVP</a></td>
<td>party</td>
<td>boolean</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor44">SENT-BY</a></td>
<td>party</td>
<td>cal-address</td>
<td>Misleading. "Represented by" would be better. Some message was
sent.</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor99">TZID</a></td>
<td>anything taking time or D</td>
<td>timezone</td>
<td>Yuk. should be part of the time string. Makes time complictaed</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor46">VALUE</a></td>
<td>string-or-doc</td>
<td>string</td>
<td>Superclass of the following</td>
</tr>
<tr>
<td>BINARY, BOOLEAN, CAL-ADDRESS, DATE, DATE-TIME DURATION, FLOAT,
INTEGER, PERIOD, RECUR TEXT, TIME, URI, UTC-OFFSET"</td>
<td>string</td>
<td>string</td>
<td>Specifies the datatype of an associated string</td>
</tr>
<tr>
<td>URI</td>
<td>document</td>
<td>URI</td>
<td>Subclass of VALUE but indicates the vale is the <em>content</em> of
the resouce identified.</td>
</tr>
<tr>
<td>calprop</td>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor64">icalobject</a></td>
<td></td>
<td>superclass for the following</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor75">VERSION</a></td>
<td>icalobject</td>
<td>string</td>
<td>subclass of calprop. unique.</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor74">PRODID</a></td>
<td>icalobject</td>
<td>string</td>
<td>subclass of calprop
<p>semantics? unique.</p>
</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor72">CALSCALE</a></td>
<td>icalbobject</td>
<td>string</td>
<td>subclass of calprop</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor73">METHOD</a></td>
<td>icalobject</td>
<td>string</td>
<td>This is a hook for a protocol definition</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor65">VEVENT</a></td>
<td>icalobject</td>
<td>event</td>
<td>Property VENVENT of calendar implies component is of type event.
See spec for properties including this in their domain</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor66">VTODO</a></td>
<td>icalobject</td>
<td>todo</td>
<td>similar</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor67">VJOURNAL</a></td>
<td>icalobject</td>
<td>journal</td>
<td>similar</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor68">VFREEBUSY</a></td>
<td>icalobject</td>
<td>freebusy</td>
<td>similar</td>
</tr>
<tr>
<td>VTIMEZONE</td>
<td>icalobject</td>
<td>timezonedef</td>
<td>similar Definition of a timezone.</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor70">VALARM</a></td>
<td>?component</td>
<td>alarm</td>
<td>can nest in component</td>
</tr>
<tr>
<td>CALSCALE</td>
<td>icalobject</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p></p>
<h2><a name="Appendix:">Appendix: Calendar component Properties</a></h2>
<p>See <a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor77">spec
4.8</a></p>
<p>The columns E, T etc indicate whether the subject of the property is
permitted to be an event, todo, journal, freebusy, alarm or timezone
component.</p>
<table border="1">
<caption>Properties of calendar components</caption>
<tbody>
<tr>
<td>iCalendar name</td>
<td>E</td>
<td>T</td>
<td>J</td>
<td>F</td>
<td><p>A</p>
</td>
<td>Tz</td>
<td>range</td>
<td>Notes</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor78">ATTACH</a></td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td>y</td>
<td></td>
<td>text-or-doc</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor79">CATEGORIES</a></td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td></td>
<td>text</td>
<td>List of enums</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor80">CLASS</a></td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>classification</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor81">COMMENT</a></td>
<td>y</td>
<td>y</td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td>text</td>
<td>no comment</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor82">DESCRIPTION</a></td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td>y</td>
<td></td>
<td>text</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor83">GEO</a></td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>float float</td>
<td>lat long. @@ Split into two properties?</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor84">LOCATION</a></td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>text</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor85">PERCENT-
COMPLETE</a></td>
<td></td>
<td>y</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor86">PRIORITY</a></td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>integer</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor87">RESOURCES</a></td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>text</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor88">STATUS</a></td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td></td>
<td>text</td>
<td>enum - see the spec.</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor89">SUMMARY</a></td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td>y</td>
<td></td>
<td>text</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor91">COMPLETED</a></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>date-time</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor92">DTEND</a></td>
<td>y</td>
<td></td>
<td></td>
<td>y</td>
<td></td>
<td></td>
<td>date-time or date</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor93">DUE</a></td>
<td></td>
<td>y</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>date-time or date</td>
<td></td>
</tr>
<tr>
<td>DTSTART</td>
<td>y</td>
<td>y</td>
<td></td>
<td>y</td>
<td></td>
<td>y</td>
<td>date-time or date</td>
<td></td>
</tr>
<tr>
<td>DURATION</td>
<td>y</td>
<td>y</td>
<td></td>
<td>y</td>
<td>y</td>
<td></td>
<td>duration</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor96">FREEBUSY</a></td>
<td></td>
<td></td>
<td></td>
<td>y</td>
<td></td>
<td></td>
<td>period</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor97">TRANSP</a></td>
<td>y</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>text</td>
<td>really boolean!</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor99">TZID</a></td>
<td>a</td>
<td>a</td>
<td>a</td>
<td>a</td>
<td>a</td>
<td>a</td>
<td>text</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor100">TZNAME</a></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>y</td>
<td>text</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor101">TZOFFFROM</a></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>y</td>
<td>utc-offset</td>
<td>like -0500</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor102">TZOFFTO</a></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>y</td>
<td>utc-offset</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor103">TZURL</a></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>y</td>
<td>URI</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor105">ATTENDEE</a></td>
<td>y</td>
<td>y</td>
<td>y</td>
<td>y</td>
<td>y</td>
<td>y</td>
<td>party</td>
<td>@@ If language is specified, it applies to CN: Kludge! @@@</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor106">CONTACT</a></td>
<td>y</td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td>text</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor107">ORGANIZER</a></td>
<td>y</td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td>party</td>
<td>Note in FREEBUSY the use is different</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor108">RECURRENCE-ID</a></td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td></td>
<td>date-time or date</td>
<td><strong>Could be a problem</strong>. Not a property of an event,
but its presence makes it a reference to a specific occurrence of a
repeated event.</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor109">RELATED-TO</a></td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td></td>
<td>text (really URI whcih is UID of component)</td>
<td>Subclass only of PARENT, CHILD, SIBLING above.</td>
</tr>
<tr>
<td>PARENT , CHILD, SIBLING</td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>see RELATED-TO</td>
</tr>
<tr>
<td>URI</td>
<td>y</td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td>URI</td>
<td>document "associated with" component. For more information.</td>
</tr>
<tr>
<td>UID</td>
<td>y</td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td>UID - URI without mid:</td>
<td>@@ Missing scheme!!! @@ replace with midL: URI</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor113">EXDATE</a></td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td></td>
<td>date-time or date</td>
<td>Excludes the dates given @@ implicit logic makes search logic
difficult.</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor114">EXRULE</a></td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td></td>
<td>recur</td>
<td></td>
</tr>
<tr>
<td>RDATE</td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td></td>
<td>date-time or date</td>
<td></td>
</tr>
<tr>
<td>RRULE</td>
<td>y</td>
<td>y</td>
<td>y</td>
<td></td>
<td></td>
<td></td>
<td>recur</td>
<td></td>
</tr>
</tbody>
</table>
<p></p>
<table border="1">
<caption>Properties ofAlarm coponents and config control and misc</caption>
<tbody>
<tr>
<th>name</th>
<th>domain</th>
<th>range</th>
<th>Notes</th>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor118">ACTION</a></td>
<td>A</td>
<td>text</td>
<td>really an enum</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor119">REPEAT</a></td>
<td>A</td>
<td>Ainteger</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor120">TRIGGER</a></td>
<td>A</td>
<td>duration or date-time</td>
<td>See RELATED. @ Split into two properties?</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor122">CREATED</a></td>
<td>ETJ</td>
<td>date-time</td>
<td></td>
</tr>
<tr>
<td>DTSTAMP</td>
<td>ETJF</td>
<td>date-time</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor124">LAST-MODIFIED</a></td>
<td>ETJTz</td>
<td>date-time</td>
<td></td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor125">SEQUENCE</a></td>
<td>ETJ</td>
<td>integer</td>
<td>fuzzy rules for incrementing this</td>
</tr>
<tr>
<td><a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor128">REQUEST-STATUS</a></td>
<td>ETJF</td>
<td>text</td>
<td>eg 3.1.1</td>
</tr>
</tbody>
</table>
<p></p>
<table border="1">
<caption>Properties from <a
href="http://memory.palace.org/public/rfcs/html/rfc2445.html#anchor57">recurrence
rules</a></caption>
<tbody>
<tr>
<th>name</th>
<th>domain</th>
<th>range</th>
<th>Notes</th>
<td></td>
</tr>
<tr>
<td>UNTIL</td>
<td>rrule</td>
<td>text</td>
<td rowspan="13">text - all these are text with various constraints and
substructure</td>
<td></td>
</tr>
<tr>
<td>COUNT</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>INTERVAL</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>BYSECOND</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>BYMINUTE</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>BYHOUR</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>BYDAY</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>BYMONTHDAY</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>BYYEARDAY</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>BYWEEKNO</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>BYMONTH</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>BYSETPOS</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>WKST</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>FREQ</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p></p>
<table border="1">
<caption>Properties of</caption>
<tbody>
<tr>
<th>name</th>
<th>domain</th>
<th>range</th>
<th>Notes</th>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p></p>
<h2><a name="Examples">Examples</a></h2>
<pre>@@@</pre>
<h2 id="References">References</h2>
<p>There must be a much better list of resources for hacking calendar files
of various formats - but until I find it here are some random things I
found.</p>
<ul>
<li>The iCalendar RFC: <a
href="http://www.ietf.org/rfc/rfc2445.txt">RFC2445</a></li>
<li>Jetstream: <a
href="http://java.apache.org/jetspeed/api/org/apache/jetspeed/calendar/properties/package-summary.html">Java
classes in Apache's Jetstream</a> which represent the iCalendar
properties.</li>
<li>Open source <a
href="http://www.openhandheld.org/software.html#desktop">handheld
synchronisation software </a>at openhandheld.org</li>
<li><a href="http://www.palmos.com/dev/tech/docs/">PalmOs
documentation</a>; file formats (<a
href="/2000/10/Palm/fileformats.pdf">pdf copy</a>)</li>
<li><a href="/People/Connolly/drafts/web-research#when">Dan Connolly's
design research notebook on this</a></li>
</ul>
<p></p>
<p></p>
<hr>
<small>$Id: foo.html,v 1.47 2005/02/02 18:26:43 timbl Exp $</small>
<address>
<a href="/People/Berners-Lee">TimBL</a>, Oct 2001
</address>
</body>
</html>