-
Notifications
You must be signed in to change notification settings - Fork 71
/
Transportation.kif
4237 lines (3571 loc) · 134 KB
/
Transportation.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 Transportation ;;;;
;; 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 (apease [at] articulatesoftware [dot] com).
;; 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
;; Sources:
;; This file creates terms to represent transport-related material in the
;; CIA World Fact Book 2002 (http://www.cia.gov/cia/publications/factbook/).
;; Additional concepts from Universal Joint Task List (version 4)
;; (http://www.dtic.mil/doctrine/jel/cjcsd/cjcsm/m3500_4b.pdf)
;; Additional references include: on-line Glossary of Landform and
;; Geologic Terms at http://www.statlab.iastate.edu/soils/nssh/629.htm.
;; Ontology dependencies: Merge.kif, Geography.kif, Government.kif
;;------------------------------------------------------------------------
;; Outline:
;;
;; I. Transportation concepts for CIA World Fact Book
;; A. Railways
;; B. Highways
;; C. Waterways
;; D. Pipelines
;; E. Ports and harbors
;; F. Merchant marine
;; G. Airports
;; H. Airports - with paved runways
;; J. Heliports
;; K. Transportation - note
;;
;; II. General Transportation Concepts
;; A. Translocation
;; B. Transitways
;; 1. Land Transitways
;; a. Roadways
;; b. Railways
;; 2. Water Transitways
;; 3. Air Transitways
;; 4. Pipelines
;; C. Vehicles
;; 1. Land Vehicles
;; a. Road Vehicles
;; b. Rail Vehicles
;; c. Other
;; 2. Water Vehicles
;; 3. Air Vehicles
;; D. Trafficability
;; 1. Traffic Compatibility
;; 2. Transitway State
;; E. Transit Systems and Routes
;; 1. Physical Systems
;; 2. Transit Systems
;; 3. Transit Terminals
;; 4. Transitway Junctions
;; 5. Transit Routes
;; F. Trips
;; G. Transitway Capacity
;; H. Transitway Obstacles
;; I. Traffic Regulation
;; 1. Transit Authority
;; 2. Transit Control Systems
;; 3. Transit Control Devices
;; 4. Tolls or Usage Fees
;; 5. Transportation Standards
;; J. Transportation Businesses
;; 1. Business Types
;; 2. Personnel
;; 3. Transportation Services
;;========================================================================
;; I. Transportation Concepts for CIA World Fact Book
;; A. Railways
(instance totalLengthOfRailwaySystem BinaryPredicate)
(domain totalLengthOfRailwaySystem 1 GeographicArea)
(domain totalLengthOfRailwaySystem 2 LengthMeasure)
(documentation totalLengthOfRailwaySystem EnglishLanguage
"(&%totalLengthOfRailwaySystem ?AREA ?LENGTH) means that the sum
length of all railway routes in the &%GeographicArea ?AREA
is the &%LengthMeasure ?LENGTH.")
(<=>
(totalLengthOfRailwaySystem ?AREA ?LENGTH)
(length
(KappaFn ?RAILWAYS
(and
(instance ?RAILWAYS Railway)
(located ?RAILWAYS ?AREA)))
?LENGTH))
(=>
(and
(totalLengthOfRailwaySystem ?AREA
(MeasureFn ?LENGTH Mile))
(greaterThan ?LENGTH 0))
(exists (?RAILWAY)
(and
(instance ?RAILWAY Railway)
(located ?RAILWAY ?AREA))))
(instance lengthOfElectrifiedRailway BinaryPredicate)
(domain lengthOfElectrifiedRailway 1 GeographicArea)
(domain lengthOfElectrifiedRailway 2 LengthMeasure)
(documentation lengthOfElectrifiedRailway EnglishLanguage
"(&%lengthOfElectrifiedRailway ?AREA ?LENGTH) means that the sum
length of all &%ElectrifiedRailway routes in the &%GeographicArea
?AREA is the &%LengthMeasure ?LENGTH.")
(<=>
(lengthOfElectrifiedRailway ?AREA ?LENGTH)
(length
(KappaFn ?RAILWAYS
(and
(instance ?RAILWAYS ElectrifiedRailway)
(located ?RAILWAYS ?AREA)))
?LENGTH))
(=>
(and
(lengthOfElectrifiedRailway ?AREA
(MeasureFn ?LENGTH Mile))
(greaterThan ?LENGTH 0))
(exists (?RAILWAY)
(and
(instance ?RAILWAY ElectrifiedRailway)
(located ?RAILWAY ?AREA))))
(instance lengthOfMultipleTrackRailway BinaryPredicate)
(domain lengthOfMultipleTrackRailway 1 GeographicArea)
(domain lengthOfMultipleTrackRailway 2 LengthMeasure)
(documentation lengthOfMultipleTrackRailway EnglishLanguage
"(&%lengthOfMultipleTrackRailway ?AREA ?LENGTH) means that the sum
length of all &%MultipleTrackRailway route in the &%GeographicArea
?AREA is the &%LengthMeasure ?LENGTH.")
(<=>
(lengthOfMultipleTrackRailway ?AREA ?LENGTH)
(length
(KappaFn ?RAILWAYS
(and
(instance ?RAILWAYS MultipleTrackRailway)
(located ?RAILWAYS ?AREA)))
?LENGTH))
(=>
(and
(lengthOfMultipleTrackRailway ?AREA
(MeasureFn ?LENGTH Mile))
(greaterThan ?LENGTH 0))
(exists (?RAILWAY)
(and
(instance ?RAILWAY MultipleTrackRailway)
(located ?RAILWAY ?AREA))))
(instance lengthOfBroadGaugeRailway BinaryPredicate)
(domain lengthOfBroadGaugeRailway 1 GeographicArea)
(domain lengthOfBroadGaugeRailway 2 LengthMeasure)
(documentation lengthOfBroadGaugeRailway EnglishLanguage
"(&%lengthOfBroadGaugeRailway ?AREA ?LENGTH) means that the sum length
of broad gauge railway routes in the &%GeographicArea ?AREA is the
&%LengthMeasure ?LENGTH.")
(<=>
(lengthOfBroadGaugeRailway ?AREA ?LENGTH)
(length
(KappaFn ?RAILWAYS
(and
(instance ?RAILWAYS BroadGaugeRailway)
(located ?RAILWAYS ?AREA)))
?LENGTH))
(=>
(and
(lengthOfBroadGaugeRailway ?AREA (MeasureFn ?LENGTH ?UNIT))
(instance ?UNIT UnitOfLength)
(greaterThan ?LENGTH 0))
(exists (?RAILWAY)
(and
(instance ?RAILWAY BroadGaugeRailway)
(located ?RAILWAY ?AREA))))
(instance lengthOfDualGaugeRailway BinaryPredicate)
(domain lengthOfDualGaugeRailway 1 GeographicArea)
(domain lengthOfDualGaugeRailway 2 LengthMeasure)
(documentation lengthOfDualGaugeRailway EnglishLanguage
"(&%lengthOfDualGaugeRailway ?AREA ?LENGTH) means that the sum length
of dual gauge railway routes in the &%GeographicArea ?AREA is the
&%LengthMeasure ?LENGTH.")
(<=>
(lengthOfDualGaugeRailway ?AREA ?LENGTH)
(length
(KappaFn ?RAILWAYS
(and
(instance ?RAILWAYS DualGaugeRailway)
(located ?RAILWAYS ?AREA)))
?LENGTH))
(=>
(and
(lengthOfDualGaugeRailway ?AREA (MeasureFn ?LENGTH ?UNIT))
(instance ?UNIT UnitOfLength)
(greaterThan ?LENGTH 0))
(exists (?RAILWAY)
(and
(instance ?RAILWAY DualGaugeRailway)
(located ?RAILWAY ?AREA))))
(instance lengthOfNarrowGaugeRailway BinaryPredicate)
(domain lengthOfNarrowGaugeRailway 1 GeographicArea)
(domain lengthOfNarrowGaugeRailway 2 LengthMeasure)
(documentation lengthOfNarrowGaugeRailway EnglishLanguage
"(&%lengthOfNarrowGaugeRailway ?AREA ?LENGTH) means that the sum length
of narrow gauge railway routes in the &%GeographicArea ?AREA is the
&%LengthMeasure ?LENGTH.")
(<=>
(lengthOfNarrowGaugeRailway ?AREA ?LENGTH)
(length
(KappaFn ?RAILWAYS
(and
(instance ?RAILWAYS NarrowGaugeRailway)
(located ?RAILWAYS ?AREA)))
?LENGTH))
(=>
(and
(lengthOfNarrowGaugeRailway ?AREA (MeasureFn ?LENGTH ?UNIT))
(instance ?UNIT UnitOfLength)
(greaterThan ?LENGTH 0))
(exists (?RAILWAY)
(and
(instance ?RAILWAY NarrowGaugeRailway)
(located ?RAILWAY ?AREA))))
(instance lengthOfStandardGaugeRailway BinaryPredicate)
(domain lengthOfStandardGaugeRailway 1 GeographicArea)
(domain lengthOfStandardGaugeRailway 2 LengthMeasure)
(documentation lengthOfStandardGaugeRailway EnglishLanguage
"(&%lengthOfStandardGaugeRailway ?AREA ?LENGTH) means that the sum length
of standard gauge railway routes in the &%GeographicArea ?AREA is the
&%LengthMeasure ?LENGTH.")
(<=>
(lengthOfStandardGaugeRailway ?AREA ?LENGTH)
(length
(KappaFn ?RAILWAYS
(and
(instance ?RAILWAYS StandardGaugeRailway)
(located ?RAILWAYS ?AREA)))
?LENGTH))
(=>
(and
(lengthOfStandardGaugeRailway ?AREA (MeasureFn ?LENGTH ?UNIT))
(instance ?UNIT UnitOfLength)
(greaterThan ?LENGTH 0))
(exists (?RAILWAY)
(and
(instance ?RAILWAY StandardGaugeRailway)
(located ?RAILWAY ?AREA))))
(instance lengthOfUnclassifiedGaugeRailway BinaryPredicate)
(domain lengthOfUnclassifiedGaugeRailway 1 GeographicArea)
(domain lengthOfUnclassifiedGaugeRailway 2 LengthMeasure)
(documentation lengthOfUnclassifiedGaugeRailway EnglishLanguage
"(&%lengthOfUnclassifiedGaugeRailway ?AREA ?LENGTH) means that the sum length
of railway routes in the &%GeographicArea ?AREA classified as something
other than broad, dual, narrow, or standard gauge is the &%LengthMeasure
?LENGTH.")
(<=>
(lengthOfUnclassifiedGaugeRailway ?AREA ?LENGTH)
(length
(KappaFn ?RAILWAYS
(and
(located ?RAILWAYS ?AREA)
(not
(instance ?RAILWAYS
(UnionFn StandardGaugeRailway
(UnionFn BroadGaugeRailway
(UnionFn DualGaugeRailway
NarrowGaugeRailway)))))))
?LENGTH))
(=>
(and
(lengthOfUnclassifiedGaugeRailway ?AREA (MeasureFn ?LENGTH ?UNIT))
(instance ?UNIT UnitOfLength)
(greaterThan ?LENGTH 0))
(exists (?RAILWAY)
(and
(instance ?RAILWAY Railway)
(located ?RAILWAY ?AREA))))
(subclass SubwaySystem RailTransportationSystem)
(documentation SubwaySystem EnglishLanguage "Any &%RailTransportationSystem that runs
exclusively through &%Tunnels.")
(=>
(and
(instance ?S SubwaySystem)
(routeInSystem ?P ?S))
(instance ?P Tunnel))
(=>
(instance ?X SubwaySystem)
(exists (?SURF)
(and
(surface ?SURF GeographicArea)
(orientation ?X ?SURF Below))))
(=>
(instance ?X SubwaySystem)
(hasPurpose ?X
(exists (?EV ?P)
(and
(instance ?EV Transportation)
(instance ?P Human)
(patient ?EV ?P)
(eventLocated ?EV ?X)))))
(subclass Railway LandTransitway) ;; &%Transitway is defined in Part II.
(subclass Railway StationaryArtifact)
(documentation Railway EnglishLanguage "&%Railway is the subclass of
&%LandTransitways that have rails along which &%Trains may travel.
A railway consists of the rail bed, sleepers, tracks, electric
rails, switches, sensors, lights, crossing grades, and any other
integral machinery or parts of a section of railway.")
(subclass BroadGaugeRailway Railway)
(subclass DualGaugeRailway Railway)
(subclass NarrowGaugeRailway Railway)
(subclass StandardGaugeRailway Railway)
(subclass ElectrifiedRailway Railway)
(documentation ElectrifiedRailway EnglishLanguage "&%ElectrifiedRailway is the subclass
of &%Railway representing electrified railways.")
(subclass MultipleTrackRailway Railway)
(documentation MultipleTrackRailway EnglishLanguage "&%MultipleTrackRailway is the
subclass of &%Railway whose instances consists of two or more sets of
tracks running in parallel, allowing motion in both directions along
a route without the need for sidings and delays.")
(=>
(instance ?RAIL MultipleTrackRailway)
(exists (?TRACK1 ?TRACK2)
(and
(instance ?TRACK1 RailroadTrack)
(instance ?TRACK2 RailroadTrack)
(not (equal ?TRACK1 ?TRACK2))
(part ?TRACK1 ?RAIL)
(part ?TRACK2 ?RAIL))))
(subclass RailroadTrack StationaryArtifact)
(documentation RailroadTrack EnglishLanguage "&%RailroadTrack is the class of
&%StationaryArtifacts consisting of rails laid on supports to form
a track for railway vehicles.")
(subclass TrackGauge InternalAttribute)
(documentation TrackGauge EnglishLanguage "&%TrackGauge is the collection of
attributes that characterize sections of railways, according
to the set distances between the two tracks of the &%Railway.
Precisely, the measurement of track gauge is the distance
between the inner vertical surfaces of the heads of the rails.
Track gauges include broad, dual, standard, and narrow gauges.")
(contraryAttribute BroadGauge StandardGauge NarrowGauge DualGauge)
(instance trackWidth BinaryPredicate)
(subrelation trackWidth measure)
(documentation trackWidth EnglishLanguage "The distance between the two rails
of a &%Railway.")
(domain trackWidth 1 Railway)
(domain trackWidth 2 LengthMeasure)
(instance BroadGauge TrackGauge)
(documentation BroadGauge EnglishLanguage "&%BroadGauge is the attribute of
any &%Railway that has a &%TrackGauge wider than &%StandardGauge.")
(=>
(and
(instance ?RR Railway)
(property ?RR BroadGauge)
(trackWidth ?RR
(MeasureFn ?WIDTH Meter)))
(greaterThan ?WIDTH 1.44))
(<=>
(instance ?RR BroadGaugeRailway)
(property ?RR BroadGauge))
(instance StandardGauge TrackGauge)
(documentation StandardGauge EnglishLanguage "&%StandardGauge is the attribute
of &%Railways having the standardized track width that is
used in North America and most Western European countries.
The standard is typically a distance of 4 ft., 8-1/2 inches
(1.44 meters). There is some variation within which usage is
compatible, e.g., 1.35 meters. Standard gauge originated in
England and was mandated by the U.S. Federal government for the
U.S. Transcontinental Railroad. It is also used in Canada,
Great Britain, and most of Western Europe (but not in Ireland,
or Spain and Portugal.")
(=>
(and
(instance ?RR Railway)
(property ?RR StandardGauge)
(trackWidth ?RR
(MeasureFn ?WIDTH Meter)))
(greaterThanOrEqualTo ?WIDTH 1.435))
(=>
(and
(instance ?RR Railway)
(property ?RR StandardGauge)
(trackWidth ?RR
(MeasureFn ?WIDTH Meter)))
(lessThanOrEqualTo ?WIDTH 1.44))
(<=>
(instance ?RR StandardGaugeRailway)
(property ?RR StandardGauge))
(instance NarrowGauge TrackGauge)
(documentation NarrowGauge EnglishLanguage "&%NarrowGauge is the attribute
of any &%Railway that has a &%TrackGauge narrower than
&%StandardGauge. There are several common track widths
among &%NarrowGauge railways.")
(=>
(and
(instance ?RR Railway)
(property ?RR NarrowGauge)
(trackWidth ?RR (MeasureFn ?WIDTH Meter)))
(lessThanOrEqualTo ?WIDTH 1.435))
(<=>
(instance ?RR NarrowGaugeRailway)
(property ?RR NarrowGauge))
(instance DualGauge TrackGauge)
(documentation DualGauge EnglishLanguage "&%DualGauge is the attribute of
any &%Railway that has three parallel rails, thus allowing
two different gauges of rolling stock to travel over it.")
(<=>
(instance ?RR DualGaugeRailway)
(property ?RR DualGauge))
;;----------------------------------------------------------------------
;; B. Highways
(instance totalLengthOfHighwaySystem BinaryPredicate)
(domain totalLengthOfHighwaySystem 1 GeographicArea)
(domain totalLengthOfHighwaySystem 2 LengthMeasure)
(documentation totalLengthOfHighwaySystem EnglishLanguage
"(&%totalLengthOfHighwaySystem ?AREA ?LENGTH) means that the total
length of the highway system in the &%GeographicArea ?AREA is ?LENGTH.
The figure includes both paved and unpaved roads.")
(<=>
(totalLengthOfHighwaySystem ?AREA ?LENGTH)
(length
(KappaFn ?HIGHWAYS
(and
(instance ?HIGHWAYS Roadway)
(located ?HIGHWAYS ?AREA)))
?LENGTH))
(=>
(and
(totalLengthOfHighwaySystem ?AREA (MeasureFn ?LENGTH ?UNIT))
(instance ?UNIT UnitOfLength)
(greaterThan ?LENGTH 0))
(exists (?HIGHWAY)
(and
(instance ?HIGHWAY Roadway)
(located ?HIGHWAY ?AREA))))
(=>
(and
(totalLengthOfHighwaySystem ?AREA (MeasureFn ?LENGTH ?UNIT))
(lengthOfPavedHighway ?AREA (MeasureFn ?LENGTH1 ?UNIT))
(lengthOfUnpavedHighway ?AREA (MeasureFn ?LENGTH2 ?UNIT)))
(equal ?LENGTH (AdditionFn ?LENGTH1 ?LENGTH2)))
(=>
(and
(totalLengthOfHighwaySystem ?AREA (MeasureFn ?LENGTH ?UNIT))
(lengthOfPavedHighway ?AREA (MeasureFn ?LENGTH1 ?UNIT))
(lengthOfUnpavedHighway ?AREA (MeasureFn ?LENGTH2 ?UNIT))
(instance ?UNIT UnitOfLength))
(totalLengthOfHighwaySystem ?AREA
(MeasureFn (AdditionFn ?LENGTH1 ?LENGTH2) ?UNIT)))
(=>
(and
(totalLengthOfHighwaySystem ?AREA
(MeasureFn ?TOTAL ?UNIT))
(lengthOfPavedHighway ?AREA
(MeasureFn ?PAVED ?UNIT)))
(greaterThanOrEqualTo ?TOTAL ?PAVED))
(=>
(and
(totalLengthOfHighwaySystem ?AREA
(MeasureFn ?TOTAL ?UNIT))
(lengthOfUnpavedHighway ?AREA
(MeasureFn ?UNPAVED ?UNIT)))
(greaterThanOrEqualTo ?TOTAL ?UNPAVED))
(instance lengthOfPavedHighway BinaryPredicate)
(domain lengthOfPavedHighway 1 GeographicArea)
(domain lengthOfPavedHighway 2 LengthMeasure)
(documentation lengthOfPavedHighway EnglishLanguage
"(&%lengthOfPavedHighway ?AREA ?LENGTH) means that the total length
of &%SurfacedRoadway in the &%GeographicArea ?AREA is ?LENGTH.")
(<=>
(lengthOfPavedHighway ?AREA ?LENGTH)
(length
(KappaFn ?HIGHWAYS
(and
(instance ?HIGHWAYS SurfacedRoadway)
(located ?HIGHWAYS ?AREA)))
?LENGTH))
(=>
(and
(lengthOfPavedHighway ?AREA (MeasureFn ?LENGTH ?UNIT))
(instance ?UNIT UnitOfLength)
(greaterThan ?LENGTH 0))
(exists (?HIGHWAY)
(and
(instance ?HIGHWAY SurfacedRoadway)
(located ?HIGHWAY ?AREA))))
(instance lengthOfExpresswaySystem BinaryPredicate)
(domain lengthOfExpresswaySystem 1 GeographicArea)
(domain lengthOfExpresswaySystem 2 LengthMeasure)
(documentation lengthOfExpresswaySystem EnglishLanguage
"(&%lengthOfExpresswaySystem ?AREA ?LENGTH) means that the total length
of &%Expressway in the &%GeographicArea ?AREA is ?LENGTH.")
(<=>
(lengthOfExpresswaySystem ?AREA ?LENGTH)
(length
(KappaFn ?HIGHWAYS
(and
(instance ?HIGHWAYS Expressway)
(located ?HIGHWAYS ?AREA)))
?LENGTH))
(=>
(and
(lengthOfExpresswaySystem ?AREA (MeasureFn ?LENGTH ?UNIT))
(instance ?UNIT UnitOfLength)
(greaterThan ?LENGTH 0))
(exists (?HIGHWAY)
(and
(instance ?HIGHWAY Expressway)
(located ?HIGHWAY ?AREA))))
(=>
(and
(instance ?UNIT UnitOfLength)
(lengthOfExpresswaySystem ?AREA (MeasureFn ?LENGTH1 ?UNIT))
(lengthOfPavedHighway ?AREA (MeasureFn ?LENGTH2 ?UNIT)))
(greaterThanOrEqualTo ?LENGTH2 ?LENGTH1))
(instance lengthOfUnpavedHighway BinaryPredicate)
(domain lengthOfUnpavedHighway 1 GeographicArea)
(domain lengthOfUnpavedHighway 2 LengthMeasure)
(documentation lengthOfUnpavedHighway EnglishLanguage
"(&%lengthOfUnpavedHighway ?AREA ?LENGTH) means that the total length
of &%UnsurfacedRoadway in the &%GeographicArea ?AREA is ?LENGTH.")
(<=>
(lengthOfUnpavedHighway ?AREA ?LENGTH)
(length
(KappaFn ?HIGHWAYS
(and
(instance ?HIGHWAYS UnsurfacedRoadway)
(located ?HIGHWAYS ?AREA)))
?LENGTH))
(=>
(and
(lengthOfUnpavedHighway ?AREA (MeasureFn ?LENGTH ?UNIT))
(instance ?UNIT UnitOfLength)
(greaterThan ?LENGTH 0))
(exists (?HIGHWAY)
(and
(instance ?HIGHWAY UnsurfacedRoadway)
(located ?HIGHWAY ?AREA))))
(subclass Expressway SurfacedRoadway)
(documentation Expressway EnglishLanguage "&%Expressway is the subclass of
&%SurfacedRoadways that are multiple-lane, limited-access highways
designed for rapid travel by &%MotorVehicles.")
(subclass SurfacedRoadway Roadway)
(documentation SurfacedRoadway EnglishLanguage "&%SurfacedRoadway is the subclass of
&%Roadways that have been improved by covering them with a substance
to increase the hardness and smoothness of the surface. Covering
materials include pavement, concrete, asphalt, macadam, and gravel.")
(=>
(instance ?aR SurfacedRoadway)
(attribute ?aR Paved))
(subclass UnsurfacedRoadway Roadway)
(documentation UnsurfacedRoadway EnglishLanguage "&%UnsurfacedRoadway is the subclass
of &%Roadways that have natural, unimproved surfaces of dirt or sand.")
(=>
(instance ?UR UnsurfacedRoadway)
(attribute ?UR Unpaved))
(disjoint SurfacedRoadway UnsurfacedRoadway)
;;----------------------------------------------------------------------
;; C. Waterways
(instance totalLengthOfWaterways BinaryPredicate)
(domain totalLengthOfWaterways 1 GeographicArea)
(domain totalLengthOfWaterways 2 LengthMeasure)
(documentation totalLengthOfWaterways EnglishLanguage
"(&%totalLengthOfWaterways ?AREA ?LENGTH) means that the
total length of navigable &%Waterways in the &%GeographicArea ?AREA
is the &%LengthMeasure ?LENGTH.")
(<=>
(totalLengthOfWaterways ?AREA ?LENGTH)
(length
(KappaFn ?WATERWAY
(and
(instance ?WATERWAY Waterway)
(partlyLocated ?WATERWAY ?AREA)))
?LENGTH))
(=>
(and
(totalLengthOfWaterways ?AREA (MeasureFn ?LENGTH ?UNIT))
(instance ?UNIT UnitOfLength)
(greaterThan ?LENGTH 0))
(exists (?WATERWAY)
(and
(instance ?WATERWAY Waterway)
(located ?WATERWAY ?AREA))))
;;----------------------------------------------------------------------
;; D. Pipelines
(instance totalPipelineInArea BinaryPredicate)
(domain totalPipelineInArea 1 GeographicArea)
(domain totalPipelineInArea 2 LengthMeasure)
(documentation totalPipelineInArea EnglishLanguage
"(&%totalPipelineInArea ?AREA ?LENGTH) means that the &%GeopoliticalArea
?AREA has ?LENGTH of &%Pipelines.")
(<=>
(totalPipelineInArea ?AREA ?LENGTH)
(length
(KappaFn ?PIPE
(and
(instance ?PIPE Pipeline)
(located ?PIPE ?AREA)))
?LENGTH))
(=>
(and
(totalPipelineInArea ?AREA (MeasureFn ?LENGTH ?UNIT))
(instance ?UNIT UnitOfLength)
(greaterThan ?LENGTH 0))
(exists (?PIPE)
(and
(instance ?PIPE Pipeline)
(located ?PIPE ?AREA))))
(instance lengthOfCrudeOilPipeline BinaryPredicate)
(domain lengthOfCrudeOilPipeline 1 GeographicArea)
(domain lengthOfCrudeOilPipeline 2 LengthMeasure)
(documentation lengthOfCrudeOilPipeline EnglishLanguage
"(&%lengthOfCrudeOilPipeline ?AREA ?AMOUNT) means that in the
&%GeograpicArea ?AREA there is the &%LengthMeasure ?AMOUNT of
&%CrudeOilPipeline.")
(<=>
(lengthOfCrudeOilPipeline ?AREA ?LENGTH)
(length
(KappaFn ?PIPELINE
(and
(instance ?PIPELINE CrudeOilPipeline)
(located ?PIPELINE ?AREA)))
?LENGTH))
(=>
(and
(lengthOfCrudeOilPipeline ?AREA (MeasureFn ?AMOUNT1 Meter))
(totalPipelineInArea ?AREA (MeasureFn ?AMOUNT2 Meter)))
(lessThanOrEqualTo ?AMOUNT1 ?AMOUNT2))
(instance lengthOfNaturalGasPipeline BinaryPredicate)
(domain lengthOfNaturalGasPipeline 1 GeographicArea)
(domain lengthOfNaturalGasPipeline 2 LengthMeasure)
(documentation lengthOfNaturalGasPipeline EnglishLanguage
"(&%lengthOfNaturalGasPipeline ?AREA ?AMOUNT) means that in the
&%GeograpicArea ?AREA there is the &%LengthMeasure ?AMOUNT of
&%NaturalGasPipeline.")
(<=>
(lengthOfNaturalGasPipeline ?AREA ?LENGTH)
(length
(KappaFn ?PIPELINE
(and
(instance ?PIPELINE NaturalGasPipeline)
(located ?PIPELINE ?AREA)))
?LENGTH))
(=>
(and
(lengthOfNaturalGasPipeline ?AREA (MeasureFn ?AMOUNT1 Meter))
(totalPipelineInArea ?AREA (MeasureFn ?AMOUNT2 Meter)))
(lessThanOrEqualTo ?AMOUNT1 ?AMOUNT2))
(instance lengthOfPetroleumProductPipeline BinaryPredicate)
(domain lengthOfPetroleumProductPipeline 1 GeographicArea)
(domain lengthOfPetroleumProductPipeline 2 LengthMeasure)
(documentation lengthOfPetroleumProductPipeline EnglishLanguage
"(&%lengthOfPetroleumProductPipeline ?AREA ?AMOUNT) means that in the
&%GeograpicArea ?AREA there is the &%LengthMeasure ?AMOUNT of
&%PetroleumProductPipeline.")
(<=>
(lengthOfPetroleumProductPipeline ?AREA ?LENGTH)
(length
(KappaFn ?PIPELINE
(and
(instance ?PIPELINE PetroleumProductPipeline)
(located ?PIPELINE ?AREA)))
?LENGTH))
(=>
(and
(lengthOfPetroleumProductPipeline ?AREA (MeasureFn ?AMOUNT1 Meter))
(totalPipelineInArea ?AREA (MeasureFn ?AMOUNT2 Meter)))
(lessThanOrEqualTo ?AMOUNT1 ?AMOUNT2))
(subclass Pipeline Transitway)
(documentation Pipeline EnglishLanguage "&%Pipeline is the class of &%Transitways used
to transport various kinds of fluids.")
(=>
(and
(instance ?PIPE Pipeline)
(instance ?MOTION Motion)
(instrument ?MOTION ?PIPE)
(patient ?MOTION ?STUFF))
(instance ?STUFF (ExtensionFn Fluid)))
(subclass SewageSystem Pipeline)
(documentation SewageSystem EnglishLanguage "A &%Pipline which is used to transport human
waste to an area where it can be treated and/or disposed of.")
(=>
(and
(instance ?T Transportation)
(patient ?T ?S)
(instrument ?T ?SS)
(instance ?SS SewageSystem))
(instance ?S Sewage))
(subclass CrudeOilPipeline Pipeline)
(documentation CrudeOilPipeline EnglishLanguage "&%CrudeOilPipeline is the subclass of
&%Pipelines that are used to carry &%CrudeOil.")
(=>
(and
(instance ?PIPE CrudeOilPipeline)
(instance ?MOTION Motion)
(instrument ?MOTION ?PIPE)
(patient ?MOTION ?OIL))
(instance ?OIL Petroleum))
(subclass NaturalGasPipeline Pipeline)
(documentation NaturalGasPipeline EnglishLanguage "&%NaturalGasPipeline is the subclass
of &%Pipelines that are used to carry &%NaturalGas.")
(=>
(and
(instance ?PIPE NaturalGasPipeline)
(instance ?MOTION Motion)
(instrument ?MOTION ?PIPE)
(patient ?MOTION ?GAS))
(instance ?GAS NaturalGas))
(subclass PetroleumProductPipeline Pipeline)
(documentation PetroleumProductPipeline EnglishLanguage
"&%PetroleumProductPipeline is the subclass of &%Pipelines that are
used to carry &%PetroleumProducts.")
(=>
(and
(instance ?PIPE PetroleumProductPipeline)
(instance ?MOTION Motion)
(instrument ?MOTION ?PIPE)
(patient ?MOTION ?STUFF))
(instance ?STUFF PetroleumProduct))
;;----------------------------------------------------------------------
;; E. Ports and harbors
(subclass PortCity City)
(documentation PortCity EnglishLanguage "A &%City near a &%WaterArea.")
(termFormat EnglishLanguage PortCity "port city")
(=>
(instance ?PORT PortCity)
(exists (?SEA)
(and
(or
(instance ?SEA Sea)
(instance ?SEA Ocean))
(or
(orientation ?PORT ?SEA Adjacent)
(orientation ?PORT ?SEA Near)))))
(subclass RiverPort PortCity)
(documentation RiverPort EnglishLanguage "&%RiverPort is the subclass of &%PortCity
whose instances are port cities &%Adjacent to a navigable &%River.")
(=>
(instance ?PORT RiverPort)
(exists (?RIVER)
(and
(instance ?RIVER River)
(instance ?RIVER Waterway)
(meetsSpatially ?PORT ?RIVER))))
(=>
(meetsSpatially ?OBJECT1 ?OBJECT2)
(orientation ?OBJECT1 ?OBJECT2 Adjacent))
(subclass SeaPort PortCity)
(documentation SeaPort EnglishLanguage "&%SeaPort is the subclass of &%PortCity
whose instances are port cities on or closely linked to a &%Sea or
&%Ocean.")
(=>
(instance ?PORT SeaPort)
(exists (?SEA)
(and
(or
(instance ?SEA Sea)
(instance ?SEA Ocean))
(or
(orientation ?PORT ?SEA Adjacent)
(orientation ?PORT ?SEA Near)))))
(subclass ContainerPort PortCity)
(relatedInternalConcept ContainerPort ContainerShip)
(subclass DeepDraftPort PortCity)
(=>
(instance ?PORT DeepDraftPort)
(exists (?HARBOR)
(and
(instance ?HARBOR DeepDraftHarbor)
(geographicSubregion ?HARBOR ?PORT))))
(subclass DeepDraftHarbor Harbor)
(documentation DeepDraftHarbor EnglishLanguage "&%DeepDraftHarbor is the subclass
of &%Harbors that have a &%waterDepth sufficient to accommodate
vessels of a &%ladenDraft of 45 feet (13.7 meters) or greater.")
(=>
(instance ?HARBOR DeepDraftHarbor)
(navigableForDraft ?HARBOR (MeasureFn 13.7 Meter)))
(=>
(instance ?HARBOR DeepDraftHarbor)
(navigableForDraft ?HARBOR (MeasureFn 45 FootLength)))
(subclass DeepwaterPort PortFacility)
(documentation DeepwaterPort EnglishLanguage "&%DeepwaterPort is the subclass of
&%PortFacility whose instances meet the criteria defined under 33 U.S.C. section 1502(1) as 'any fixed or floating man-made structures other than
a vessel, or any group of such structures, located beyond the territorial
sea and off the coast of the United States and which are used or intended
for use as a port or terminal for the loading or unloading and further
handling of oil for transportation to any State.... The term includes all associated components and equipment including pipelines, pumping stations, service platforms, mooring buoys, and similar appurtenances to the extent
they are located seaward of the high water mark.'")
(subclass Harbor WaterArea)
(documentation Harbor EnglishLanguage "&%Harbor is the subclass of &%WaterAreas that
provide shelter and anchorage for &%WaterVehicle.")
(subclass Anchorage WaterArea)
(documentation Anchorage EnglishLanguage "&%Anchorage is the subclass of &%WaterAreas
where &%WaterVehicle may anchor with some shelter or safety. Anchorages
may be inside a &%Harbor or offshore.")
(subclass OffshoreAnchorage Anchorage)
(documentation OffshoreAnchorage EnglishLanguage "&%OffshoreAnchorage is the subclass
of &%Anchorages that are located offshore and not within a &%Harbor.")
(=>
(instance ?ANCHOR OffshoreAnchorage)
(not
(exists (?HARBOR)
(and
(instance ?HARBOR Harbor)
(located ?ANCHOR ?HARBOR)))))
(subclass PortFacility GeopoliticalArea)
(documentation PortFacility EnglishLanguage "&%PortFacility is the class of port
complexes, including piers and docking space, moorings, cargo-handling
and other support facilities for marine traffic. Ships are loaded and
unloaded at a &%PortFacility.")
;; FUNCTION:
(instance PortFacilityFn UnaryFunction)
(domain PortFacilityFn 1 PortCity)
(range PortFacilityFn PortFacility)
(documentation PortFacilityFn EnglishLanguage "(&%PortFacilityFn ?CITY) denotes the
&%PortFacility, including mooring areas, docking space, and on-land
support facilities for marine traffic, of the &%Port ?CITY, considered
as a whole.")
;;----------------------------------------------------------------------
;; F. Merchant marine
(subclass MerchantMarine Collection)
(documentation MerchantMarine EnglishLanguage "&%MerchantMarine is a class of
&%Collections of &%Ships, each collection belonging to a particular
&%Nation or &%GeopoliticalArea, in whose &%ShipRegister the member
ships are enrolled. For example, the merchant marine of &%France.")
;; FUNCTION:
(instance MerchantMarineFn UnaryFunction)
(domain MerchantMarineFn 1 GeopoliticalArea)
(range MerchantMarineFn MerchantMarine)
(documentation MerchantMarineFn EnglishLanguage "(&%MerchantMarineFn ?AREA) denotes
the &%Collection of all commercial ships registered in the
&%ShipRegister of the &%GeopoliticalArea ?AREA.")
(=>
(and
(instance ?AREA GeopoliticalArea)
(member ?SHIP (MerchantMarineFn ?AREA)))
(instance ?SHIP MerchantMarineShip))
(=>
(and
(instance ?AREA GeopoliticalArea)
(instance (MerchantMarineFn ?AREA) MerchantMarine))
(possesses ?AREA (MerchantMarineFn ?AREA)))
(instance fleetGrossRegisteredTonnage BinaryPredicate)
(domain fleetGrossRegisteredTonnage 1 Collection)
(domain fleetGrossRegisteredTonnage 2 PhysicalQuantity)
(subrelation fleetGrossRegisteredTonnage measure)
(documentation fleetGrossRegisteredTonnage EnglishLanguage
"(&%fleetGrossRegisteredTonnage ?FLEET ?AMOUNT) means that the
&%Collection of &%Ships ?FLEET has a total carrying capacity of ?AMOUNT
in &%RegistryTons. This is the total &%vesselGrossRegisteredTonnage of
all the vessels combined. Gross Registered Tonnage, or GRT, is the
capacity of a vessel calculated on an equivalence of 100 cubic feet of
sheltered area per ton.")
(=>
(and
(instance ?UNIT UnitOfMass)
(fleetGrossRegisteredTonnage ?FLEET (MeasureFn ?NUMBER ?UNIT)))
(equal ?UNIT RegistryTon))