This repository has been archived by the owner on Jan 17, 2018. It is now read-only.
forked from ontologyportal/sumo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Mid-level-ontology.kif
executable file
·27707 lines (23761 loc) · 875 KB
/
Mid-level-ontology.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
;; ==============================
;; MILO (Mid-Level Ontology)
;; ==============================
;; This is the source file for the MILO (MId-Level Ontology), an ontology that
;; is being developed as a bridge between the abstract content of the SUMO and
;; the rich detail of the various domain ontologies.
;; Those who are interested in making use of this ontology are urged
;; to contact Adam Pease (apease [at] articulatesoftware [dot] com).
;; The MILO (MId-Level Ontology) is copyrighted by Teknowledge (c)
;; 2003 and Articulate Software 2004-. It is released under the GNU Public License
;; <http://www.gnu.org/copyleft/gpl.html>. Users of this code also consent, by
;; use of this material, to credit Teknowledge and Articulate Software
;; in any writings, briefings,
;; publications, presentations, or other representations of any code or other
;; product which incorporates, builds on, or uses this material.
;; We ask that 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
;; NS: delete.
;; [1]
;; (subclass HumanCorpse OrganicObject)
;; NS: delete.
;; [2]
;; (documentation HumanCorpse EnglishLanguage "A &%Dead thing which was
;; formerly a &%Human.")
;; NS: delete.
;; [3]
;; (=>
;; (instance ?CORPSE HumanCorpse)
;; (exists (?HUMAN)
;; (and
;; (instance ?HUMAN Human)
;; (before (WhenFn ?HUMAN) (WhenFn ?CORPSE))
;; (not
;; (exists (?OTHERPART)
;; (and
;; (holdsDuring
;; (WhenFn ?CORPSE)
;; (part ?OTHERPART ?CORPSE))
;; (not
;; (holdsDuring
;; (WhenFn ?HUMAN)
;; (part ?OTHERPART ?HUMAN)))))))))
;; NS: delete.
;; [4]
;; (=>
;; (instance ?CORPSE HumanCorpse)
;; (attribute ?CORPSE Dead))
;; NS: The KR above is inadequate for several reasons: (1)
;; It completely fails to generalize, saying nothing about
;; the remains of organisms other than humans, or remains
;; that are not partonomically identical to the original
;; living organism; (2) Rule [3] is malformed, because
;; &%before must be used with TimePoints, not TimeIntervals;
;; and (3) Axioms that apply the attributes &%Living and
;; &%Dead to &%Organism and &%HumanCorpse probably result in
;; unintended conclusions. Consider rule [4], above, in
;; conjuction with rules [5] and [6], below, both of which
;; appear in Merge.kif:
;;
;; [5] From Merge.kif. Already changed there to prevent
;; concluding that Organisms can be Dead.
;; (=>
;; (and
;; (instance ?DEATH Death)
;; (experiencer ?DEATH ?AGENT))
;; (holdsDuring
;; (FutureFn
;; (WhenFn ?DEATH))
;; (attribute ?AGENT Dead)))
;;
;; [6] From Merge.kif. Already changed there, broadening
;; the consequent to (instance ?ORG OrganicObject).
;; (=>
;; (and
;; (attribute ?ORG ?ATT)
;; (instance ?ATT BiologicalAttribute))
;; (instance ?ORG Organism))
;;
;;
;; [6.1] From Merge.kif
;; (=>
;; (and
;; (instance ?PATH PathologicProcess)
;; (experiencer ?PATH ?ORG))
;; (exists (?PART ?DISEASE)
;; (and
;; (part ?PART ?ORG)
;; (instance ?DISEASE DiseaseOrSyndrome)
;; (attribute ?PART ?DISEASE))))
;;
;; [6] and [6.1] together entail the conclusion that every
;; skolemized part of an Organism that is affected by a
;; skolemized disease is also, itself, an instance of
;; Organism (since DiseaseOrSyndrome is a subclass of
;; BiologicalAttribute).
;; TO DO:
;;
;; 1. Delete axioms [1] - [4], above, which already are
;; commented out.
;;
;; 2. In Merge.kif, delete [6] and replace it with the
;; following: (already done.)
;;
;; (=>
;; (and
;; (instance ?ATT BiologicalAttribute)
;; (holdsDuring ?T1 (attribute ?ORG ?ATT)))
;; (instance ?ORG OrganicObject))
;;
;; 3. In Merge.kif, rewrite [5] to avoid concluding that
;; Organisms can be Dead. (already done.)
;;
;; 4. Apparently, the intent of rule [3], above, is to
;; represent the state of most &%Dead &%Humans in a
;; rather short time interval following death, when the
;; body is still an intact, integral whole, and
;; embalming, cremation, mummification, or burial have
;; not yet occurred. Add the section below, which tries
;; to address the presumed intent of [1] - [4], but also
;; tries to include human remains within a broader theory
;; of "organism remains".
;; Start: OrganismRemains
;; NS: new.
(subclass OrganismRemains OrganicObject)
(documentation OrganismRemains EnglishLanguage "An
&%instance of &%OrganismRemains is &%Dead matter of a
formerly &%Living &%Organism: &%Plant, &%Animal, or
&%Microorganism. An &%instance of &%OrganismRemains might
or might not be recognizable as the remains of a particular
kind or species of organism, depending on the cause of the
&%Organism's &%Death (heart failure, stroke, roadkill,
dismemberment, etc.), the elapsed time since death, the
speed of decomposition, and any post-mortem processing of
the dead organism (embalming, cremation, mummification,
boiling, consumption as food, etc.).")
;; [7] All organism remains are dead.
(=>
(instance ?X OrganismRemains)
(holdsDuring (WhenFn ?X) (attribute ?X Dead)))
;; [8] The parts of organism remains were once parts of some
;; &%Organism.
(=>
(and
(instance ?REM OrganismRemains)
(holdsDuring ?T2
(part ?OBJ ?REM)))
(exists (?ORG ?T1)
(and
(instance ?ORG Organism)
(earlier (WhenFn ?ORG) (WhenFn ?REM))
(instance ?T1 TimeInterval)
(finishes ?T1 (WhenFn ?ORG))
(holdsDuring ?T1
(part ?OBJ ?ORG)))))
;; [8a] - [8d] refine [8] and the rule in Merge.kif that
;; defines the Death of Organisms.
;; [8a] The organic result of an organism's death is an
;; instance of OrganismRemains.
(=>
(and
(instance ?REM OrganicObject)
(instance ?DEATH Death)
(instance ?ORG Organism)
(experiencer ?DEATH ?ORG)
(result ?DEATH ?REM))
(instance ?REM OrganismRemains))
;; [8b]
(=>
(instance ?REM OrganismRemains)
(exists (?DEATH)
(and
(instance ?DEATH Death)
(result ?DEATH ?REM))))
;; [8c]
(=>
(and
(instance ?DEATH Death)
(instance ?REM OrganismRemains)
(instance ?ORG Organism)
(holdsDuring ?T2 (part ?OBJ ?REM))
(holdsDuring ?T1 (part ?OBJ ?ORG))
(earlier ?T1 ?T2)
(result ?DEATH ?REM))
(experiencer ?DEATH ?ORG))
;; [8d]
(=>
(and
(instance ?DEATH Death)
(instance ?REM OrganismRemains)
(instance ?ORG Organism)
(holdsDuring ?T2 (part ?OBJ ?REM))
(holdsDuring ?T1 (part ?OBJ ?ORG))
(earlier ?T1 ?T2)
(experiencer ?DEATH ?ORG))
(result ?DEATH ?REM))
;; [9] Every Organism is alive.
(=>
(instance ?ORG Organism)
(holdsDuring (WhenFn ?ORG)
(attribute ?ORG Living)))
(subclass HumanCorpse OrganismRemains)
(documentation HumanCorpse EnglishLanguage "&%HumanCorpse is the &%OrganismRemains of
a &%Human")
(=>
(instance ?X HumanCorpse)
(instance ?X (DeadFn Human)))
;; NS: new. Add DeadFn and [11], below.
(instance DeadFn UnaryFunction)
(domainSubclass DeadFn 1 Organism)
(rangeSubclass DeadFn OrganismRemains)
(documentation DeadFn EnglishLanguage "(&%DeadFn ?ORGCLASS)
denotes the &%Class of all remains that were once part
of &%Living &%Organisms of the type ?ORGCLASS.")
;; [11]
(=>
(and
(instance ?REM (DeadFn ?ORGTYPE))
(instance ?DEATH Death)
(result ?DEATH ?REM)
(experiencer ?DEATH ?ORG))
(instance ?ORG ?ORGTYPE))
;; [12]
(=>
(and
(instance ?REM OrganicObject)
(instance ?DEATH Death)
(experiencer ?DEATH ?ORG)
(instance ?ORG ?ORGTYPE)
(subclass ?ORG Organism)
(result ?DEATH ?REM))
(instance ?REM (DeadFn ?ORGTYPE)))
;; NS: The diagram below depicts the temporal relationships
;; between the main attributes and classes mentioned above,
;; as applied to one instance of Organism. Before it is the
;; experiencer of its Death, an Organism X has the
;; BiologicalAttribute Living. X's Death has as its result
;; a new instance of OrganismRemains, Y, which consists of
;; the same material (parts) as the previously existing
;; Organism X.
;; Death
;; (experiencer = X)
;; (result = Y)
;; ^
;; |
;; |------- Living --------|-|------- Dead -------->
;;
;; |----- Organism X -------|-- OrganismRemains Y -->???|
;; The distinction between "existing" as a chunk of more or
;; less organism-shaped matter and simply being Dead (having
;; experienced death), as well as the temporal aspects, make
;; this all seem excessively difficult, but alternatives
;; that make it possible to express the same distinctions of
;; meaning all seem about equally awkward. In the approach
;; chosen here, Organism and OrganismRemains are conceived
;; as temporally disjoint. It would be a mistake to apply
;; Dead to an instance of Organism for any time interval,
;; and a mistake to apply Living to an instance of
;; OrganismRemains for any time interval. In other words,
;; in this approach there are no Dead Organisms, only Living
;; Organisms or Dead OrganismRemains.
;; End: OrganismRemains
(instance HumanSlave SocialRole)
(documentation HumanSlave EnglishLanguage "A &%Human who is owned by someone else.")
;; NS: delete.
;; (=>
;; (attribute ?SLAVE HumanSlave)
;; (exists (?PERSON)
;; (and
;; (instance ?PERSON Human)
;; (not (equal ?PERSON ?SLAVE))
;; (possesses ?PERSON ?SLAVE))))
;; NS: add.
(=>
(holdsDuring ?TIME (attribute ?SLAVE HumanSlave))
(exists (?PERSON)
(and
(instance ?PERSON Human)
(not (equal ?PERSON ?SLAVE))
(holdsDuring ?TIME
(possesses ?PERSON ?SLAVE)))))
(subclass HumanAdult Human)
;; NS: add.
;; this is very unprecise as the age to become a legal agent depends on country and purpose
(subclass HumanAdult LegalAgent)
(documentation HumanAdult EnglishLanguage "The class of
&%Humans that are 18 years of age or older.")
;; NS: delete.
;; (=>
;; (and
;; (instance ?ADULT HumanAdult)
;; (age ?ADULT (MeasureFn ?NUMBER YearDuration)))
;; (greaterThanOrEqualTo ?NUMBER 18))
;; NS: add.
(=>
(holdsDuring ?TIME
(and
(instance ?ADULT HumanAdult)
(age ?ADULT (MeasureFn ?NUMBER YearDuration))))
(greaterThanOrEqualTo ?NUMBER 18))
;; NS. add. An alternate formulation.
(=>
(holdsDuring ?TIME (instance ?H HumanAdult))
(exists (?AGE)
(and
(holdsDuring ?TIME (age ?H ?AGE))
(instance ?AGE (IntervalFn (MeasureFn 18 YearDuration) (MeasureFn 120 YearDuration))))))
;; NS: add.
(=>
(and
(instance ?H Human)
(holdsDuring ?T1
(age ?H (MeasureFn ?N YearDuration)))
(greaterThanOrEqualTo ?N 18))
(holdsDuring ?T1 (instance ?H HumanAdult)))
;; NS: add.
(=>
(holdsDuring ?TIME
(instance ?ADULT HumanAdult))
(holdsDuring ?TIME
(developmentalForm ?ADULT FullyFormed)))
;; NS: add.
(=>
(and
(instance ?ORG Human)
(holdsDuring ?TIME
(attribute ?ORG FullyFormed)))
(holdsDuring ?TIME
(instance ?ORG HumanAdult)))
;; NS: add. Missing from Merge.kif. Narrow to
;; developmentalForm.
(=>
(and
(instance ?ORG OrganicObject)
(instance ?ATTR DevelopmentalAttribute)
(holdsDuring ?TIME (property ?ORG ?ATTR)))
(holdsDuring ?TIME (developmentalForm ?ORG ?ATTR)))
(subclass HumanYouth Human)
(documentation HumanYouth EnglishLanguage "The class of &%Humans that are younger than
18 years of age.")
;; NS: delete.
;; (=>
;; (and
;; (instance ?YOUTH HumanYouth)
;; (age ?YOUTH (MeasureFn ?NUMBER YearDuration)))
;; (lessThan ?NUMBER 18))
;; NS: add.
(=>
(holdsDuring ?TIME
(and
(instance ?YOUTH HumanYouth)
(age ?YOUTH (MeasureFn ?NUMBER YearDuration))))
(lessThan ?NUMBER 18))
;; NS. An alternate formulation.
(=>
(holdsDuring ?TIME (instance ?H HumanYouth))
(exists (?AGE)
(and
(holdsDuring ?TIME (age ?H ?AGE))
(instance ?AGE (IntervalFn (MeasureFn 0 YearDuration) (MeasureFn 17 YearDuration))))))
;; NS: add.
(=>
(and
(instance ?H Human)
(holdsDuring ?T1 (age ?H (MeasureFn ?N YearDuration)))
(lessThan ?N 18))
(holdsDuring ?T1 (instance ?H HumanYouth)))
(subclass HumanChild HumanYouth)
(documentation HumanChild EnglishLanguage "A &%HumanYouth between birth and puberty, i.e a
&%Human who is &%NonFullyFormed.")
;; NS: edit.
(=>
(holdsDuring ?TIME
(instance ?CHILD HumanChild))
(holdsDuring ?TIME
(developmentalForm ?CHILD NonFullyFormed)))
;; NS: add. Narrowing from Human.
(=>
(and
(instance ?CHILD Human)
(holdsDuring ?TIME
(attribute ?CHILD NonFullyFormed)))
(holdsDuring ?TIME
(instance ?CHILD HumanYouth)))
;; NS: edit.
(=>
(holdsDuring ?TIME
(and
(instance ?CHILD HumanChild)
(age ?CHILD (MeasureFn ?NUMBER YearDuration))))
(lessThanOrEqualTo ?NUMBER 14))
;; NS: add. An alternate formulation.
(=>
(holdsDuring ?TIME (instance ?H HumanChild))
(exists (?AGE)
(and
(holdsDuring ?TIME (age ?H ?AGE))
(instance ?AGE (IntervalFn (MeasureFn 0 YearDuration) (MeasureFn 14 YearDuration))))))
;; NS: add.
(=>
(and
(instance ?H Human)
(holdsDuring ?T1 (age ?H (MeasureFn ?N YearDuration)))
(lessThanOrEqualTo ?N 14))
(holdsDuring ?T1 (instance ?H HumanChild)))
;; NS: edit.
(subclass Teenager Human)
(documentation Teenager EnglishLanguage "A &%Human between puberty and the age of 20.")
(=>
(holdsDuring ?TIME
(and
(instance ?TEEN Teenager)
(age ?TEEN (MeasureFn ?NUMBER YearDuration))))
(and
(greaterThan ?NUMBER 12)
(lessThan ?NUMBER 20)))
;; NS: add. An alternate formulation.
(=>
(holdsDuring ?TIME (instance ?H Teenager))
(exists (?AGE)
(and
(holdsDuring ?TIME (age ?H ?AGE))
(instance ?AGE (IntervalFn (MeasureFn 13 YearDuration) (MeasureFn 19 YearDuration))))))
;; NS: add.
(=>
(and
(instance ?H Human)
(holdsDuring ?T1 (age ?H (MeasureFn ?N YearDuration)))
(greaterThan ?N 12)
(lessThan ?N 20))
(holdsDuring ?T1 (instance ?H Teenager)))
(subclass Boy HumanChild)
(subclass Boy Man)
(documentation Boy EnglishLanguage "A &%HumanChild who is &%Male.")
;; NS: add.
(=>
(holdsDuring ?T1
(and
(instance ?H HumanChild)
(attribute ?H Male)))
(holdsDuring ?T1 (instance ?H Boy)))
(subclass Girl HumanChild)
(subclass Girl Woman)
(documentation Girl EnglishLanguage "A &%HumanChild who is &%Female.")
;; NS: add.
(=>
(holdsDuring ?T1
(and
(instance ?H HumanChild)
(attribute ?H Female)))
(holdsDuring ?T1 (instance ?H Girl)))
(subclass HumanBaby HumanChild)
(documentation HumanBaby EnglishLanguage "A &%Human between birth and the first year of age.")
;; NS: edit.
(=>
(holdsDuring ?TIME
(and
(instance ?BABY HumanBaby)
(age ?BABY (MeasureFn ?NUMBER YearDuration))))
(lessThanOrEqualTo ?NUMBER 1))
;; NS: add. An alternate formulation. Constructing a query
;; to ask for the age of ?BABY is awkward with both
;; formulations, and probably won't give the
;; desired/expected answer.
(=>
(holdsDuring ?TIME (instance ?BABY HumanBaby))
(exists (?AGE)
(and
(holdsDuring ?TIME (age ?BABY ?AGE))
(instance ?AGE (IntervalFn (MeasureFn 0 YearDuration) (MeasureFn 1 YearDuration))))))
;; NS: Note that ?BABY, above, will also inherit less restrictive
;; numeric age constraints from HumanChild and HumanYouth. How
;; this will work out in inference depends on the inference
;; algorithm (presumably resolution), type of query (variable
;; binding or true/false), number of answers requested, and time
;; allowed for the inference engine to run.
;; NS: add.
(=>
(and
(instance ?H Human)
(holdsDuring ?T1 (age ?H (MeasureFn ?N YearDuration)))
(lessThanOrEqualTo ?N 1))
(holdsDuring ?T1 (instance ?H HumanBaby)))
(documentation older EnglishLanguage "(older ?OBJ1 ?OBJ2) means that ?OBJ1 is older than
?OBJ2, i.e. the age of ?OBJ1 is &%greaterThan the age of ?OBJ2.")
(instance older BinaryPredicate)
(domain older 1 Object)
(domain older 2 Object)
(=>
(older ?O1 ?O2)
(exists (?N1 ?N2 ?U)
(and
(age ?O1 (MeasureFn ?N1 ?U))
(age ?O2 (MeasureFn ?N2 ?U))
(greaterThan ?N1 ?N2))))
(documentation StartFn EnglishLanguage "(StartFn ?PROCESS) denotes &%IntentionalProcesses
of bringing it about that &%Processes of type ?PROCESS begin, e.g. start
working, begin running, etc.")
(instance StartFn UnaryFunction)
(domain StartFn 1 Process)
(rangeSubclass StartFn IntentionalProcess)
(=>
(instance ?S (StartFn ?P))
(exists (?I)
(and
(instance ?I ?P)
(starts (WhenFn ?S) (WhenFn ?I)))))
(documentation StopFn EnglishLanguage "(StopFn ?PROCESS) denotes &%IntentionalProcesses
of bringing it about that &%Processes of type ?PROCESS end, e.g. stop
walking, quit working, etc.")
(instance StopFn UnaryFunction)
(domain StopFn 1 Process)
(rangeSubclass StopFn IntentionalProcess)
(=>
(instance ?S (StopFn ?P))
(exists (?I)
(and
(instance ?I ?P)
(finishes (WhenFn ?S) (WhenFn ?I)))))
(subclass Dodging BodyMotion)
(subclass Dodging IntentionalProcess)
(documentation Dodging EnglishLanguage "Purposely moving one's body in such a way as
to avoid being hit by something.")
;; NS: edited to temporally relate ?I to ?D.
(=>
(and
(instance ?D Dodging)
(agent ?D ?A)
(equal ?DT (WhenFn ?D)))
(hasPurpose ?D
(not
(exists (?I)
(and
(or
(meetsTemporally ?DT (WhenFn ?I))
(overlapsTemporally ?DT (WhenFn ?I)))
(instance ?I Impacting)
(patient ?I ?A))))))
(subclass Mounting BodyMotion)
(documentation Mounting EnglishLanguage "Any &%BodyMotion which results in being &%On
something else.")
(=>
(and
(instance ?M Mounting)
(agent ?M ?A)
(patient ?M ?O))
(and
(holdsDuring
(BeginFn (WhenFn ?M))
(not (orientation ?A ?O On)))
(holdsDuring
(EndFn (WhenFn ?M))
(orientation ?A ?O On))))
(subclass Stepping BodyMotion)
(documentation Stepping EnglishLanguage "The &%BodyMotion of
extending one foot forward and then bringing the other foot
to the same lateral position as the first leg.")
;; NS. delete.
;; (=>
;; (instance ?AMBULATE Ambulating)
;; (exists (?SUB)
;; (and
;; (subclass ?SUB Stepping)
;; (forall (?INST)
;; (<=>
;; (instance ?INST ?SUB)
;; (subProcess ?INST ?AMBULATE))))))
;; NS: add. The conception here is that each instance of
;; Ambulating (Walking or Running) includes at least two
;; Stepping subProcesses: a starting one, and an ending one.
(=>
(and
(instance ?AMBULATE Ambulating)
(equal ?DURATION (WhenFn ?AMBULATE)))
(exists (?STEP1 ?STEPN)
(and
(instance ?STEP1 Stepping)
(instance ?STEPN Stepping)
(subProcess ?STEP1 ?AMBULATE)
(subProcess ?STEPN ?AMBULATE)
(starts (WhenFn ?STEP1) ?DURATION)
(finishes (WhenFn ?STEPN) ?DURATION)
(not (equal ?STEP1 ?STEPN)))))
;; NS: add.
(=>
(and
(instance ?A Ambulating)
(subProcess ?S1 ?A)
(instance ?S1 Stepping)
(subProcess ?S2 ?A)
(instance ?S2 Stepping)
(equal ?S1-START (BeginFn (WhenFn ?S1)))
(equal ?S2-START (BeginFn (WhenFn ?S2)))
(not
(or
(before ?S1-START ?S2-START)
(before ?S2-START ?S1-START))))
(equal ?S1 ?S2))
;; NS: add.
(=>
(and
(instance ?AMBULATE Ambulating)
(instance ?STEP Stepping)
(subProcess ?STEP ?AMBULATE)
(agent ?AMBULATE ?AGENT))
(agent ?STEP ?AGENT))
;; NS: add.
(=>
(and
(instance ?AMBULATE Ambulating)
(instance ?STEP Stepping)
(subProcess ?STEP ?AMBULATE)
(agent ?STEP ?AGENT))
(agent ?AMBULATE ?AGENT))
(subclass Wading Walking)
(documentation Wading EnglishLanguage "Any instance of &%Walking which occurs through a
&%BodyOfWater.")
(=>
(instance ?P Wading)
(exists (?W)
(and
(instance ?W WaterArea)
(eventLocated ?P ?W))))
(subclass Jumping BodyMotion)
(subclass Jumping MotionUpward)
(documentation Jumping EnglishLanguage "Any &%MotionUpward which is done by one's body
and which results in a situation where one's feet are unsupported.")
(=>
(and
(instance ?J Jumping)
(agent ?J ?A))
(holdsDuring
(EndFn (WhenFn ?J))
(not
(attribute ?A Standing))))
(subclass Somersaulting BodyMotion)
(documentation Somersaulting EnglishLanguage "Any &%BodyMotion which begins and ends in
a &%Sitting position and where the feet roll over the head and return to
their original position.")
(=>
(and
(instance ?S Somersaulting)
(agent ?S ?A))
(and
(holdsDuring
(BeginFn (WhenFn ?S))
(attribute ?A Sitting))
(holdsDuring
(EndFn (WhenFn ?S))
(attribute ?A Sitting))))
(subclass Reflecting Radiating)
(documentation Reflecting EnglishLanguage "Any instance of &%Radiating where the radiated
waves rebound from a surface, e.g. an echo of sound or a reflection of
light.")
(subclass ReflectingLight Reflecting)
(subclass ReflectingLight RadiatingLight)
(documentation ReflectingLight EnglishLanguage "Those
instances of &%RadiatingLight where the &%instrument is not
a light source, but is simply a surface which bends light
waves that come in contact with it.")
(documentation wavelength EnglishLanguage "(wavelength ?RADIATION ?MEASURE) means that the
instance of radiation, ?RADIATION, has an average wavelength of ?MEASURE.")
(instance wavelength SingleValuedRelation)
(domain wavelength 1 Radiating)
(domain wavelength 2 LengthMeasure)
(instance wavelength AsymmetricRelation)
(instance wavelength BinaryPredicate)
;(subrelation wavelength measure)
(subclass RadiatingInfrared Radiating)
(disjoint RadiatingInfrared RadiatingLight)
(disjoint RadiatingInfrared RadioEmission)
(documentation RadiatingInfrared EnglishLanguage "Any instance of &%Radiating where the
&%wavelengths are longer than those of visible light and shorter than those
of radio emissions.")
(subclass RadiatingUltraviolet RadiatingElectromagnetic)
(disjoint RadiatingUltraviolet RadiatingLight)
(disjoint RadiatingUltraviolet RadiatingXRay)
(documentation RadiatingUltraviolet EnglishLanguage "Any case of &%RadiatingElectromagnetic where the
&%wavelengths are shorter than those of visible light and longer than those
of X-Rays.")
(abbreviation "UV" RadiatingUltraviolet)
;MS: Duplicity with RadiatingXRay defined in Merge.kif
;(subclass XRayRadiation Radiating)
;(documentation XRayRadiation EnglishLanguage "Electro-magnetic radiation of short wavelength, often made use of by devices that scan the inside of objects.")
(=>
(instance ?X RadiatingXRay)
(exists (?M)
(and
(instance ?M LengthMeasure)
(wavelength ?X ?M)
(greaterThanOrEqualTo ?X
(MeasureFn 0.01 Nanometer))
(greaterThan
(MeasureFn 10 Nanometer) ?X))))
(subclass RadiatingVisibleLight RadiatingLight)
(disjoint RadiatingVisibleLight RadiatingUltraviolet)
(documentation RadiatingVisibleLight EnglishLanguage "Any instance of &%RadiatingLight that can
be detected by normal human visual perception.")
(=>
(and
(instance ?R RadiatingLight)
(instance ?H Human)
(instance ?S Seeing)
(agent ?S ?H)
(patient ?S ?R))
(instance ?R RadiatingVisibleLight))
(subclass Sunlight RadiatingLight)
(documentation Sunlight EnglishLanguage "Any instance of &%RadiatingLight where the
Sun (&%Sol) is the origin.")
(subclass RadioReceiver ReceiverDevice)
(documentation RadioReceiver EnglishLanguage "A &%RadioReceiver is a &%Device for receiving
radio broadcast signals from a &%RadioStation.")
(subclass Script Collection)
(documentation Script EnglishLanguage "The collection of &%Characters in a particular
written language. Every &%WrittenCommunication consists of &%Characters
written in a particular script. Scripts include different typefaces, as
well as entirely different characters. 'Times Roman' is a very specific
script. While the 'latin' character set is a general one, that has
specific subclasses like Times Roman. Other scripts include Devanagri
(which may be expressed in many different more specific typefaces), or
Simplified Chinese.")
;; NS: edited to fix argument order for &%part.
(=>
(instance ?W WrittenCommunication)
(exists (?T ?C ?S)
(and
(result ?W ?T)
(instance ?T Text)
(part ?C ?T)
(instance ?C Character)
(instance ?S Script)
(member ?C ?S))))
(subclass Orthography Procedure)
(documentation Orthography EnglishLanguage "A method for representing the sounds of a &%Language
with written &%Characters.")
(subclass Lyrics Text)
(documentation Lyrics EnglishLanguage "Any &%Text which is intended to be sung.")
(=>
(instance ?LYRIC Lyrics)
(hasPurpose ?LYRIC
(exists (?SING)
(and
(instance ?SING Singing)
(patient ?SING ?LYRIC)))))
(subclass Paragraph Text)
(documentation Paragraph EnglishLanguage "A &%Text which consists of one or more sentences,
begins with an indented line, and expresses a single topic.")
(=>
(instance ?T Paragraph)
(exists (?S)
(and
(instance ?S Sentence)
(part ?S ?T))))
(documentation sententialObject EnglishLanguage "(sententialObject ?OBJECT ?SENTENCE)
means that the &%NounPhrase ?OBJECT is the object of the &%Sentence
?SENTENCE.")
(domain sententialObject 1 NounPhrase)
(domain sententialObject 2 Sentence)
(subrelation sententialObject grammaticalRelation)
(documentation sententialSubject EnglishLanguage "(sententialSubject ?SUBJECT ?SENTENCE)
means that the &%NounPhrase ?SUBJECT is the subject of the &%Sentence
?SENTENCE.")
(domain sententialSubject 1 NounPhrase)
(domain sententialSubject 2 Sentence)
(subrelation sententialSubject grammaticalRelation)
(documentation speaksLanguage EnglishLanguage "(speaksLanguage ?AGENT ?LANGUAGE) means that the
&%SentientAgent ?AGENT is capable of understanding and/or generating the &%Language
?LANGUAGE.")
(instance speaksLanguage BinaryPredicate)
(domain speaksLanguage 1 SentientAgent)
(domain speaksLanguage 2 Language)
;; KJN: Deleting this. Made MakingInstrumentalMusic in Music ontology and moved
;; it to Merge
;;(subclass InstrumentalMusic Music)
;;(documentation InstrumentalMusic EnglishLanguage "&%Music
;;which is produced (at least in part) by a
;;&%MusicalInstrument.")
;;(=>
;; (instance ?MUSIC InstrumentalMusic)
;; (exists (?INSTRUMENT)
;; (and
;; (instance ?INSTRUMENT MusicalInstrument)
;; (instrument ?MUSIC ?INSTRUMENT))))
;;(partition Music MonophonicMusic PolyphonicMusic)
;; KJN: Making this into an attribute to describe a MakingMusic or
;; MusicRecording instance, instead of a subclass of MakingMusic
(instance MonophonicMusic RelationalAttribute)
(documentation MonophonicMusic EnglishLanguage "&%MakingMusic
which has a single part, i.e. &%MakingMusic which cannot be
divided into two or more contemporaneous &%subProcesses
which are also instances of &%MakingMusic.")
(instance PolyphonicMusic RelationalAttribute)
(documentation PolyphonicMusic EnglishLanguage "&%MakingMusic
which has two or more parts, i.e. &%MakingMusic which can be
divided into two or more contemporaneous &%subProcesses
which are also instances of &%MakingMusic.")
(<=>
(attribute ?MUSIC PolyphonicMusic)
(exists (?PART1 ?PART2)
(and
(instance ?MUSIC MakingMusic)
(instance ?PART1 MakingMusic)
(instance ?PART2 MakingMusic)
(subProcess ?PART1 ?MUSIC)
(subProcess ?PART2 ?MUSIC)
(not (equal ?PART1 ?PART2))
(cooccur ?PART1 ?MUSIC)
(cooccur ?PART2 ?MUSIC))))
;; KJN: Removing this. Created MakingVocalMusic and put it in Merge.kif
;;(subclass VocalMusic Music)
;;(documentation VocalMusic EnglishLanguage "&%Music which is produced (at least in part)
;;by &%Singing.")
;;(=>
;; (instance ?M VocalMusic)
;; (exists (?S)
;; (and
;; (instance ?S Singing)
;; (subProcess ?S ?M))))
(subclass MusicalTone RadiatingSound)
(documentation MusicalTone EnglishLanguage "A &%Process of &%RadiatingSound where the
sound has a fundamental frequency and 0 or more partial frequencies
or unrelated transients or noise components that have a lesser
amplitude than the fundamental.")
(subclass RadiatingSoundUltrasonic RadiatingSound)
(documentation RadiatingSoundUltrasonic EnglishLanguage "All sound waves that have frequencies
above those that normal &%Human ears can detect.")
(instance soundFrequency BinaryPredicate)
(documentation soundFrequency EnglishLanguage "A relation between a &%Process of
&%MusicalTone and the fundamental frequency of that tone.")
(domain soundFrequency 1 MusicalTone)
(domain soundFrequency 2 FunctionQuantity)
;; NS: The ambiguity of &%patient, in particular, creates
;; unnecessary confusion for axiom authors, and definitely
;; will be a problem if SUMO is ever used in an application
;; requiring serious inference. On the one hand, &%patient
;; is frequently used to indicate the object acted on (in
;; grammatical terms, the direct object) of a Process. On
;; the other hand, it is also used to gather up just about
;; all of the objects that play any role in a Process,
;; except for &%agent, &%origin, &%destination, and perhaps
;; a few others. This means that a user (human or
;; application) won't really be able to determine the object
;; acted on/direct object of a Process (e.g., Process1)
;; without posing a query like the following:
;;
;; (and
;; (patient Process1 ?X)
;; (not (instrument Process1 ?X))
;; (not (resource Process1 ?X))
;; (not (result Process1 ?X))
;; ... etc.)
;;
;; The solution is to (a) restrict the meaning of &%patient
;; to "object acted on/direct object" and define some new
;; predicate to gather up all of the non-&%agent
;; subrelations, or (b) define some new predicate that
;; strictly means "object acted on/direct object", relate it
;; to those predicates it should subsume, and redefine
;; &%patient to mean "every case role in a Process that is
;; not the &%agent". Either way, all of the axioms that
;; currently use &%patient and its current subrelations will
;; have to be reviewed and, if necessary, rewritten. This
;; should be done sooner rather than later.
;;
;; To determine all of the entities that play any role in
;; Process1, a user can pose this query:
;;
;; (involvedInEvent Process1 ?X)
(subclass WrittenCommunication LinguisticCommunication)
(documentation WrittenCommunication EnglishLanguage "Any
&%LinguisticCommunication where the &%instrument is a
&%Text, e.g. a letter, an email, a memo, etc.")