-
Notifications
You must be signed in to change notification settings - Fork 71
/
Media.kif
3475 lines (3053 loc) · 117 KB
/
Media.kif
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
;; Access to and use of these products is governed by the GNU General Public
;; License <http://www.gnu.org/copyleft/gpl.html>.
;; By using these products, you agree to be bound by the terms
;; of the GPL.
;; Those who are interested in making use of this ontology are requested
;; to contact Adam Pease ([email protected]).
;; We ask the people using or referencing this work cite our primary paper:
;; Niles, I., and Pease, A. 2001. Towards a Standard Upper Ontology. In
;; Proceedings of the 2nd International Conference on Formal Ontology in
;; Information Systems (FOIS-2001), Chris Welty and Barry Smith, eds,
;; Ogunquit, Maine, October 17-19, 2001. See also http://www.ontologyportal.org
;; Dependencies:
;; Merge.kif
;; Mid-level-ontology.kif
;; CCTrep.kif
;; Communications.kif
;; CountriesAndRegions.kif
;; Economy.kif
;; elements.kif
;; FinancialOntology.kif
;; Geography.kif
;; Government.kif
;; naics.kif
;; People.kif
;; QoSontology.kif
(=>
(termFormat ?TERM ?LANGUAGE ?STRING)
(names ?STRING ?TERM))
(disjoint Organization Human)
;; KJN: Moving this to Merge.kif as it causes some dependency errors on ShapeAttribute
;;(subclass StructureAttribute InternalAttribute)
;;(documentation StructureAttribute EnglishLanguage
;;"Each &%subclass of &%StructureAttribute denotes some facet of the
;;structure of physical entities. Each &%instance of
;;&%StructureAttribute denotes some structural characteristic that may
;;pertain to some &%Physical entity.")
;;(subclass ShapeAttribute StructureAttribute)
;;(instance structure BinaryPredicate)
;;(instance structure IrreflexiveRelation)
;;(instance structure AsymmetricRelation)
;;(subrelation structure attribute)
;;(domain structure 1 Object)
;;(domain structure 2 StructureAttribute)
;; KJN: moving this to MILO
;;(instance color BinaryPredicate)
;;(instance color IrreflexiveRelation)
;;(instance color AsymmetricRelation)
;;(subrelation color attribute)
;;(domain color 1 Object)
;;(domain color 2 ColorAttribute)
;; NS: Narrowing attribute -> color.
;;(=>
;; (and
;; (instance ?ATTR ColorAttribute)
;; (holdsDuring ?T1
;; (attribute ?OBJ ?ATTR)))
;; (holdsDuring ?T1
;; (color ?OBJ ?ATTR)))
;; KJN: Moving this to Mid-level-ontology.kif
;;(subclass VisualAcuityAttribute BiologicalAttribute)
;;(documentation VisualAcuityAttribute EnglishLanguage "The
;;&%BiologicalAttributes in this &%Class describe the visual
;;capabilities of an &%Organism.")
;;(instance Blind VisualAcuityAttribute)
;;(instance ColorBlind VisualAcuityAttribute)
;;(documentation ColorBlind EnglishLanguage "This
;;&%VisualAcuityAttribute describes an &%Organism that is
;;unable to perceive a distinction in color between certain
;;wavelength ranges within the larger range of typically
;;visible electro-magnetic radiation (light). Among &%Humans,
;;there are several forms and degrees of color blindness.
;;Color blindness is generally considered to be a mild to
;;moderate disability among &%Humans, but individuals with
;;certain types of color blindness excel at some visual
;;pattern recognition tasks, and it's not clear that the
;;condition should be considered a &%DiseaseOrSyndrome.")
;; "Rate"
;; "RoyaltyRate"
;; "AudioBitRate"
;; "AudioSamplingRate"
;; "BitRate"
;; "OverallBitRate"
;; "CurrencyExchangeRate"
;; "FrameRate"
;; "SamplingRate"
;; "TaxRate"
;; "UnitOfBitRate"
;; "UnitOfExtent"
;; "UnitOfFrameRate"
;; "UnitOfFrequency"
;; "VideoBitRate"
;; "AudioBitsPerSample"
;; "BitsPerSample"
;; "MinimumAmountPerCustomer"
;; "PercentageRate"
;; "TotalWholesalePricePerUnit"
;; "TotalWholesalePricePerUnitInCurrencyOfAccounting"
;; "WholesalePricePerUnit"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Start: Event Types, Temporal Interval Types ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(<=>
(subrelation ?PRED involvedInEvent)
(instance ?PRED CaseRole))
;; LibraryEvent
(subclass ReachingAgreement Stating)
(documentation ReachingAgreement EnglishLanguage "Instances of
this &%Class are &%Statings in which two or more agents affirm
the same thing (acknowledge the truth of the same
&%Propositions).")
(=>
(instance ?CLOSE ClosingContract)
(exists (?AGREE)
(and
(instance ?AGREE ReachingAgreement)
(subProcess ?AGREE ?CLOSE))))
(=>
(instance ?RA ReachingAgreement)
(exists (?A1 ?A2)
(and
(agent ?RA ?A1)
(agent ?RA ?A2)
(not (equal ?A1 ?A2)))))
(=>
(instance ?RA ReachingAgreement)
(exists (?PROP)
(and
(instance ?PROP Agreement)
(result ?RA ?PROP))))
(=>
(and
(instance ?RA ReachingAgreement)
(agent ?RA ?AGENT)
(result ?RA ?PROP)
(instance ?PROP Agreement))
(holdsDuring (FutureFn (WhenFn ?RA))
(partyToAgreement ?AGENT ?PROP)))
(subclass LicenseAgreement Agreement)
(subclass AgentPatientProcess Process)
(documentation AgentPatientProcess EnglishLanguage "Instances of
&%AgentPatientProcess have at least one &%agent and at least one
&%patient. Unlike instances of &%IntentionalProcess, the &%agent
need not be a &%CognitiveAgent. Cf. other high-level
&%subclasses of &%Process, such as &%DualObjectProcess,
&%InternalChange, and &%Motion.")
(=>
(instance ?PROC AgentPatientProcess)
(exists (?AGENT ?PATIENT)
(and
(agent ?PROC ?AGENT)
(patient ?PROC ?PATIENT))))
(documentation ReceivingAnObjectFn EnglishLanguage
"(&%ReceivingAnObjectFn ?CLASS) denotes a &%subclass of
&%Getting, all instances of which have some instance of ?CLASS as
the object received (&%patient).")
(instance ReceivingAnObjectFn UnaryFunction)
(rangeSubclass ReceivingAnObjectFn Getting)
(domainSubclass ReceivingAnObjectFn 1 Object)
(=>
(instance ?GET (ReceivingAnObjectFn ?OBJCLASS))
(exists (?OBJ)
(and
(instance ?OBJ ?OBJCLASS)
(patient ?GET ?OBJ))))
(=>
(and
(equal ?CLASS1 (ReceivingAnObjectFn ?OBJCLASS1))
(equal ?CLASS2 (ReceivingAnObjectFn ?OBJCLASS2))
(subclass ?OBJCLASS1 ?OBJCLASS2))
(subclass ?CLASS1 ?CLASS2))
(subclass Emailing WrittenCommunication)
(documentation Emailing EnglishLanguage "An &%instance of &%Emailing
is a &%Communication in which an &%EmailMessage is sent by one
&%CognitiveAgent to another.")
(=>
(instance ?ACT Emailing)
(exists (?MSG)
(and
(patient ?ACT ?MSG)
(instance ?MSG EmailMessage))))
;; TO DO: Revise the rules that refer to WrittenCommunication, to make
;; it easier for an inference engine to derive useful conclusions
;; about specializations of WrittenCommunication.
(subclass InPersonCommunication Communication)
(documentation InPersonCommunication EnglishLanguage "An &%instance of
&%InPersonCommunication is a &%Communication that occurs between two
or more &%Humans who are physically present to each other during the
&%Communication.")
(=>
(and
(instance ?C InPersonCommunication)
(agent ?C ?A1)
(agent ?C ?A2)
(not (equal ?A1 ?A2)))
(holdsDuring ?C
(orientation ?A1 ?A2 Near)))
;; TO DO: A good representation of holidays requires representation of
;; different calendars (Gregorian, Julian, Jewish, Islamic)
(instance observesHoliday BinaryPredicate)
(instance observesHoliday AsymmetricRelation)
(domain observesHoliday 1 CognitiveAgent)
(domain observesHoliday 2 Holiday)
(documentation observesHoliday EnglishLanguage "(&%observesHoliday
?&%CognitiveAgent ?&%Holiday) means that ?&%CognitiveAgent
regards ?&%Holiday as an institutionally special (sacred,
commemorative, celebratory) &%TimeInterval and participates, at least
to some degree, in the rituals, ceremonies, or other activies
associated with ?&%Holiday.")
;; Every holiday is observed by at least someone. Additional
;; rules make this more specific.
(=>
(instance ?T1 Holiday)
(exists (?A)
(observesHoliday ?A ?T1)))
;; If one observes a holiday, one exists when the holiday occurs.
;; Note that this partly obviates the need to use holdsDuring
;; with observesHoliday, but might not be sufficient to prevent
;; inference engines from generating contradictions.
(=>
(and
(observesHoliday ?A ?T1)
(equal ?T2 (WhenFn ?A)))
(during ?T1 ?T2))
(subclass ChristianHoliday Holiday)
(documentation ChristianHoliday EnglishLanguage "An &%instance
of &%ChristianHoliday is a &%Holiday instituted and
observed by &%members of &%Christianity.")
(=>
(and
(instance ?T1 ChristianHoliday)
(holdsDuring ?T1
(attribute ?A Christian)))
(observesHoliday ?A ?T1))
(subclass JewishHoliday Holiday)
(documentation JewishHoliday EnglishLanguage "An &%instance of
&%JewishHoliday is a &%Holiday instituted and observed by
&%members of &%Judaism.")
(=>
(and
(instance ?T1 JewishHoliday)
(observesHoliday ?A ?T1))
(holdsDuring ?T1
(attribute ?A ReligiousJew)))
(subclass USHoliday Holiday)
(documentation USHoliday EnglishLanguage "An &%instance of
&%USHoliday is a &%Holiday instituted and observed by
&%citizens or inhabitants of the &%UnitedStates. Instances of
&%USHoliday commemorate or celebrate key figures or events
in the history of the nation, or focus attention on key national
values or ideals.")
(subclass Advent ChristianHoliday)
(subclass Advent MoveableHoliday)
(documentation Advent EnglishLanguage "An &%instance of
&%Advent (&%LatinLanguage adventus = coming) is a &%TimeInterval that
begins with an &%AdventSunday and includes the four &%Sundays
preceding an &%instance of &%ChristmasDay. During this period,
observant &%members of &%Christianity ritually anticipate the
recurring celebration of the birth of Jesus of Nazareth. Note that
&%Advent is observed only in Western Christianity, which includes
&%RomanCatholicism, &%Protestantism, and &%Anglicanism. The analog of
&%Advent in Eastern Christianity, which includes
&%EasternOrthodoxChristianity, is the Nativity Fast, which differs
from &%Advent in length and significance.")
(subclass AdventSunday ChristianHoliday)
(subclass AdventSunday Sunday)
(subclass AdventSunday MoveableHoliday)
(documentation AdventSunday EnglishLanguage "An &%instance of
&%AdventSunday is a &%Sunday that begins an &%instance of
&%Advent.")
(=>
(instance ?T1 Advent)
(exists (?T2)
(and
(instance ?T2 AdventSunday)
(starts ?T2 ?T1))))
;; TO DO: state that every Advent temporally subsumes the four Sundays
;; preceding a Christmas Day.
(=>
(instance ?T1 AdventSunday)
(exists (?T2)
(and
(instance ?T2 Advent)
(starts ?T1 ?T2))))
(subclass ChristmasDay ChristianHoliday)
(subclass ChristmasDay Day)
(subclass ChristmasDay FixedHoliday)
(subclass ChristmasDay (DayFn 25 December))
;; TO DO: Make it possible to represent the fact that no
;; instances of (DayFn 25 December) in the Gregorian and Julian
;; calendars correspond to the same actual (siderial, UTC) day.
(documentation ChristmasDay EnglishLanguage "An &%instance of
&%ChristmasDay is a &%ChristianHoliday on which observant
&%members of &%Christianity celebrate the birth of Jesus of Nazareth.
In both the Gregorian and Julian calendars, &%ChristmasDay falls on
December 25th, but since the two calendars are currently off by 13
days, the &%ChristmasDays assigned by each correspond to different
actual (sidereal, UTC) days.")
(=>
(and
(instance ?NATION Nation)
(or
(geographicSubregion ?NATION NorthAmerica)
(geographicSubregion ?NATION SouthAmerica)
(geographicSubregion ?NATION WesternEurope)))
(holdsDuring (WhenFn ?NATION)
(nationalHoliday ?NATION ChristmasDay)))
(nationalHoliday Australia ChristmasDay)
(nationalHoliday NewZealand ChristmasDay)
(=>
(instance ?T1 ChristmasDay)
(exists (?T2)
(and
(instance ?T2 Advent)
(meetsTemporally ?T2 ?T1))))
(=>
(instance ?T1 Advent)
(exists (?T2)
(and
(instance ?T2 ChristmasDay)
(meetsTemporally ?T1 ?T2))))
(=>
(and
(instance ?T1 Advent)
(instance ?T2 ChristmasDay)
(meetsTemporally ?T1 ?T2))
(exists (?YEAR)
(and
(instance ?YEAR Year)
(during ?T1 ?YEAR)
(during ?T2 ?YEAR))))
(=>
(and
(instance ?T1 Advent)
(instance ?T2 ChristmasDay)
(during ?T1 ?YEAR)
(instance ?YEAR Year)
(meetsTemporally ?T1 ?T2))
(during ?T2 ?YEAR))
(=>
(and
(instance ?T1 Advent)
(instance ?T2 ChristmasDay)
(during ?T2 ?YEAR)
(instance ?YEAR Year)
(meetsTemporally ?T1 ?T2))
(during ?T1 ?YEAR))
;; Just about every Christian observes Christmas.
(=>
(and
(holdsDuring ?H
(attribute ?A Christian))
(instance ?H ChristmasDay))
(observesHoliday ?A ?H))
(subclass Lent ChristianHoliday)
(subclass Lent MoveableHoliday)
(documentation Lent EnglishLanguage "In Western Christianity, an
&%instance of &%Lent is a 40-day period of (relative) fasting and
reflection preceding an &%instance of &%EasterSunday. In the US,
&%Lent is observed predominantly by &%RomanCatholics, with lesser
participation by members of other &%Christian denominations, some
of which even consider &%Lent not to be a legitimate
&%ChristianHoliday.")
(=>
(instance ?T1 Lent)
(exists (?T2)
(and
(instance ?T2 EasterSunday)
(meetsTemporally ?T1 ?T2))))
(=>
(instance ?T1 EasterSunday)
(exists (?T2)
(and
(instance ?T2 Lent)
(meetsTemporally ?T2 ?T1))))
(=>
(and
(instance ?ES EasterSunday)
(instance ?L Lent)
(meetsTemporally ?L ?ES)
(during ?ES ?Y)
(instance ?Y Year))
(during ?L ?Y))
(=>
(and
(instance ?ES EasterSunday)
(instance ?L Lent)
(meetsTemporally ?L ?ES)
(during ?L ?Y)
(instance ?Y Year))
(during ?ES ?Y))
(=>
(instance ?T1 Lent)
(duration ?T1 (MeasureFn 40 DayDuration)))
(subclass PalmSunday ChristianHoliday)
(subclass PalmSunday Sunday)
(subclass PalmSunday MoveableHoliday)
(documentation PalmSunday EnglishLanguage "An &%instance of
&%PalmSunday is a &%ChristianHoliday that commemorates the
<quote>Triumphal Entry</quote> of Jesus into Jerusalem in the
days preceding his crucifixion. The actual date of a
&%PalmSunday is determined by the date of the corresponding
&%EasterSunday, and so, like Easter, Palm Sunday is a
&%MoveableHoliday.")
;; Palm Sunday is the Sunday immediately preceding Easter Sunday.
;; There are many ways to say this, some probably simpler than
;; the rule below.
(=>
(and
(instance ?Y Year)
(instance ?E EasterSunday)
(instance ?P PalmSunday)
(during ?E ?Y)
(during ?P ?Y)
(starts ?P ?I)
(finishes ?E ?I))
(duration ?I (MeasureFn 8 DayDuration)))
(subclass EasterSunday ChristianHoliday)
(subclass EasterSunday Sunday)
(subclass EasterSunday MoveableHoliday)
(documentation EasterSunday EnglishLanguage "An &%instance of
&%EasterSunday is a &%ChristianHoliday celebrating the
resurrection of Jesus of Nazareth. Easter is a movable holiday,
falling between late March and late April for Western
Chrisitanity (Gregorian calendar), and between early April and
early May for Eastern Christianity (Julian calendar). Easter is
calculated to occur near the Jewish holiday &%Passover, the date
of which is determined according to the Jewish lunar calendar.")
;; This, at least, is true for both the Gregorian and Julian
;; calendars.
(=>
(and
(instance ?D EasterSunday)
(temporalPart ?D ?M)
(instance ?M Month))
(or
(instance ?M March)
(instance ?M April)
(instance ?M May)))
;; Just about every Christian observes EasterSunday.
(=>
(and
(holdsDuring ?H
(attribute ?A Christian))
(instance ?H EasterSunday))
(observesHoliday ?A ?H))
(subclass Epiphany ChristianHoliday)
(subclass Epiphany (DayFn 6 January))
(subclass Epiphany FixedHoliday)
(documentation Epiphany EnglishLanguage "An &%instance of
&%Epiphany is a &%ChristianHoliday that is celebrated on
January 6th in both the Gregorian and Julian calendars. In
Western Christianity, it commemorates the visit of the Magi to
the infant Jesus. In Eastern Christianity, it commemorates
Jesus's baptism in the Jordan River and manifestation as the Son
of God. In this tradition, the holiday is also called
Theophany.")
(subclass AscensionThursday ChristianHoliday)
(subclass AscensionThursday MoveableHoliday)
(subclass AscensionThursday Thursday)
(documentation AscensionThursday EnglishLanguage "An &%instance
of &%AscensionThursday is a &%ChristianHoliday that
celebrates the bodily ascension of Jesus to heaven following his
resurrection.")
;; In every calendar year, the time period from Easter to
;; Ascension Thursday is 40 days, inclusive.
(=>
(and
(instance ?Y Year)
(instance ?E EasterSunday)
(instance ?A AscensionThursday)
(during ?E ?Y)
(during ?A ?Y)
(starts ?E ?I)
(finishes ?A ?I))
(duration ?I (MeasureFn 40 DayDuration)))
(subclass Pentecost ChristianHoliday)
(subclass Pentecost MoveableHoliday)
(subclass Pentecost Sunday)
(documentation Pentecost EnglishLanguage "An &%instance of
&%Pentecost is a &%ChristianHoliday that commemorates the
descent of the Holy Spirit onto the Apostles and other followers
of Jesus, as described in the Book of Acts.")
;; In every calendar year, the time period from Easter to
;; Pentecost is 50 days, inclusive.
(=>
(and
(instance ?Y Year)
(instance ?E EasterSunday)
(instance ?P Pentecost)
(during ?E ?Y)
(during ?P ?Y)
(starts ?E ?I)
(finishes ?P ?I))
(duration ?I (MeasureFn 50 DayDuration)))
(subclass Hanukkah JewishHoliday)
(subclass Hanukkah MoveableHoliday)
(documentation Hanukkah EnglishLanguage "An &%instance of
&%Hanukkah is a &%JewishHoliday that lasts for eight
nights, and commemorates the rededication of the Temple in
Jerusalem during the 2nd century BCE, at the time of the
Maccabean Revolt. According to the Jewish (Hebrew)
religious calendar, Hanukkah begins at sunset on 25
Kislev.")
(=>
(instance ?H Hanukkah)
(duration ?H (MeasureFn 8 DayDuration)))
;; Undoubtedly, it would be better to explicitly represent
;; the main calendrical systems of the various religions,
;; and some of the relationships between them.
(=>
(and
(instance ?H Hanukkah)
(equal ?B (BeginFn ?H)))
(exists (?M)
(and
(temporalPart ?B ?M)
(instance ?M Month)
(or
(instance ?M November)
(instance ?M December)))))
(subclass Passover JewishHoliday)
(subclass Passover MoveableHoliday)
(documentation Passover EnglishLanguage "An &%instance of
&%Passover is a &%JewishHoliday that lasts for seven
nights, or eight nights among Conservative and Orthodox Jews
in the Diaspora. Technically, Passover is the first night
of (or, immediately precedes) the Festival of Unlevened
Bread. &%Passover commemorates the liberation of the
Israelites from slavery in Egypt, as recounted in the Book
of Exodus. In the Jewish (Hebrew) calendar, &%Passover
begins at sunset on 14 Nisan.")
(=>
(and
(instance ?P Passover)
(duration ?P (MeasureFn ?N DayDuration)))
(or
(equal ?N 7)
(equal ?N 8)))
(subclass USThanksgivingDay USHoliday)
(subclass USThanksgivingDay MoveableHoliday)
(subclass USThanksgivingDay Thursday)
(documentation USThanksgivingDay EnglishLanguage "An &%instance of
&%USThanksgivingDay is a &%USHoliday celebrated yearly on the
fourth &%Thursday of &%November. The holiday commemorates the
feasts of Thanksgiving instituted by early English settlers in
the New World, most notably the 1621 Thanksgiving at Plymouth
Colony in Massachusetts. In the &%UniteStates, &%USThanksgivingDay
traditionally is the one national holiday for which entire
families strive to come together, with members often traveling
great distances. Note that &%Canada celebrates its own
Thanksgiving, on the second &%Monday of &%October, with
tradition, significance, and foods that parallel the
&%UnitedStates version.")
(=>
(instance ?T USThanksgivingDay)
(exists (?M)
(and
(instance ?M November)
(during ?T ?M))))
;; KJN: Moving this to Mid-level-ontology.kif as it is more of a general concept
;;(subclass Ceremony IntentionalProcess)
;;(subclass Ceremony SocialInteraction)
;;(documentation Ceremony EnglishLanguage "An &%instance of
;;&%Ceremony is a relatively stylized, highly conventional
;;&%SocialInteraction, typically guided or controlled by officials
;;or professionals, to commemorate or mark some transformative
;;event, such as a &%Wedding or a &%Baptizing.")
;; TO DO: Probably it would be best to make the now more or less
;; standard anthropological distinction between &%Ceremony (past
;; to present looking status confirmation events) and *Ritual
;; (present to future looking status transformation events), but
;; that seems more technical than required here, and for unknown
;; utility.
;;(subclass Baptizing Ceremony)
;;(subclass Wedding Ceremony)
;;(subclass Funeral Ceremony)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; End: Event Types, Temporal Interval Types ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;
;; Start: Media Types ;;
;;;;;;;;;;;;;;;;;;;;;;;;
;; KJN: Moving this to MILO.
;;(subclass DataStorageDevice Device)
;;(documentation DataStorageDevice EnglishLanguage "An &%instance of
;;&%DataStorageDevice is a &%Device intended to be used for storing
;;data (information).")
;; KJN: Moving this to QoSontology.kif where DataSaving is defined
;;(=>
;; (instance ?DSAVE DataSaving)
;; (exists (?DSTORE)
;; (and
;; (instance ?DSTORE DataStorageDevice)
;; (resource ?DSAVE ?DSTORE))))
(subclass ElectronicDataStorageDevice DataStorageDevice)
(documentation ElectronicDataStorageDevice EnglishLanguage "An
&%instance of &%ElectronicDataStorageDevice is a &%DataStorageDevice
intended to be used for storing data (information) in some encoding
scheme designed to be interpreted by electronic devices.")
(=>
(and
(instance ?DSAVE DataSaving)
(resource ?DSAVE ?RES)
(instance ?RES ElectronicDataStorageDevice))
(exists (?DEV)
(and
(instance ?DEV ElectricDevice)
(instrument ?DSAVE ?DEV)
(holdsDuring (WhenFn ?DSAVE)
(connected ?RES ?DEV)))))
(subclass DigitalDataStorageDevice ElectronicDataStorageDevice)
(documentation DigitalDataStorageDevice EnglishLanguage "An &%instance
of &%DigitalDataStorageDevice is an &%ElectronicDataStorageDevice
intended to be used for storing data (information) in some digital
(discrete bit) encoding scheme designed for interpretation by
computers.")
;;WriteOnceDataStorage
;;dependency on QoSontology.kif
(subclass WriteOnceDataStorage DigitalDataStorageDevice)
(documentation WriteOnceDataStorage EnglishLanguage "A &%DigitalDataStorageDevice on which the &%DigitalData once written can not be deleted or altered, e.g. CD-R, DVD-R.")
(=>
(instance ?X WriteOnceDataStorage)
(and
(modalAttribute
(exists (?WRITE1 ?DATA1)
(and
(instance ?WRITE1 Writing)
(patient ?WRITE1 ?X)
(patient ?WRITE1 ?DATA1)
(holdsDuring
(ImmediateFutureFn
(WhenFn ?WRITE1))
(stored ?DATA1 ?X)))) Possibility)
(not
(modalAttribute
(exists (?WRITE2 ?DATA2)
(and
(stored ?DATA2 ?X)
(or
(instance ?WRITE2 ContentDevelopment)
(instance ?WRITE2 DeletingData))
(not
(equal ?WRITE1 ?WRITE2))
(patient ?WRITE2 ?DATA2))) Possibility))))
;;RewritableDataStorage
(subclass RewritableDataStorage DigitalDataStorageDevice)
(documentation RewritableDataStorage EnglishLanguage "A &%DigitalDataStorageDevice on which the &%stored &%DigitalData can be altered or deleted, e.g. CD-RW.")
(=>
(instance ?X RewritableDataStorage)
(and
(modalAttribute
(exists (?WRITE1 ?DATA1)
(and
(instance ?WRITE1 Writing)
(patient ?WRITE1 ?X)
(patient ?WRITE1 ?DATA1)
(holdsDuring
(ImmediateFutureFn
(WhenFn ?WRITE1))
(stored ?DATA1 ?X)))) Possibility)
(modalAttribute
(exists (?WRITE2 ?DATA2)
(and
(stored ?DATA2 ?X)
(or
(instance ?WRITE2 ContentDevelopment)
(instance ?WRITE2 DeletingData))
(not
(equal ?WRITE1 ?WRITE2))
(patient ?WRITE2 ?DATA2))) Possibility)))
;;ReadOnlyMemoryDataStorage
(subclass ReadOnlyMemoryDataStorage DigitalDataStorageDevice)
(documentation ReadOnlyMemoryDataStorage EnglishLanguage "A &%DigitalDataStorageDevice on which it is not possible to write or alter any &%DigitalData except during its fabrication.")
(=>
(and
(instance ?X ReadOnlyMemoryDataStorage)
(instance ?FABRICATION Manufacture)
(result ?FABRICATION ?X))
(not
(modalAttribute
(exists (?WRITE1 ?DATA1 ?WRITE2)
(and
(or
(instance ?WRITE2 ContentDevelopment)
(instance ?WRITE2 DeletingData))
(earlier
(WhenFn ?FABRICATION)
(WhenFn ?WRITE1))
(patient ?WRITE1 ?X)
(patient ?WRITE1 ?DATA1)
(holdsDuring
(ImmediateFutureFn
(WhenFn ?WRITE1))
(stored ?DATA1 ?X)))) Possibility)))
;; AP - add rule to specify the encoding scheme, relate to BinaryNumber
;; NS: In Merge.kif, the following statements are problematic:
;; (subclass Encoding Writing)
;; (subclass Decoding Writing)
;; &%Writing refers exclusively to the transcription or creation
;; of written texts. DataSaving
;; must be related to Encoding somehow, so for now let's try to
;; state something meaningful without referring to the process
;; types.
(=>
(and
(instance ?OBJ DigitalDataStorageDevice)
(part ?PART ?OBJ)
(instance ?PART DigitalData))
(exists (?SCHEME ?LIST ?NUM)
(and
(codeMapping ?SCHEME ?PART ?NUM)
(represents ?LIST ?SCHEME)
(=>
(inList ?NUM ?LIST)
(instance ?NUM BinaryNumber)))))
;; NS: This is difficult, even
;; apart from not being temporally qualified.
(subclass AudioDataStorageDevice DataStorageDevice)
(documentation AudioDataStorageDevice EnglishLanguage "An
&%instance of &%AudioDataStorageDevice is a &%DataStorageDevice
intended to be used for storing data, encoded information,
obtained from sound, in some encoding scheme that, given suitable
technology, can be reproduced as sound.")
;; AP - specify that contents represent RadiatingSound
;; NS: This is already stated in MILO for &%AudioRecording. An
;; &%AudioDataStorageDevice can "contain" or "hold" an
;; &%AudioRecording. It's not clear what predicate should be
;; used to relate an &%AudioRecording to the
;; &%AudioDataStorageDevice on which it is stored. In general,
;; &%part seems more correct than &%located, since the process
;; required to store an &%AudioRecording "on" or "in" an
;; &%AudioDataStorageDevice alters the structure of the device
;; (i.e., the grooves of a vinyl record, the gold or aluminum
;; coating of a CD, etc.
(subclass VideoDataStorageDevice DataStorageDevice)
(documentation VideoDataStorageDevice EnglishLanguage "An
&%instance of &%VideoDataStorageDevice is a
&%DataStorageDevice intended to be used for storing data
obtained from visual inputs (e.g., eyes or cameras), in some
encoding scheme that, given suitable technology, can be
reproduced as visual outputs.")
;; AP - specify that contents represent visual data
(subclass AudioVisualDataStorageDevice AudioDataStorageDevice)
(subclass AudioVisualDataStorageDevice VideoDataStorageDevice)
(subclass DataDisplayDevice CommunicationDevice)
(subclass Sign DataDisplayDevice)
(documentation DataDisplayDevice EnglishLanguage "An &%instance of
&%DataDisplayDevice is a &%Device intended to be used to display data
information in some visual form (e.g., &%Images or visible
&%LinguisticExpressions).")
;; PerceivableThing
;; TouchableThing
;; TouchableCreation
;; SeeableCreation
;; KJN: Moving this to Mid-level-ontology.kif
;;(subclass VisualContentBearingPhysical ContentBearingPhysical)
;;(documentation VisualContentBearingPhysical EnglishLanguage
;;"Instances of &%VisualContentBearingPhysical are
;;&%ContentBearingPhysicals that are intended to convey
;;meaning as the result of being seen.")
;;(subclass VisualContentBearingObject ContentBearingPhysical)
;;(subclass VisualContentBearingObject VisualContentBearingPhysical)
;;(documentation VisualContentBearingObject
;;EnglishLanguage "Instances of &%VisualContentBearingObject are
;;&%ContentBearingObjects that are intended to convey meaning as
;;the result of being seen.")
;;(subclass Image VisualContentBearingObject)
;;(documentation Image EnglishLanguage "Instances of &%Image are
;;&%VisualContentBearingObjects that convey their meaning primarily
;;in non-textual form.")
(documentation TextualImage EnglishLanguage "Instances of
&%TextualImage are &%Images that include depictions of
&%LinguisticExpressions, such as stylized characters or acronyms.")
(subclass TextualImage Image)
(documentation Logo EnglishLanguage "Instances of &%Logo are &%Images
that identify a particular &%AutonomousAgent, typically an &%Organization, and
the use of which may be reserved to the identified &%Agents through
trademark registry or other legal sanction.")
(subclass Logo Image)
;; AP - create rule that states that logos represent products or agents
;; Could state that they need not be a picture but can be simply something more abstract
(=>
(and
(instance ?LOGO Logo)
(represents ?LOGO ?OBJ))
(or
(instance ?OBJ AutonomousAgent)
(instance ?OBJ Product)))
;; KJN: Moving to MILO as it is very general-purpose
;;(subclass Document ContentBearingObject)
;;(subclass Document Artifact)
;;(documentation Document EnglishLanguage "Instances of &%Document are
;;&%ContentBearingObjects that are intended to convey propositional
;;content via &%Text (&%LinguisticExpressions, seen or heard), &%Images,
;;or some combination of these (e.g., an audio clip included in an
;;electronic document consisting mostly of &%VisualText and some
;;&%Images). Formally, a &%Document constitutes any
;;&%ContentBearingObject that is an &%Artifact conventionally
;;typically intended to be transmitted and assimilated as a meaningful
;;whole. An &%Article or a &%Book would be a &%Document, but a &%Word
;;or &%Paragraph typically would not.")
;; AP - state that a document hasPurpose of being the instrument of communication
;;(=>
;; (instance ?DOC Document)
;; (hasPurpose ?DOC
;; (exists (?COMM)
;; (and
;; (instance ?COMM Communication)
;; (instrument ?COMM ?DOC)))))
(documentation TextDocument EnglishLanguage "Instances of
&%TextDocument are &%Documents that have at least one &%part that is
an &%instance of &%Text.")
(subclass TextDocument Document)
(=>
(instance ?OBJ TextDocument)
(exists (?TXT)
(and
(instance ?TXT Text)
(component ?TXT ?OBJ))))
(=>
(and
(instance ?TXT Text)
(instance ?OBJ Document)
(part ?TXT ?OBJ))
(instance ?OBJ TextDocument))
(documentation Correspondence EnglishLanguage "Instances of
&%Correspondence are &%Documents that typically are sent from a
specific sending &%AutonomousAgent to at least one receiving &%AutonomousAgent, and
typically adhere to formatting conventions motivated, in part, by the
practical concern of ensuring reliable message transmission and
understanding in a given medium: email messages, FAX messages,
personal letters, business letters, etc.")
(subclass Correspondence Document)
(subclass Letter Correspondence)
(subclass Letter TextDocument)
;; AP - maybe make this disjoint from Disseminating?
;; Try to characterize how it's different from Disseminating
;; NS: Here is the documentation statement for
;; Disseminating: (documentation Disseminating
;; EnglishLanguage "Any Communication that involves a single
;; agent and many destinations. This covers the release of a
;; published book, broadcasting, a theatrical performance,
;; giving orders to assembled troops, delivering a public
;; lecture, etc.").
;; Certainly instances of Correspondence (documents) could be
;; disseminated. Is the distinction to be characterized the
;; distinction between, say, sending a personal or business
;; letter, and shipping/distributing a book to a buyer (wholesale
;; and retail models, single order and batch models, etc.)?
;;(subclass Report TextDocument)
(subclass ContractDocument TextDocument)
(documentation ContractDocument EnglishLanguage "Instances of
&%ContractDocument are &%TextDocuments that describe the terms of a
contract.")
(=>
(instance ?DOC ContractDocument)
(exists (?PROP)
(and
(containsInformation ?DOC ?PROP)
(property ?PROP Contract))))
;; AP - contracts have some normative legal force
;; Distinguish it from a written Promise
;; end comments for now
;; NS: Should be simple, but requires some cleanup. In
;; Merge.kif, Contract is a subAttribute of Promise. Note that
;; in real life, a contract document can contain some statements
;; that are understood (and even annotated) to be merely
;; promises. For now, we could say the following:
(=>
(and
(instance ?DOC ContractDocument)
(containsInformation ?DOC ?PROP)
(property ?PROP Contract))
(property ?PROP Law))