-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathTransportDetail.kif
182 lines (156 loc) · 5.52 KB
/
TransportDetail.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
;; ============================================================================
;; REARDEN COMMERCE, INC.
;; Business Establishment Services and Facilities Ontology
;; ============================================================================
;; Created by: Karen Joy Nomorosa (karen.nomorosa [at] reardencommerce [dot] com)
;; Created on: March 10, 2011
;; Version: 1.0
;; Last modified: March 20, 2011
;; Modified by: Karen Joy Nomorosa (karen.nomorosa [at] reardencommerce [dot] com)
;; Description: This ontology describes different concepts related to transportation
;; and parking
;; Ontology dependencies for TransportDetail.kif: Merge.kif, Mid-level-ontology.kif,
;; Transportation.kif
;; 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.
;; 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
(subclass ParkingRegion Region)
(documentation ParkingRegion EnglishLanguage "A &%ParkingRegion is a &%Region where
&%TransportationDevice is kept temporarily")
(termFormat EnglishLanguage ParkingRegion "parking area")
(=>
(instance ?PARK ParkingRegion)
(hasPurpose ?PARK
(and
(playsRoleInEvent ?PARK destination ?EVENT)
(playsRoleInEvent ?TD patient ?EVENT)
(instance ?TD TransportationDevice))))
(subclass DisabledParking ParkingRegion)
(documentation DisabledParking EnglishLanguage "&%DisabledParking is a &%ParkingRegion
that is reserved for people bearing the Disabled Placard")
(termFormat EnglishLanguage DisabledParking "disabled parking")
(=>
(and
(instance ?PARK DisabledParking)
(instance ?AGENT Human)
(attribute ?AGENT ?ATTR)
(instance ?ATTR Disability))
(hasPurposeForAgent ?PARK
(and
(playsRoleInEvent ?PARK destination ?EVENT)
(playsRoleInEvent ?TD patient ?EVENT)
(instance ?TD TransportationDevice)) ?AGENT))
(subclass StreetParking ParkingRegion)
(documentation StreetParking EnglishLanguage "&%StreetParking refers to &%ParkingRegion that is
&%located on a &%Street")
(termFormat EnglishLanguage StreetParking "street parking")
(=>
(instance ?PARK StreetParking)
(exists (?STREET)
(and
(instance ?STREET Street)
(orientation ?PARK ?STREET On))))
(subclass ParkingLot GeographicArea)
(documentation ParkingLot EnglishLanguage "A &%ParkingLot is a &%GeographicArea that contains
&%greaterThan one [1] &%ParkingRegion")
(termFormat EnglishLanguage ParkingLot "Parking Lot")
(=>
(instance ?PARK ParkingLot)
(exists (?C ?N)
(and
(located ?C ?PARK)
(forall (?SLOT)
(=>
(member ?SLOT ?C)
(instance ?SLOT ParkingRegion)))
(memberCount ?C ?N)
(greaterThan ?N 1))))
;; (subclass ParkingGarage Building) ---> can be found in Transportation.kif
(documentation ParkingGarage EnglishLanguage "a &%ParkingGarage is a type of &%Building with a
&%ParkingLot located in it")
(=>
(instance ?PARK ParkingGarage)
(exists (?LOT)
(and
(instance ?LOT ParkingLot)
(located ?LOT ?PARK))))
;; Axiom for "Private Parking"
(=>
(and
(possesses ?BUS ?PARK)
(instance ?BUS CommercialAgent)
(instance ?PARK ParkingLot)
(instance ?BLDG Building)
(located ?BUS ?BLDG)
(customer ?BUS ?CUST)
(holdsDuring ?T
(located ?CUST ?BLDG))
(instance ?DRIVE Driving)
(patient ?DRIVE ?VEHICLE)
(agent ?DRIVE ?CUST)
(destination ?DRIVE ?BLDG))
(holdsDuring ?T
(confersRight
(and
(instance ?PUT Keeping)
(destination ?PUT ?PARK)
(patient ?PUT ?VEHICLE)) ?BUS ?CUST)))
(subclass Valet ServicePosition)
(documentation Valet EnglishLanguage "a %&Valet is a person whose primary occupation
it is to park cars for people")
(termFormat EnglishLanguage Valet "valet")
(=>
(attribute ?H Valet)
(occupation ?H (OccupationFn Driving)))
(=>
(attribute ?H Valet)
(hasPurpose ?H
(and
(instance ?VEHICLE Vehicle)
(instance ?PUT Putting)
(destination ?PUT ?PARK)
(instance ?PARK ParkingRegion)
(patient ?PUT ?VEHICLE)
(agent ?PUT ?H))))
(subclass ValetParking ServiceProcess)
(documentation ValetParking EnglishLanguage "&%ValetParking refers to the process of
having a service employee of an establishment park a customer's car for him or her")
(termFormat EnglishLanguage ValetParking "valet parking")
(=>
(capability ValetParking agent ?AGENT)
(exists (?VALET)
(occupiesPosition ?VALET Valet ?AGENT)))
(=>
(and
(capability ValetParking agent ?AGENT)
(customer ?CUST ?AGENT)
(located ?AGENT ?LOC)
(instance ?D Arriving)
(agent ?D ?CUST)
(patient ?D ?VEHICLE)
(destination ?D ?LOC))
(and
(occupiesPosition ?VALET Valet ?AGENT)
(modalAttribute
(exists (?VP)
(and
(instance ?VP ValetParking)
(agent ?VP ?VALET)
(patient ?VP ?VEHICLE)
(destination ?VP ?PARK)
(instance ?PARK ParkingRegion))) Possibility )))
(=>
(and
(instance ?VP ValetParking)
(patient ?VP ?VEHICLE)
(instance ?A Arriving)
(patient ?A ?VEHICLE))
(meetsTemporally
(EndFn (WhenFn ?A))
(BeginFn (WhenFn ?VP))))