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
/
Geography.kif
7031 lines (5534 loc) · 228 KB
/
Geography.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
;;; Ontology of Geography ;;;
;; 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.
;; Contact Adam Pease (apease [at] articulatesoftware.com).
;; 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
;; Authors: Deborah Nichols
;; Part I incorporates some material by Doug Wulf.
;; Part II incorporates some material from earlier Terrain.kif
;; by Olga Babko-Malaya.
;;-----------------------------------------------------------------------
;; Ontology dependencies for Geography.kif: Merge.txt, elements.kif
;;-----------------------------------------------------------------------
;; Outline
;; I. Geography Terms for the CIA World Fact Book
;; A. Location
;; B. Geographic coordinates
;; C. Map references
;; D. Area
;; E. Area - comparative
;; F. Land boundaries
;; G. Coastline
;; H. Maritime claims
;; I. Climate
;; J. Terrain
;; K. Elevation extremes
;; L. Natural resources
;; M. Land use
;; N. Irrigated land
;; O. Natural hazards
;; P. Environment - current issues
;; Q. Environment - international agreements
;; R. Geography - note
;;
;; II. General Geography Terms and Background
;; A. Planet Geography & Astronomical Bodies
;; B. Directions and Distances
;; C. Land Forms
;; D. Water Areas
;; 1. Oceans & Seas
;; 2. Tides & Currents
;; 3. Water Subregions
;; 4. Fresh Water Areas
;; E. Coastal and Shoreline Areas
;; F. Air and Atmosphere
;; G. Weather & Climate
;; H. Vegetation and Biomes
;; I. Natural Disasters
;; J. Environmental Areas of Concern
;;-----------------------------------------------------------------------
;; GEOGRAPHY ONTOLOGY
;;-----------------------------------------------------------------------
;; I. Geography Terms for the CIA World Fact Book
;; A. Location
;; Identifies regional location of a country, neighbors & adjacent waters.
; Regions used by 2002 CIA WFB to describe country locations:
(instance CentralAfrica GeographicArea)
(instance EasternAfrica GeographicArea)
(instance NorthernAfrica GeographicArea)
(instance SouthernAfrica GeographicArea)
(instance WesternAfrica GeographicArea)
(instance MiddleEastRegion GeographicArea)
(instance CentralEurope GeographicArea)
(instance EasternEurope GeographicArea)
(instance NorthernEurope GeographicArea)
(instance SouthernEurope GeographicArea)
(instance WesternEurope GeographicArea)
(instance SoutheasternEurope GeographicArea)
(instance SouthwesternEurope GeographicArea)
(instance NorthAmerica GeographicArea)
(instance NorthernNorthAmerica GeographicArea)
(instance CaribbeanRegion GeographicArea)
(instance MiddleAmerica GeographicArea)
(instance CentralSouthAmerica GeographicArea)
(instance EasternSouthAmerica GeographicArea)
(instance NorthernSouthAmerica GeographicArea)
(instance SouthernSouthAmerica GeographicArea)
(instance WesternSouthAmerica GeographicArea)
(instance CentralAsia GeographicArea)
(instance EasternAsia GeographicArea)
(instance NorthernAsia GeographicArea)
(instance SouthernAsia GeographicArea)
(instance SoutheasternAsia GeographicArea)
(instance SouthwesternAsia GeographicArea)
(instance Oceania GeographicArea)
(names "Central Africa" CentralAfrica)
(names "Eastern Africa" EasternAfrica)
(names "Northern Africa" NorthernAfrica)
(names "Southern Africa" SouthernAfrica)
(names "Western Africa" WesternAfrica)
(names "Middle East" MiddleEastRegion)
(names "Central Europe" CentralEurope)
(names "Eastern Europe" EasternEurope)
(names "Northern Europe" NorthernEurope)
(names "Southern Europe" SouthernEurope)
(names "Western Europe" WesternEurope)
(names "Southeastern Europe" SoutheasternEurope)
(names "Southwestern Europe" SouthwesternEurope)
(names "North America" NorthAmerica)
(names "Northern North America" NorthernNorthAmerica)
(names "Caribbean Region" CaribbeanRegion)
(names "Caribbean" CaribbeanRegion)
(names "Middle America" MiddleAmerica)
(names "Central South America" CentralSouthAmerica)
(names "Eastern South America" EasternSouthAmerica)
(names "Northern South America" NorthernSouthAmerica)
(names "Southern South America" SouthernSouthAmerica)
(names "Western South America" WesternSouthAmerica)
(names "Central Asia" CentralAsia)
(names "Eastern Asia" EasternAsia)
(names "Northern Asia" NorthernAsia)
(names "Southern Asia" SouthernAsia)
(names "Southeastern Asia" SoutheasternAsia)
(names "Southwestern Asia" SouthwesternAsia)
(names "Oceania" Oceania)
(geographicSubregion CentralAfrica Africa)
(geographicSubregion EasternAfrica Africa)
(geographicSubregion NorthernAfrica Africa)
(geographicSubregion SouthernAfrica Africa)
(geographicSubregion WesternAfrica Africa)
(instance MiddleEastRegion GeopoliticalArea)
(overlapsSpatially MiddleEastRegion Asia)
(documentation MiddleEastRegion EnglishLanguage "&%MiddleEastRegion is a
&%GeopoliticalArea that comprises countries of Southwestern &%Asia
and (in some definitions) Northwestern &%Africa. Here this term is
defined as in the CIA World Fact Book, in which the Middle East
includes: Bahrain, Cyprus, the Gaza Strip, Iran, Iraq, Israel,
Jordan, Kuwait, Lebanon, Oman, Qatar, Saudi Arabia, Syria, the United
Arab Emirates, the West Bank, and Yemen.")
(geographicSubregion CentralEurope Europe)
(geographicSubregion EasternEurope Europe)
(geographicSubregion NorthernEurope Europe)
(geographicSubregion SouthernEurope Europe)
(geographicSubregion WesternEurope Europe)
(geographicSubregion SoutheasternEurope Europe)
(geographicSubregion SouthwesternEurope Europe)
(geographicSubregion NorthernNorthAmerica NorthAmerica)
(overlapsSpatially CaribbeanRegion SouthAmerica)
(overlapsSpatially CaribbeanRegion NorthAmerica)
(overlapsSpatially MiddleAmerica NorthAmerica)
(overlapsSpatially MiddleAmerica SouthAmerica)
(geographicSubregion CentralSouthAmerica SouthAmerica)
(geographicSubregion EasternSouthAmerica SouthAmerica)
(geographicSubregion NorthernSouthAmerica SouthAmerica)
(geographicSubregion SouthernSouthAmerica SouthAmerica)
(geographicSubregion WesternSouthAmerica SouthAmerica)
(geographicSubregion CentralAsia Asia)
(geographicSubregion EasternAsia Asia)
(geographicSubregion NorthernAsia Asia)
(geographicSubregion NorthernAsia NorthernHemisphere)
(geographicSubregion SouthernAsia Asia)
(geographicSubregion SoutheasternAsia Asia)
(geographicSubregion SouthwesternAsia Asia)
(geographicSubregion CentralAfrica EasternHemisphere)
(overlapsSpatially CentralAfrica NorthernHemisphere)
(overlapsSpatially CentralAfrica SouthernHemisphere)
(geographicSubregion EasternAfrica EasternHemisphere)
(overlapsSpatially EasternAfrica NorthernHemisphere)
(overlapsSpatially EasternAfrica SouthernHemisphere)
(overlapsSpatially NorthernAfrica EasternHemisphere)
(overlapsSpatially NorthernAfrica WesternHemisphere)
(geographicSubregion NorthernAfrica NorthernHemisphere)
(geographicSubregion SouthernAfrica EasternHemisphere)
(geographicSubregion SouthernAfrica SouthernHemisphere)
(overlapsSpatially WesternAfrica EasternHemisphere)
(overlapsSpatially WesternAfrica WesternHemisphere)
(overlapsSpatially WesternAfrica NorthernHemisphere)
(overlapsSpatially WesternAfrica SouthernHemisphere)
(geographicSubregion MiddleEastRegion EasternHemisphere)
(geographicSubregion MiddleEastRegion WesternHemisphere)
(geographicSubregion EasternEurope EasternHemisphere)
(geographicSubregion EasternEurope NorthernHemisphere)
(geographicSubregion CentralEurope EasternHemisphere)
(geographicSubregion CentralEurope NorthernHemisphere)
(geographicSubregion NorthernEurope EasternHemisphere)
(geographicSubregion NorthernEurope NorthernHemisphere)
(geographicSubregion SouthernEurope EasternHemisphere)
(geographicSubregion SouthernEurope NorthernHemisphere)
(overlapsSpatially WesternEurope EasternHemisphere)
(overlapsSpatially WesternEurope WesternHemisphere)
(geographicSubregion WesternEurope NorthernHemisphere)
(geographicSubregion SoutheasternEurope EasternHemisphere)
(geographicSubregion SoutheasternEurope NorthernHemisphere)
(overlapsSpatially SouthwesternEurope EasternHemisphere)
(overlapsSpatially SouthwesternEurope WesternHemisphere)
(geographicSubregion SouthwesternEurope NorthernHemisphere)
(geographicSubregion CaribbeanRegion NorthernHemisphere)
(geographicSubregion CaribbeanRegion WesternHemisphere)
(geographicSubregion MiddleAmerica NorthernHemisphere)
(geographicSubregion MiddleAmerica WesternHemisphere)
(geographicSubregion CentralSouthAmerica WesternHemisphere)
(geographicSubregion CentralSouthAmerica SouthernHemisphere)
(geographicSubregion EasternSouthAmerica WesternHemisphere)
(overlapsSpatially EasternSouthAmerica NorthernHemisphere)
(overlapsSpatially EasternSouthAmerica SouthernHemisphere)
(geographicSubregion NorthernSouthAmerica WesternHemisphere)
(overlapsSpatially NorthernSouthAmerica NorthernHemisphere)
(overlapsSpatially NorthernSouthAmerica SouthernHemisphere)
(geographicSubregion SouthernSouthAmerica WesternHemisphere)
(geographicSubregion SouthernSouthAmerica SouthernHemisphere)
(geographicSubregion WesternSouthAmerica WesternHemisphere)
(overlapsSpatially WesternSouthAmerica NorthernHemisphere)
(overlapsSpatially WesternSouthAmerica SouthernHemisphere)
(geographicSubregion CentralAsia EasternHemisphere)
(geographicSubregion CentralAsia NorthernHemisphere)
(geographicSubregion EasternAsia EasternHemisphere)
(geographicSubregion EasternAsia NorthernHemisphere)
(geographicSubregion NorthernAsia EasternHemisphere)
(geographicSubregion SouthernAsia EasternHemisphere)
(overlapsSpatially SouthernAsia NorthernHemisphere)
(overlapsSpatially SouthernAsia SouthernHemisphere)
(geographicSubregion SoutheasternAsia EasternHemisphere)
(overlapsSpatially SoutheasternAsia NorthernHemisphere)
(overlapsSpatially SoutheasternAsia SouthernHemisphere)
(geographicSubregion SouthwesternAsia EasternHemisphere)
(geographicSubregion SouthwesternAsia NorthernHemisphere)
(orientation Europe Africa North)
(orientation Europe Asia West)
(orientation Europe NorthAmerica East)
(orientation NorthAmerica SouthAmerica North)
(orientation NorthAmerica Asia East)
(orientation Africa SouthAmerica Northeast)
(orientation Asia Oceania Northwest)
(orientation Africa NorthAmerica Southeast)
(orientation Europe SouthAmerica Northeast)
(orientation Oceania NorthAmerica Southwest)
(orientation MiddleEastRegion Asia Southwest)
(orientation MiddleEastRegion Africa Northeast)
(orientation MiddleAmerica SouthAmerica North)
(orientation MiddleAmerica NorthAmerica South)
(orientation CaribbeanRegion SouthAmerica North)
(orientation CaribbeanRegion NorthAmerica South)
(=>
(and
(instance ?LAND Continent)
(not (equal ?LAND Antarctica)))
(orientation Antarctica ?LAND South))
;;-----------------------------------------------------------------------
;; B. Geographic coordinates
(subclass Latitude Region)
(names "latitude" Latitude)
(names "parallel" Latitude)
(termFormat EnglishLanguage Latitude "latitude")
(documentation Latitude EnglishLanguage "&%Latitude is the class of &%Regions,
associated with areas on the Earth's surface, which are parallels
measured in &%PlaneAngleDegrees from the &%Equator.")
(subclass Longitude Region)
(names "longitude" Longitude)
(names "meridian" Longitude)
(termFormat EnglishLanguage Longitude "longitude")
(documentation Longitude EnglishLanguage "&%Longitude is the class of &%Regions,
associated with areas on the Earth's surface, which are meridians
measured in &%PlaneAngleDegrees from the &%PrimeMeridian through
&%GreenwichEnglandUK.")
(instance GreenwichEnglandUK City)
(instance objectGeographicCoordinates TernaryPredicate)
(domain objectGeographicCoordinates 1 Object)
(domain objectGeographicCoordinates 2 Latitude)
(domain objectGeographicCoordinates 3 Longitude)
(documentation objectGeographicCoordinates EnglishLanguage
"(&%objectGeographicCoordinates ?OBJECT ?LAT ?LONG) means that
the &%Object ?OBJECT is found at the geographic coordinates
?LAT and ?LONG.")
(instance GeographicCenterFn UnaryFunction)
(names "geographic center" GeographicCenterFn)
(domain GeographicCenterFn 1 GeographicArea)
(range GeographicCenterFn GeographicArea)
(documentation GeographicCenterFn EnglishLanguage
"(&%GeographicCenterFn ?REGION) denotes the geographical center
of the &%GeographicArea ?REGION.")
(=>
(and
(instance ?REGION GeographicArea)
(instance (GeographicCenterFn ?REGION) GeographicArea))
(geographicSubregion (GeographicCenterFn ?REGION) ?REGION))
(=>
(and
(instance ?REGION GeographicArea)
(objectGeographicCoordinates
(GeographicCenterFn ?REGION) ?LAT ?LONG))
(objectGeographicCoordinates ?REGION ?LAT ?LONG))
;; See Merge.kif for definitions of &%PlaneAngleMeasure and &%AngularDegree
;; Additional assertions for &%AngularDegree:
(=>
(measure ?ANGLE (MeasureFn ?NUMBER AngularDegree))
(greaterThanOrEqualTo ?NUMBER 0))
(=>
(measure ?ANGLE (MeasureFn ?NUMBER AngularDegree))
(lessThanOrEqualTo ?NUMBER 360))
(instance ArcMinute UnitOfAngularMeasure)
(documentation ArcMinute EnglishLanguage "&%ArcMinute represents a &%UnitOfMeasure
equivalent to 1/60th of an &%AngularDegree.")
(=>
(measure ?ANGLE (MeasureFn ?NUMBER ArcMinute))
(greaterThanOrEqualTo ?NUMBER 0))
(=>
(measure ?ANGLE (MeasureFn ?NUMBER ArcMinute))
(lessThanOrEqualTo ?NUMBER 60))
(<=>
(measure ?OBJ (MeasureFn ?DEG AngularDegree))
(measure ?OBJ (MeasureFn (MultiplicationFn 60 ?DEG) ArcMinute)))
(equal (MeasureFn 1 AngularDegree) (MeasureFn 60 ArcMinute))
(equal (MeasureFn ?NUM AngularDegree) (MeasureFn (MultiplicationFn 60 ?NUM) ArcMinute))
(instance ArcSecond UnitOfAngularMeasure)
(documentation ArcSecond EnglishLanguage "&%ArcSecond represents a &%UnitOfMeasure
equivalent to 1/60th of an &%ArcMinute.")
(=>
(measure ?ANGLE (MeasureFn ?NUMBER ArcSecond))
(greaterThanOrEqualTo ?NUMBER 0))
(=>
(measure ?ANGLE (MeasureFn ?NUMBER ArcSecond))
(lessThanOrEqualTo ?NUMBER 60))
(<=>
(measure ?OBJ (MeasureFn ?DEG ArcMinute))
(measure ?OBJ (MeasureFn (MultiplicationFn 60 ?DEG) ArcSecond)))
(equal (MeasureFn 1 ArcMinute) (MeasureFn 60 ArcSecond))
(equal (MeasureFn ?DEG ArcMinute) (MeasureFn (MultiplicationFn 60 ?DEG) ArcSecond))
(instance LatitudeFn VariableArityRelation)
(instance LatitudeFn Function)
(domain LatitudeFn 1 DirectionalAttribute)
(domain LatitudeFn 2 AngleMeasure)
(domain LatitudeFn 3 AngleMeasure)
(domain LatitudeFn 4 AngleMeasure)
(range LatitudeFn Region)
(termFormat EnglishLanguage LatitudeFn "Latitude")
(documentation LatitudeFn EnglishLanguage "&%LatitudeFn is a &%VariableArityRelation
used to denote a parallel of latitude. Examples:
(&%LatitudeFn &%North (&%MeasureFn 38 &%AngularDegree)), (&%LatitudeFn
&%South (&%MeasureFn 23 &%AngularDegree) (&%MeasureFn 30 &%ArcMinute)),
(&%LatitudeFn &%South (&%MeasureFn 60 &%AngularDegree) (&%MeasureFn 0 &%ArcMinute)
(&%MeasureFn 0 &%ArcSecond)), (&%LatitudeFn &%North
(&%MeasureFn 42 &%AngularDegree) (&%MeasureFn 7.89 &%ArcMinute)).")
(=>
(instance (LatitudeFn ?DIRECTION @ROW) Region)
(or
(equal ?DIRECTION North)
(equal ?DIRECTION South)))
(=>
(and
(instance (LatitudeFn ?DIRECTION @ROW) Region)
(equal (ListOrderFn (ListFn @ROW) 1) (MeasureFn ?NUM AngularDegree)))
(lessThanOrEqualTo ?NUM 90))
(=>
(or
(equal ?DIRECTION North)
(equal ?DIRECTION South))
(length
(LatitudeFn ?DIRECTION
(MeasureFn 0 AngularDegree) (MeasureFn 1 ArcMinute) (MeasureFn 0 ArcSecond))
(MeasureFn 1 NauticalMile)))
(instance LongitudeFn Function)
(instance LongitudeFn VariableArityRelation)
(domain LongitudeFn 1 DirectionalAttribute)
(domain LongitudeFn 2 AngleMeasure)
(domain LongitudeFn 3 AngleMeasure)
(domain LongitudeFn 4 AngleMeasure)
(range LongitudeFn GeographicArea)
(termFormat EnglishLanguage LongitudeFn "Longitude")
(documentation LongitudeFn EnglishLanguage "(&%LongitudeFn ?DIRECTION @ROW)
denotes a meridian of longitude. Note that &%LongitudeFn is
a &%VariableArityRelation. Examples:
(&%LongitudeFn &%East (&%MeasureFn 180 &%AngularDegree)), (&%LongitudeFn
&%West (&%MeasureFn 122 &%AngularDegree) (&%MeasureFn 24 &%ArcMinute)),
(&%LongitudeFn &%East (&%MeasureFn 121 &%AngularDegree)
(&%MeasureFn 0 &%ArcMinute) (&%MeasureFn 15 &%ArcSecond)),
(&%LongitudeFn &%West (&%MeasureFn 80 &%AngularDegree)
(&%MeasureFn 6.78 &%ArcMinute)).")
(=>
(instance (LongitudeFn ?DIRECTION @ROW) Region)
(or
(equal ?DIRECTION East)
(equal ?DIRECTION West)))
(=>
(and
(instance (LongitudeFn ?DIRECTION @ROW) Region)
(equal (ListOrderFn (ListFn @ROW) 1)(MeasureFn ?NUM AngularDegree)))
(lessThanOrEqualTo ?NUM 180))
(instance DirectionalSubregionFn BinaryFunction)
(domain DirectionalSubregionFn 1 DirectionalAttribute)
(domain DirectionalSubregionFn 2 GeographicArea)
(range DirectionalSubregionFn GeographicArea)
(documentation DirectionalSubregionFn EnglishLanguage
"(&%DirectionalSubregionFn ?DIRECTION ?AREA) denotes the part
of &%GeographicArea ?AREA that lies in ?DIRECTION from the
geographic center of ?AREA. For example,
(&%DirectionalSubregionFn &%Iraq &%North) denotes the Northern
part of &%Iraq. Such subregions are defined purely by geographical
points of reference, not by sociological ones. For example,
(&%DirectionalSubregionFn &%UnitedStatesOfAmerica &%South) denotes
the Southern half of the United States, it does not denote the
American South as distinguished for historical, literary, or
cultural purposes.")
(=>
(and
(instance ?DIRECTION DirectionalAttribute)
(instance ?AREA GeographicArea)
(instance (DirectionalSubregionFn ?DIRECTION ?AREA) GeographicArea))
(geographicSubregion (DirectionalSubregionFn ?DIRECTION ?AREA) ?AREA))
(=>
(and
(instance ?DIRECTION DirectionalAttribute)
(instance ?AREA GeographicArea)
(instance (DirectionalSubregionFn ?DIRECTION ?AREA) GeographicArea))
(orientation (DirectionalSubregionFn ?DIRECTION ?AREA) (GeographicCenterFn ?AREA) ?DIRECTION))
(=>
(and
(partlyLocated ?PLACE ?SUBAREA)
(instance ?SUBAREA GeographicArea)
(geographicSubregion ?SUBAREA ?AREA))
(partlyLocated ?PLACE ?AREA))
(=>
(and
(connected ?X ?Y)
(part ?Y ?Z))
(connected ?X ?Z))
;;-----------------------------------------------------------------------
;; C. Map references
;; This section simply indicates on which specific maps the country
;; may be found.
(instance mapOfArea BinaryPredicate)
(domain mapOfArea 1 Region)
(domain mapOfArea 2 SymbolicString)
(documentation mapOfArea EnglishLanguage "(&%mapOfArea ?AREA ?POINTER) means that a map
of the &%Region ?AREA can be found at the location ?POINTER.")
;;-----------------------------------------------------------------------
;; D. Area
(instance totalArea BinaryPredicate)
(domain totalArea 1 Region)
(domain totalArea 2 AreaMeasure)
(documentation totalArea EnglishLanguage "(&%totalArea ?REGION ?AMOUNT) means that
the total area of ?REGION is the &%AreaMeasure ?AMOUNT.")
(instance landAreaOnly BinaryPredicate)
(domain landAreaOnly 1 GeographicArea)
(domain landAreaOnly 2 AreaMeasure)
(documentation landAreaOnly EnglishLanguage "(&%landAreaOnly ?REGION ?MEASURE) means
that the total area(s) of solid ground within the &%GeographicArea
?REGION has the &%AreaMeasure ?AMOUNT. The pieces of solid ground need
not be continuous within the region.")
(instance waterAreaOnly BinaryPredicate)
(domain waterAreaOnly 1 GeographicArea)
(domain waterAreaOnly 2 AreaMeasure)
(documentation waterAreaOnly EnglishLanguage "(&%waterAreaOnly ?REGION ?MEASURE) means
that the total area(s) of surface water within the &%GeographicArea
?REGION has the &%AreaMeasure ?AMOUNT. The pieces of water need not be
continuous within the region.")
(=>
(and
(instance ?UNIT UnitOfArea)
(landAreaOnly ?AREA (MeasureFn ?LAND ?UNIT))
(waterAreaOnly ?AREA (MeasureFn ?WATER ?UNIT)))
(totalArea ?AREA (MeasureFn (AdditionFn ?LAND ?WATER) ?UNIT)))
(subclass SurfaceGroundArea GeographicArea)
(documentation SurfaceGroundArea EnglishLanguage "&%SurfaceGroundArea is a subclass of
&%GeographicArea that is restricted to regions whose surface is solid
ground. A &%SurfaceGroundArea may be a discontinuous region overlapping
a larger, continuous &%GeographicArea but excluding any &%WaterAreas
enclosed therein. Rivers, lakes, reservoirs and other surface water areas
are not part of any &%SurfaceGroundArea.")
(=>
(instance ?EXCLUSIVELANDAREA SurfaceGroundArea)
(not
(exists (?WATERAREA)
(and
(instance ?WATERAREA WaterArea)
(part ?WATERAREA ?EXCLUSIVELANDAREA)))))
(=>
(landAreaOnly ?AREA ?MEASURE)
(exists (?LAND)
(and
(instance ?LAND SurfaceGroundArea)
(part ?LAND ?AREA)
(totalArea ?LAND ?MEASURE))))
(subclass WaterOnlyArea GeographicArea)
(documentation WaterOnlyArea EnglishLanguage "&%WaterOnlyArea is a subclass of
&%GeographicArea that is restricted to regions whose surface is water.
A &%WaterOnlyArea may be a discontinuous region overlapping a larger,
continuous &%GeographicArea but excluding any &%LandAreas enclosed therein.
Dry land areas, including islands, are not part of any &%WaterOnlyArea.")
(=>
(instance ?EXCLUSIVEWATERAREA WaterOnlyArea)
(not
(exists (?LANDAREA)
(and
(instance ?LANDAREA LandArea)
(part ?LANDAREA ?EXCLUSIVEWATERAREA)))))
(=>
(waterAreaOnly ?AREA ?MEASURE)
(exists (?WATER)
(and
(instance ?WATER WaterOnlyArea)
(part ?WATER ?AREA)
(totalArea ?WATER ?MEASURE))))
;; TERM
(instance SquareKilometer UnitOfArea)
(documentation SquareKilometer EnglishLanguage "&%SquareKilometer represents a
&%UnitOfMeasure equal to one square kilometer.")
(equal (MeasureFn 1 SquareKilometer)
(MultiplicationFn (MeasureFn 1 (KiloFn Meter))(MeasureFn 1 (KiloFn Meter))))
(=>
(equal ?NUM (MultiplicationFn 1 ?NUM))
(equal (MeasureFn ?NUM SquareKilometer)
(MeasureFn (MultiplicationFn ?NUM 1000000) SquareMeter)))
;;-----------------------------------------------------------------------
;; E. Area - comparative
;; This section compares the area of a country to some state or other
;; part of the United States.
;; This is a bit of a hack, but the easiest solution since IntersectionFn
;; is only used here in a domain statement
(subclass BinaryRelationExtendedToQuantities RelationExtendedToQuantities)
(subclass BinaryRelationExtendedToQuantities BinaryPredicate)
(instance comparativeArea QuaternaryPredicate)
(domain comparativeArea 1 GeographicArea)
; (domain comparativeArea 2 (IntersectionFn RelationExtendedToQuantities BinaryPredicate))
(domain comparativeArea 2 BinaryRelationExtendedToQuantities)
(domain comparativeArea 3 PositiveRealNumber)
(domain comparativeArea 4 GeographicArea)
(documentation comparativeArea EnglishLanguage
"(&%comparativeArea ?REGION1 ?RELATION ?FACTOR ?REGION2) means that
the total area of &%GeographicArea ?REGION1 has the relation ?RELATION
to the total area of &%GeographicArea ?REGION2 times ?FACTOR. For
example, that France is (slightly) less than twice the size of Colorado
is represented by (&%comparativeArea &%France &%lessThan 2 &%Colorado).")
(=>
(and
(comparativeArea ?REGION1 ?RELATION ?FACTOR ?REGION2)
(instance ?UNIT UnitOfArea)
(measure ?REGION1 (MeasureFn ?NUM1 ?UNIT))
(measure ?REGION2 (MeasureFn ?NUM2 ?UNIT)))
(?RELATION (MeasureFn ?NUM1 ?UNIT) (MeasureFn (MultiplicationFn ?FACTOR ?NUM2) ?UNIT)))
;;-----------------------------------------------------------------------
;; F. Land boundaries
(instance totalLandBoundary BinaryPredicate)
(domain totalLandBoundary 1 GeographicArea)
(domain totalLandBoundary 2 LengthMeasure)
(documentation totalLandBoundary EnglishLanguage "(&%totalLandBoundary ?REGION ?LENGTH)
means that the &%GeographicArea ?REGION has a total &%LengthMeasure
?LENGTH of land boundaries between it and other countries. Note that
the boundaries included in the total length may be discontinuous, as when
interrupted by stretches of &%Seacoast.")
(instance BorderFn BinaryFunction)
(names "border" BorderFn)
(domain BorderFn 1 GeographicArea)
(domain BorderFn 2 GeographicArea)
(range BorderFn GeographicArea)
(documentation BorderFn EnglishLanguage "(&%BorderFn ?AREA1 ?AREA2) denotes the
border area where the &%GeographicAreas ?AREA1 and ?AREA2 meet.")
(=>
(instance (BorderFn ?AREA1 ?AREA2) GeographicArea)
(meetsSpatially ?AREA1 ?AREA2))
(=>
(and
(instance ?OBJ1 GeographicArea)
(instance ?OBJ2 GeographicArea))
(equal (BorderFn ?OBJ1 ?OBJ2) (BorderFn ?OBJ2 ?OBJ1)))
(=>
(and
(instance (BorderFn ?COUNTRY1 ?COUNTRY2) GeographicArea)
(instance ?COUNTRY1 Nation)
(instance ?COUNTRY2 Nation))
(instance (BorderFn ?COUNTRY1 ?COUNTRY2) InternationalBorder))
(=>
(instance (BorderFn ?AREA1 ?AREA2) GeographicArea)
(orientation ?AREA1 ?AREA2 Adjacent))
(=>
(orientation ?ONE ?TWO Adjacent)
(orientation ?TWO ?ONE Adjacent))
(=>
(orientation ?ONE ?TWO Near)
(orientation ?TWO ?ONE Near))
(=>
(meetsSpatially ?AREA1 ?AREA2)
(not (overlapsSpatially ?AREA1 ?AREA2)))
(subclass InternationalBorder GeographicArea)
(documentation InternationalBorder EnglishLanguage "&%InternationalBorder is the
subclass of &%GeographicAreas where the areas of two &%Nations meet.")
(subclass Checkpoint GeographicArea)
(documentation Checkpoint EnglishLanguage "An area on or very near a border, usually along
a road connecting two regions, where &%MilitaryPersons or &%PoliceOfficers
restrict the flow of traffic in order to extract tarrifs, deny movement to
certain kinds of people or goods, or other enforement actions. Because of
the power relationship involved, such areas are often the site of &%Illegal
activities conducted by the officials in order to extract favors or
bribes.")
(=>
(instance ?X Checkpoint)
(or
(exists (?ROAD)
(and
(instance ?ROAD Road)
(orientation ?ROAD ?X Near)))
(exists (?REG1 ?REG2)
(orientation (BorderFn ?REG1 ?REG2) ?X Near))))
(documentation sharedBorderLength EnglishLanguage "The &%length of the boundary
between two &%GeographicRegions.")
(instance sharedBorderLength TernaryPredicate)
(domain sharedBorderLength 1 GeographicArea)
(domain sharedBorderLength 2 GeographicArea)
(domain sharedBorderLength 3 LengthMeasure)
(=>
(sharedBorderLength ?N1 ?N2 ?M)
(length (BorderFn ?N1 ?N2) ?M))
(subclass PerimeterArea Region)
(documentation PerimeterArea EnglishLanguage "A &%PerimeterArea is a region that
extends outward from a boundary with another region, surrounding or
partially surrounding it, but which is not part of that other region.
See &%BorderFn and &%PerimeterAreaFn.")
(instance PerimeterAreaFn UnaryFunction)
(domain PerimeterAreaFn 1 Region)
(rangeSubclass PerimeterAreaFn PerimeterArea)
(documentation PerimeterAreaFn EnglishLanguage "(&%PerimeterAreaFn ?REGION) denotes a
class including any peripheral zones extending outward from the &%Region
?REGION.")
(=>
(instance ?zone (PerimeterAreaFn ?region))
(meetsSpatially ?zone ?region))
(instance MaritimeClaimsTerritorialSeaFn UnaryFunction)
(domain MaritimeClaimsTerritorialSeaFn 1 Region)
(range MaritimeClaimsTerritorialSeaFn PerimeterArea)
(documentation MaritimeClaimsTerritorialSeaFn EnglishLanguage "(&%MaritimeClaimsTerritorialSeaFn ?REGION) denotes a
peripheral zones of maritime control extending outward from the &%Region
?REGION.")
(=>
(instance ?region GeopoliticalArea)
(instance (MaritimeClaimsTerritorialSeaFn ?region) (PerimeterAreaFn ?region)))
(=>
(instance ?region GeopoliticalArea)
(instance (MaritimeClaimsTerritorialSeaFn ?region) UniformPerimeterArea))
(instance InnerBoundaryFn UnaryFunction)
(domain InnerBoundaryFn 1 Region) ;; a PerimeterArea or general class of oriented areas?
(range InnerBoundaryFn Region)
(documentation InnerBoundaryFn EnglishLanguage "(&%InnerBoundaryFn ?REGION) denotes the
inner boundary of the &%Region ?REGION, where ?REGION has an inner and
outer &%orientation with respect to another object.")
(=>
(instance ?REGION Region)
(superficialPart (InnerBoundaryFn ?REGION) ?REGION))
(instance OuterBoundaryFn UnaryFunction)
(domain OuterBoundaryFn 1 Region) ;; a PerimeterArea or general class of oriented areas
(range OuterBoundaryFn Region)
(documentation OuterBoundaryFn EnglishLanguage "(&%OuterBoundaryFn ?REGION) denotes the
outer boundary of the &%Region ?REGION, where ?REGION has an inner and
outer &%orientation with respect to another object.")
(=>
(instance ?REGION Region)
(superficialPart (OuterBoundaryFn ?REGION) ?REGION))
(subclass UniformPerimeterArea PerimeterArea)
(documentation UniformPerimeterArea EnglishLanguage "A &%UniformPerimeterArea is one
that has a defined uniform &%width.")
(=>
(instance ?AREA UniformPerimeterArea)
(exists (?WIDTH)
(distance (InnerBoundaryFn ?AREA) (OuterBoundaryFn ?AREA) ?WIDTH)))
(=>
(instance ?ZONE UniformPerimeterArea)
(exists (?WIDTH)
(and
(instance ?WIDTH LengthMeasure)
(width ?ZONE ?WIDTH))))
(=>
(and
(instance ?ZONE UniformPerimeterArea)
(part ?INNER (InnerBoundaryFn ?ZONE)))
(exists (?OUTER)
(and
(part ?OUTER (OuterBoundaryFn ?ZONE))
(distance ?INNER ?OUTER ?WIDTH))))
(=>
(and
(orientation ?OBJ ?REGION Outside)
(instance ?ZONE (PerimeterAreaFn ?REGION))
(instance ?ZONE UniformPerimeterArea)
(width ?ZONE (MeasureFn ?LIMIT ?UNIT))
(distance ?OBJ ?REGION (MeasureFn ?FAR ?UNIT))
(instance ?UNIT UnitOfMeasure)
(lessThanOrEqualTo (SubtractionFn ?FAR ?LIMIT) 0))
(located ?OBJ ?ZONE))
(=>
(and
(orientation ?OBJ ?REGION Outside)
(instance ?ZONE (PerimeterAreaFn ?REGION))
(instance ?ZONE UniformPerimeterArea)
(width ?ZONE (MeasureFn ?LIMIT ?UNIT))
(distance ?OBJ ?REGION (MeasureFn ?FAR ?UNIT))
(instance ?UNIT UnitOfMeasure)
(greaterThan (SubtractionFn ?FAR ?LIMIT) 0))
(not (located ?OBJ ?ZONE)))
(=>
(and
(instance ?AREA (MaritimeClaimsTerritorialSeaFn ?PLACE))
(width ?AREA (MeasureFn ?WIDTH ?UNIT))
(distance ?OBJ ?PLACE (MeasureFn ?DISTANCE ?UNIT))
(lessThanOrEqualTo ?DISTANCE ?WIDTH))
(located ?OBJ ?AREA))
;;-----------------------------------------------------------------------
;; G. Coastline
(instance totalCoastline BinaryPredicate)
(domain totalCoastline 1 GeographicArea)
(domain totalCoastline 2 LengthMeasure)
(documentation totalCoastline EnglishLanguage "(&%totalCoastline ?AREA ?COASTLENGTH)
means that the total length of all boundaries between the &%GeographicArea
?AREA and the ocean is the &%LengthMeasure ?COASTLENGTH. The coastline
counted may be discontinuous and may even be along different oceans (as
in &%Columbia). A &%totalCoastline of zero indicates a &%LandlockedArea.
Note that only &%Ocean coastlines are counted, not any shores with inland
waters.")
(subclass LandlockedArea LandArea)
(documentation LandlockedArea EnglishLanguage "&%LandlockedArea is the class of
&%LandAreas that lack access to an &%Ocean or to a &%Waterway
providing a link to the ocean.")
(=>
(instance ?AREA LandlockedArea)
(not
(exists (?COAST)
(and
(instance ?COAST Seacoast)
(part ?COAST ?AREA)))))
(=>
(and
(instance ?AREA LandlockedArea)
(instance ?UNIT UnitOfLength))
(totalCoastline ?AREA (MeasureFn 0 ?UNIT)))
(=>
(and
(instance ?UNIT UnitOfLength)
(totalCoastline ?AREA (MeasureFn 0 ?UNIT)))
(instance ?AREA LandlockedArea))
(=>
(and
(instance ?AREA LandlockedArea)
(instance ?AREA GeopoliticalArea))
(not
(exists (?CLAIM)
(and
(instance ?CLAIM MaritimeClaimArea)
(claimedTerritory ?CLAIM ?AREA)))))
(=>
(instance ?AREA LandlockedArea)
(not
(exists (?WATER)
(and
(instance ?WATER Ocean)
(meetsSpatially ?AREA ?WATER)))))
(=>
(instance ?AREA LandlockedArea)
(not
(exists (?WATER)
(and
(instance ?WATER SaltWaterArea)
(part ?WATER ?SEA)
(instance ?SEA Ocean)
(meetsSpatially ?AREA ?WATER)))))
(=>
(instance ?AREA LandlockedArea)
(exists (?LAND)
(and
(instance ?LAND LandArea)
(meetsSpatially ?AREA ?LAND))))
;;-----------------------------------------------------------------------
;; H. Maritime claims
(instance claimedTerritory BinaryPredicate)
(domain claimedTerritory 1 GeographicArea)
(domain claimedTerritory 2 Agent)
(subrelation dependentGeopoliticalArea claimedTerritory)
(documentation claimedTerritory EnglishLanguage "(&%claimedTerritory ?AREA ?POLITY)
means that some right over the &%GeographicArea ?AREA is claimed by
the &%Agent or &%GeopoliticalArea ?POLITY. If two politically independent
states or agents claim the same area, that area is a 'disputed
territory'.")
(instance maritimeClaimType BinaryPredicate)
(instance maritimeClaimType AsymmetricRelation)
(domain maritimeClaimType 1 GeopoliticalArea)
(domainSubclass maritimeClaimType 2 MaritimeClaimArea)
(documentation maritimeClaimType EnglishLanguage "(&%maritimeClaimType ?POLITY ?TYPE)
means that the &%GeopoliticalArea ?POLITY claims rights over a
&%MaritimeClaimArea of ?TYPE.")
(=>
(and
(instance ?AREA LandlockedArea)
(subclass ?CLAIM MaritimeClaimArea))
(not (maritimeClaimType ?AREA ?CLAIM)))
(=>
(and
(maritimeClaimType ?AREA ?TYPE)
(subclass ?TYPE MaritimeClaimArea))
(exists (?CLAIM)
(and
(instance ?CLAIM ?TYPE)
(claimedTerritory ?CLAIM ?AREA))))
(=>
(and
(instance ?AREA ?TYPE)
(subclass ?TYPE MaritimeClaimArea)
(claimedTerritory ?AREA ?POLITY))
(maritimeClaimType ?POLITY ?TYPE))
;; KJN: Moving this to MILO.
;;(instance waterDepth BinaryPredicate)
;;(domain waterDepth 1 WaterArea)
;;(domain waterDepth 2 LengthMeasure)
;;(subrelation waterDepth length)
;;(documentation waterDepth EnglishLanguage "(&%waterDepth ?AREA ?LENGTH) means that the
;;depth of water at the &%Region ?AREA is ?LENGTH.")
;;(=>
;; (waterDepth ?AREA ?DEPTH)