-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathontologia.clp
279 lines (226 loc) · 5.35 KB
/
ontologia.clp
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
;;; ---------------------------------------------------------
;;; ontologia.clp
;;; Translated by owl2clips
;;; Translated to CLIPS from ontology ontologia.owl
;;; :Date 18/12/2022 17:14:48
(defclass Exercici
(is-a USER)
(role concrete)
(pattern-match reactive)
(slot es_realitza
(type INSTANCE)
(create-accessor read-write))
(slot nom
(type STRING)
(create-accessor read-write))
)
(defclass Equilibri
(is-a Exercici)
(role concrete)
(pattern-match reactive)
)
(defclass Flexibilitat
(is-a Exercici)
(role concrete)
(pattern-match reactive)
)
(defclass Fortalesa
(is-a Exercici)
(role concrete)
(pattern-match reactive)
)
(defclass Resistencia
(is-a Exercici)
(role concrete)
(pattern-match reactive)
)
(defclass Patologia
(is-a USER)
(role concrete)
(pattern-match reactive)
(slot nom
(type STRING)
(create-accessor read-write))
)
(defclass Persona
(is-a USER)
(role concrete)
(pattern-match reactive)
(multislot pateix
(type INSTANCE)
(create-accessor read-write))
(slot edat
(type INTEGER)
(create-accessor read-write))
(slot nivell_equilibri
(type INTEGER)
(create-accessor read-write))
(slot nivell_flexibilitat
(type INTEGER)
(create-accessor read-write))
(slot nivell_forca
(type INTEGER)
(create-accessor read-write))
(slot nivell_resistencia
(type INTEGER)
(create-accessor read-write))
(slot nom
(type STRING)
(create-accessor read-write))
)
(defclass Realitzacio
(is-a USER)
(role concrete)
(pattern-match reactive)
(slot duracio
(type INTEGER)
(create-accessor read-write))
(multislot intensitat
(type STRING)
(create-accessor read-write))
)
(defclass Solucio
(is-a USER)
(role concrete)
(pattern-match reactive)
(multislot composta_per
(type INSTANCE)
(create-accessor read-write))
(slot dia_solucio
(type INTEGER)
(create-accessor read-write))
(slot temps_restant
(type INTEGER)
(create-accessor read-write))
)
(definstances instances
([Aixecament_lateral_cama] of Equilibri
(nom "Aixecament lateral de cames")
)
([Aixecar-se_cadira] of Fortalesa
(nom "Aixecar-se d'una cadira")
)
([Aixecar_bracos] of Fortalesa
(nom "Aixecar bracos lateralment")
)
([Artritis] of Patologia
(nom "Artritis")
)
([Caminar] of Resistencia
(nom "Caminar")
)
([Cancer] of Patologia
(nom "Cancer")
)
([Cardiovascular] of Patologia
(nom "Cardiovascular")
)
([Correr] of Resistencia
(nom "Correr")
)
([Dansa] of Resistencia
(nom "Dansa")
)
([Depressio] of Patologia
(nom "Depressio")
)
([Diabetis] of Patologia
(nom "Diabetis")
)
([Estirament_bessons] of Flexibilitat
(nom "Estirament de bessons")
)
([Estirament_canell] of Flexibilitat
(nom "Estirament de canell")
)
([Estirament_quadriceps] of Flexibilitat
(nom "Estirament de quadriceps")
)
([Estirament_triceps] of Flexibilitat
(nom "Estirament de triceps")
)
([Estirament_turmell] of Flexibilitat
(nom "Estirament de turmell")
)
([Exercicis_biceps] of Fortalesa
(nom "Exercicis de biceps")
)
([Exercicis_equilibri] of Equilibri
(nom "Exercicis d'equilibri")
)
([Extensio_genoll] of Fortalesa
(nom "Extensio de genoll")
)
([Extensio_maluc] of Equilibri
(nom "Extensio de maluc")
)
([Extensio_triceps] of Fortalesa
(nom "Extensio de triceps")
)
([Felxio_plantar] of Equilibri
(nom "Flexio plantar")
)
([Flexio_espatlla] of Fortalesa
(nom "Flexio d'espatlla")
)
([Flexio_genoll] of Equilibri
(nom "Flexio de genoll")
)
([Flexio_maluc] of Equilibri
(nom "Flexio de maluc")
)
([Fragilitat] of Patologia
(nom "Fragilitat")
)
([Hipertensio] of Patologia
(nom "Hipertensio")
)
([Malaltia_pulmonar] of Patologia
(nom "Malaltia pulmonar")
)
([Natacio] of Resistencia
(nom "Natacio")
)
([Osteoporosi] of Patologia
(nom "Osteoporosi")
)
([Pedalar] of Resistencia
(nom "Pedalar")
)
([Pujar_escales] of Resistencia
(nom "Pujar escales")
)
([Remar] of Resistencia
(nom "Remar")
)
([ResistenciaAlt] of Realitzacio
(duracio 40)
)
([ResistenciaBaix] of Realitzacio
(duracio 20)
)
([ResistenciaModerat] of Realitzacio
(duracio 30)
)
([Rotacio_doble_maluc] of Flexibilitat
(nom "Rotacio doble de maluc")
)
([Rotacio_espatlla] of Flexibilitat
(nom "Rotacio d'espatlla")
)
([Rotacio_simple_maluc] of Flexibilitat
(nom "Rotacio simple de maluc")
)
([SeriesAlt] of Realitzacio
(duracio 7)
)
([SeriesBaix] of Realitzacio
(duracio 3)
)
([SeriesModerat] of Realitzacio
(duracio 5)
)
([Sobrepes] of Patologia
(nom "Sobrepes")
)
)