-
Notifications
You must be signed in to change notification settings - Fork 71
/
Food.kif
executable file
·3699 lines (3145 loc) · 113 KB
/
Food.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
;; 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.
;; Authors Karen Nomorosa, Adam Pease
;; Contact Adam Pease (apease [at] articulatesoftware [dot] com).
;; Original date: April, 2011
;; 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
(subclass PreparedFoodAttribute RelationalAttribute)
(documentation PreparedFoodAttribute EnglishLanguage "&%PreparedFoodAttribute is a &%Class of
&%RelationalAttributes which describe the status in the food it is related. Members
of this class include if the food is cooked or raw, cured/fermented, caffineated or
decaf etc..")
(termFormat EnglishLanguage PreparedFoodAttribute "prepared food attribute")
(=>
(and
(instance ?A PreparedFoodAttribute)
(attribute ?F ?A))
(instance ?F Food))
(instance CookedAttribute PreparedFoodAttribute)
(relatedInternalConcept CookedAttribute RawAttribute)
(documentation CookedAttribute EnglishLanguage "&%CookedAttribute describes how something
is a product of &%Cooking and &%Heating.")
(termFormat EnglishLanguage CookedAttribute "cooked")
(=>
(attribute ?FOOD CookedAttribute)
(exists (?PROC1 ?PROC2)
(and
(instance ?PROC1 Cooking)
(instance ?PROC2 Heating)
(subProcess ?PROC2 ?PROC1)
(result ?PROC1 ?FOOD))))
(instance RawAttribute PreparedFoodAttribute)
(documentation RawAttribute EnglishLanguage "&%RawAttribute describes how heating was
not involved in the making of something.")
(termFormat EnglishLanguage RawAttribute "raw")
(=>
(attribute ?FOOD RawAttribute)
(instance ?FOOD (FoodForFn Organism)))
(=>
(attribute ?FOOD RawAttribute)
(not
(exists (?PROC)
(and
(instance ?PROC Heating)
(result ?PROC ?FOOD)))))
(instance CuredAttribute PreparedFoodAttribute)
(relatedInternalConcept CuredAttribute FermentedAttribute)
(relatedInternalConcept CuredAttribute RawAttribute)
(documentation CuredAttribute EnglishLanguage "&%CuredAttribute describes how curing is
involved in preserving &%Food.")
(termFormat EnglishLanguage CuredAttribute "cured")
(=>
(attribute ?F CuredAttribute)
(exists (?C)
(and
(instance ?C CuringFood)
(result ?C ?F))))
(subclass CuringFood Drying)
(subclass CuringFood PreservingFood)
(documentation CuringFood EnglishLanguage "&%CuringFood is the class of Process where &%Food is
preserved drawing out its water content by adding salt. Many curing processes invlove smoking, Spicing
and cooking, or adding a combination of &%Sugar, Nitrites and Nitrates.[Wikipedia]")
(termFormat EnglishLanguage CuringFood "curing food")
(=>
(instance ?C CuringFood)
(exists (?F ?P ?S)
(and
(instance ?F Food)
(patient ?C ?F)
(instance ?P Putting)
(subProcess ?P ?C)
(instance ?S SodiumChloride)
(patient ?P ?S)
(destination ?P ?F))))
(=>
(and
(instance ?C CuringFood)
(instance ?F Food)
(patient ?C ?F))
(exists (?D)
(and
(instance ?D Drying)
(subProcess ?D ?C)
(patient ?D ?F))))
(instance DryRoastAttribute PreparedFoodAttribute)
(relatedInternalConcept DryRoastAttribute CoffeeRoastAttribute)
(relatedInternalConcept DryRoastAttribute CoffeeGrindAttribute)
(documentation DryRoastAttribute EnglishLanguage "&%DryRoastAttribute describes how &%DryRoasting is
involved in preparing &%Food.")
(termFormat EnglishLanguage DryRoastAttribute "dry roast")
(=>
(attribute ?F DryRoastAttribute)
(exists (?X)
(and
(instance ?X DryRoasting)
(result ?X ?F))))
(subclass DryRoasting Cooking)
(subclass DryRoasting Heating)
(documentation DryRoasting EnglishLanguage "&%DryRoasting is a process
by which heat is applied to dry foodstuffs without the use of &%Oil or &%DrinkingWater as a carrier.
Dry-roasted foods are stirred as they are roasted to ensure even &%Heating.[Wikipedia]")
(termFormat EnglishLanguage DryRoasting "dry roasting")
(=>
(and
(instance ?X DryRoasting)
(instance ?F Food)
(patient ?X ?F))
(holdsDuring ?X
(exists (?H ?S)
(and
(instance ?H Heating)
(instance ?S Stirring)
(subProcess ?H ?X)
(subProcess ?S ?X)
(during
(WhenFn ?S)
(WhenFn ?H))
(patient ?H ?F)
(patient ?S ?F)
(not
(exists (?O ?W)
(and
(instance ?O Oil)
(instance ?W DrinkingWater)
(patient ?X ?O)
(patient ?X ?W))))))))
(instance HulledAttribute PreparedFoodAttribute)
(relatedInternalConcept HulledAttribute FermentedAttribute)
(relatedInternalConcept HulledAttribute RawAttribute)
(documentation HulledAttribute EnglishLanguage "&%HulledAttribute describes how &%Hulling is
involved in preparing &%Food.")
(termFormat EnglishLanguage DryRoastAttribute "hulled")
(=>
(attribute ?F HulledAttribute)
(exists (?X)
(and
(instance ?X Hulling)
(result ?X ?F))))
(subclass Hulling Cooking)
(subclass Hulling Peeling)
(documentation Hulling EnglishLanguage "&%Hulling is a process by which the outer
covering of a fruit or seed, especially the pod of peas and beans, or the
husk of grain is removed.[Wikipedia]")
(termFormat EnglishLanguage Hulling "hulling")
(=>
(and
(instance ?H Hulling)
(patient ?H ?O))
(or
(instance ?O Seed)
(instance ?O Fruit)))
;; Maybe add the definitions for Nitrites and Nitrates
(subclass PreservingFood Keeping)
(relatedInternalConcept PreservingFood Freezing)
(documentation PreservingFood EnglishLanguage "&%PreservingFood is the class of Process where &%Food
is prevented from &%ChemicalDecomposition. Some methods of preserving food are &%CuringFood, smoking
and &%Freezing")
(termFormat EnglishLanguage PreservingFood "preserving food")
(=>
(and
(instance ?P PreservingFood)
(instance ?F Food)
(patient ?P ?F))
(hasPurpose ?P
(not
(exists (?D)
(and
(instance ?D ChemicalDecomposition)
(patient ?D ?F))))))
(subclass Fermentation PreservingFood)
(instance FermentedAttribute PreparedFoodAttribute)
(relatedInternalConcept FermentedAttribute RawAttribute)
(documentation FermentedAttribute EnglishLanguage "&%FermentedAttribute describes how &%Fermentation is
involved in the making of something.")
(termFormat EnglishLanguage FermentedAttribute "fermented")
(=>
(attribute ?FOOD FermentedAttribute)
(exists (?F)
(and
(instance ?F Fermentation)
(result ?F ?FOOD))))
(subclass DrinkingWater PreparedFood)
(names "potable water" DrinkingWater)
(subclass SparklingWater DrinkingWater)
(documentation SparklingWater EnglishLanguage "&%SparklingWater is the class of &%DrinkingWater made
with added carbon dioxide gas.")
(termFormat EnglishLanguage SparklingWater "sparkling water")
(=>
(instance ?S SparklingWater)
(exists (?P ?W ?CD)
(and
(instance ?P Putting)
(instance ?W DrinkingWater)
(destination ?P ?CD)
(instance ?CD CarbonDioxide)
(result ?P ?S)
(part ?CD ?S))))
(subclass PurifiedWater Water)
(relatedInternalConcept PurifiedWater DrinkingWater)
(documentation PurifiedWater EnglishLanguage "&%PurifiedWater is &%Water
that has been mechanically filtered or processed to
remove impurities and make it suitable for use. Distilled water was, formerly,
the most common form of purified water, but, in recent years, water is more
frequently purified by other processes including capacitive deionization,
reverse osmosis, carbon filtering, microfiltration, ultrafiltration, ultraviolet
oxidation, or electrodeionization.[Wikipedia]")
(termFormat EnglishLanguage PurifiedWater "purified water")
(=>
(instance ?PW PurifiedWater)
(exists (?R ?W ?S)
(and
(instance ?R Removing)
(origin ?R ?W)
(instance ?W Water)
(patient ?R ?S)
(instance ?S Substance)
(part ?S ?W)
(result ?R ?PW))))
(=>
(instance ?PW PurifiedWater)
(not
(exists (?S)
(and
(part ?S ?PW)
(instance ?S Substance)))))
(subclass TapWater FreshWater)
(relatedInternalConcept TapWater DrinkingWater)
(documentation TapWater EnglishLanguage "&%TapWater is &%Water from the tap. It is mostly safe
to be consumed by &%Human in some advanced countries, but it may also contain harmful substance,
such as lead which are bad for human health. It is this reason that it is not classfified under
&%DrinkingWater.")
(termFormat EnglishLanguage TapWater "tap water")
(=>
(instance ?TW TapWater)
(exists (?LM ?F)
(and
(instance ?LM WaterMotion)
(patient ?LM ?TW)
(origin ?LM ?F)
(instance ?F Faucet))))
(=>
(instance ?TW TapWater)
(modalAttribute
(instance ?TW
(FoodForFn Human)) Likely))
(subclass Meat Food)
(disjoint Meat FoodFromPlant)
(subclass FoodFromPlant Food)
(documentation FoodFromPlant EnglishLanguage "&%FoodFromPlant is the class of &%Food which are derived
from the whole or &%part of &%Plants.")
(termFormat EnglishLanguage FoodFromPlant "food from plant")
(=>
(instance ?X FoodFromPlant)
(exists (?P ?CLASS)
(and
(instance ?P
(DeadFn ?CLASS))
(part ?X ?P)
(subclass ?CLASS Plant))))
(subclass PreparedFood Food)
(subclass PreparedFood Mixture)
(documentation PreparedFood EnglishLanguage "&%PreparedFood refers to anything that
undergoes some process intended to result in an object that has &%Nutrient which can be
ingested by &%Human, normally metabolized into energy and body tissue.")
(termFormat EnglishLanguage PreparedFood "food")
(=>
(instance ?X PreparedFood)
(instance ?X (FoodForFn Human)))
(=>
(instance ?X PreparedFood)
(exists (?PROC)
(and
(instance ?PROC IntentionalProcess)
(result ?PROC ?X))))
(subclass WetBar Artifact)
(documentation WetBar EnglishLanguage "&%WetBar is a place for preparing food and
beverage that has a sink with running water")
(termFormat EnglishLanguage WetBar "wet bar")
(=>
(instance ?X WetBar)
(exists (?SINK ?OBJ)
(and
(instance ?SINK WashBasin)
(part ?SINK ?X)
(instance ?OBJ Object)
(attribute ?OBJ Flat)
(hasPurpose ?OBJ
(exists (?PREP ?FOOD)
(and
(instance ?PREP Making)
(result ?PREP ?FOOD)
(or
(instance ?FOOD PreparedFood)
(instance ?FOOD Beverage))
(eventLocated ?PREP ?OBJ))))
(part ?OBJ ?X))))
(subclass Microwave ElectricDevice)
(documentation Microwave EnglishLanguage "&%Microwave is an &%ElectricDevice that heats
food by passing an electromagnetic wave through it")
(termFormat EnglishLanguage Microwave "microwave")
(=>
(instance ?M Microwave)
(hasPurpose ?M
(exists (?FOOD ?HEATING)
(and
(instance ?FOOD PreparedFood)
(instance ?HEATING Heating)
(instrument ?HEATING ?M)
(patient ?HEATING ?FOOD)))))
(=>
(and
(instance ?M Microwave)
(attribute ?M DeviceOn))
(exists (?PROC)
(and
(instance ?PROC RadiatingElectromagnetic)
(instrument ?PROC ?M))))
(subclass ElectricCoffeeMaker ElectricDevice)
(documentation ElectricCoffeeMaker EnglishLanguage "&%ElectricCoffeeMaker is a
&%Device that makes &%Coffee")
(termFormat EnglishLanguage ElectricCoffeeMaker "coffee maker")
(=>
(instance ?C ElectricCoffeeMaker)
(hasPurpose ?C
(exists (?COFFEE ?M)
(and
(instance ?M CoffeeMaking)
(instrument ?M ?C)
(result ?M ?COFFEE)
(instance ?COFFEE Coffee)))))
(subclass Beverage PreparedFood)
(subclass Beverage Colloid)
(disjoint Meat Beverage)
(documentation Beverage EnglishLanguage "Any food, excluding water that is ingested by &%Drinking.
Note that this class is disjoint &%Meat and &%FruitOrVegetable.")
(=>
(instance ?BEV Beverage)
(attribute ?BEV Liquid))
(=>
(and
(instance ?DRINK Drinking)
(patient ?DRINK ?BEV))
(instance ?BEV Beverage))
(instance CaffeinatedAttribute PreparedFoodAttribute)
(relatedInternalConcept CaffeinatedAttribute DecafAttribute)
(documentation CaffeinatedAttribute EnglishLanguage "&%CaffeinatedAttribute describes
a food that contains &%Caffeine.")
(termFormat EnglishLanguage CaffeinatedAttribute "caffeinated")
(=>
(and
(instance ?F Food)
(attribute ?F CaffeinatedAttribute))
(exists (?CAF)
(and
(instance ?CAF Caffeine)
(piece ?CAF ?F))))
(instance DecafAttribute PreparedFoodAttribute)
(documentation DecafAttribute EnglishLanguage "&%DecafAttribute describes
a naturally caffeinated food which has its &%Caffeine removed.")
(termFormat EnglishLanguage DecafAttribute "decaf")
(=>
(and
(instance ?F Food)
(attribute ?F DecafAttribute)
(piece ?C ?F)
(instance ?C Caffeine))
(exists (?R)
(and
(instance ?R Removing)
(destination ?R ?F)
(patient ?R ?C))))
(=>
(and
(attribute ?F DecafAttribute)
(instance ?F Food))
(not
(exists (?C)
(and
(instance ?C Caffeine)
(piece ?C ?F)))))
(subclass CoffeeRoastAttribute RelationalAttribute)
(relatedInternalConcept CoffeeRoastAttribute CoffeeGrindAttribute)
(documentation CoffeeRoastAttribute EnglishLanguage "&%CoffeeRoastAttribute is a &%Class of
&%RelationalAttribute used to describe the degree of &%Heating the &%CoffeeBeans are subjected
to.")
(termFormat EnglishLanguage CoffeeRoastAttribute "coffee roast attribute")
(=>
(and
(instance ?C CoffeeBean)
(attribute ?C ?R))
(instance ?R CoffeeRoastAttribute))
(instance roastedToTemperature BinaryPredicate)
(documentation roastedToTemperature EnglishLanguage "&%roastedToTemperature is a &%BinaryRelation
linking the temperature in Celsius of the &%Object that are roasted to.")
(termFormat EnglishLanguage roastedToTemperature "roasted to temperature")
(domain roastedToTemperature 1 Food)
(domain roastedToTemperature 2 RealNumber)
(format EnglishLanguage roastedToTemperature "%2 is the temperature at which %1 is roasted to")
(=>
(and
(instance ?B Object)
(roastedToTemperature ?B ?T))
(exists (?H)
(and
(instance ?H Heating)
(patient ?H ?B)
(holdsDuring
(EndFn (WhenFn ?H))
(measure ?B (MeasureFn ?T CelsiusDegree))))))
(=>
(and
(roastedToTemperature ?B ?T)
(instance ?B CoffeeBean)
(instance ?T RealNumber))
(modalAttribute
(exists (?R)
(and
(instance ?R DryRoasting)
(patient ?R ?B))) Likely))
(instance LightRoast CoffeeRoastAttribute)
(documentation LightRoast EnglishLanguage "&%LightRoast are &%CoffeeBeans that are
roasted to between 196°C (385°F) and 205°C (401°F). [Wikipedia]")
(termFormat EnglishLanguage LightRoast "light roast")
(=>
(and
(instance ?B CoffeeBean)
(attribute ?B LightRoast)
(roastedToTemperature ?B ?T))
(and
(greaterThanOrEqualTo ?T 196)
(lessThanOrEqualTo ?T 205)))
(instance CinnamonRoast CoffeeRoastAttribute)
(documentation CinnamonRoast EnglishLanguage "&%CinnamonRoast are &%CoffeeBeans that are
roasted to around 196°C (385°F). [Wikipedia]")
(termFormat EnglishLanguage CinnamonRoast "cinnamon roast")
(=>
(and
(instance ?B CoffeeBean)
(attribute ?B CinnamonRoast)
(roastedToTemperature ?B ?T))
(approximateValue ?T 196))
(instance NewEnglandRoast CoffeeRoastAttribute)
(documentation NewEnglandRoast EnglishLanguage "&%NewEnglandRoast are &%CoffeeBeans that are
roasted to around 205°C (401°F). [Wikipedia]")
(termFormat EnglishLanguage NewEnglandRoast "New England roast")
(=>
(and
(instance ?B CoffeeBean)
(attribute ?B NewEnglandRoast)
(roastedToTemperature ?B ?T))
(approximateValue ?T 205))
(instance MediumRoast CoffeeRoastAttribute)
(documentation MediumRoast EnglishLanguage "&%MeidumRoast are &%CoffeeBeans that are
roasted to between 210°C (410°F) and 219°C (426°F). [Wikipedia]")
(termFormat EnglishLanguage MediumRoast "medium roast")
(=>
(and
(instance ?B CoffeeBean)
(attribute ?B MediumRoast)
(roastedToTemperature ?B ?T))
(and
(greaterThanOrEqualTo ?T 210)
(lessThanOrEqualTo ?T 219)))
(instance AmericanRoast CoffeeRoastAttribute)
(documentation AmericanRoast EnglishLanguage "&%AmericanRoast are &%CoffeeBeans that are
roasted to around 210°C (410°F). [Wikipedia]")
(termFormat EnglishLanguage AmericanRoast "American roast")
(=>
(and
(instance ?B CoffeeBean)
(attribute ?B AmericanRoast)
(roastedToTemperature ?B ?T))
(approximateValue ?T 210))
(instance CityRoast CoffeeRoastAttribute)
(documentation CityRoast EnglishLanguage "&%CityRoast are &%CoffeeBeans that are
roasted to around 219°C (426°F). [Wikipedia]")
(termFormat EnglishLanguage CityRoast "city roast")
(=>
(and
(instance ?B CoffeeBean)
(attribute ?B CityRoast)
(roastedToTemperature ?B ?T))
(approximateValue ?T 219))
(instance DarkRoast CoffeeRoastAttribute)
(documentation DarkRoast EnglishLanguage "&%DarkRoast are &%CoffeeBeans that are
roasted to between 225°C (437°F) and 245°C (473°F). [Wikipedia]")
(termFormat EnglishLanguage DarkRoast "dark roast")
(=>
(and
(instance ?B CoffeeBean)
(attribute ?B DarkRoast)
(roastedToTemperature ?B ?T))
(and
(greaterThanOrEqualTo ?T 225)
(lessThanOrEqualTo ?T 245)))
(instance FullyCityRoast CoffeeRoastAttribute)
(documentation FullyCityRoast EnglishLanguage "&%FullyCityRoast are &%CoffeeBeans that are
roasted to around 225°C (437°F). [Wikipedia]")
(termFormat EnglishLanguage FullyCityRoast "full city roast")
(=>
(and
(instance ?B CoffeeBean)
(attribute ?B FullyCityRoast)
(roastedToTemperature ?B ?T))
(approximateValue ?T 225))
(instance ViennaRoast CoffeeRoastAttribute)
(documentation ViennaRoast EnglishLanguage "&%ViennaRoast are &%CoffeeBeans that are
roasted to around 230°C (446°F). [Wikipedia]")
(termFormat EnglishLanguage ViennaRoast "Vienna roast")
(=>
(and
(instance ?B CoffeeBean)
(attribute ?B ViennaRoast)
(roastedToTemperature ?B ?T))
(approximateValue ?T 230))
(instance FrenchRoast CoffeeRoastAttribute)
(documentation FrenchRoast EnglishLanguage "&%FrenchRoast are &%CoffeeBeans that are
roasted to around 240°C (464°F). [Wikipedia]")
(termFormat EnglishLanguage FrenchRoast "French roast")
(=>
(and
(instance ?B CoffeeBean)
(attribute ?B FrenchRoast)
(roastedToTemperature ?B ?T))
(approximateValue ?T 240))
(instance ItalianRoast CoffeeRoastAttribute)
(documentation ItalianRoast EnglishLanguage "&%ItalianRoast are &%CoffeeBeans that are
roasted to around 245°C (473°F). [Wikipedia]")
(termFormat EnglishLanguage ItalianRoast "Italian roast")
(=>
(and
(instance ?B CoffeeBean)
(attribute ?B ItalianRoast)
(roastedToTemperature ?B ?T))
(approximateValue ?T 245))
(subclass Coffee Beverage)
(roomTempState Coffee Liquid)
(relatedInternalConcept Coffee CoffeeGrindAttribute)
(relatedInternalConcept Coffee CoffeeRoastAttribute)
(documentation Coffee EnglishLanguage "A &%Beverage which is prepared by infusing ground,
roasted coffee beans into water.")
(initialPart Coffee CoffeeBean)
(typicallyContainsPart Caffeine Coffee)
(=>
(instance ?C Coffee)
(attribute ?C CaffeinatedAttribute))
(=>
(instance ?C Coffee)
(material DrinkingWater ?C))
(=>
(subclass ?CLASS Coffee)
(initialPart CoffeeBean ?CLASS))
(subclass CoffeeMaking Cooking)
(subclass CoffeeMaking Soaking)
(subclass CoffeeMaking LiquidMotion)
(documentation CoffeeMaking EnglishLanguage "&%CoffeeMaking is a &%Class of &%Coffee
brewing methods,usually &%CoffeeGrind is steeped in hot water, then filtered out,
producing the coffee to be served.[Wikipedia].")
(termFormat EnglishLanguage CoffeeMaking "coffee making")
(=>
(instance ?CM CoffeeMaking)
(exists (?C)
(and
(instance ?C Coffee)
(result ?CM ?C))))
(=>
(instance ?CM CoffeeMaking)
(exists (?LM ?W ?CG)
(and
(subProcess ?LM ?CM)
(instance ?LM LiquidMotion)
(patient ?LM ?W)
(instance ?W DrinkingWater)
(destination ?LM ?CG)
(instance ?CG CoffeeGrind))))
(=>
(instance ?CM CoffeeMaking)
(exists (?S ?W ?CG)
(and
(subProcess ?S ?CM)
(instance ?S Soaking)
(resource ?S ?W)
(instance ?W DrinkingWater)
(patient ?S ?CG)
(instance ?CG CoffeeGrind))))
(=>
(instance ?CM CoffeeMaking)
(exists (?R ?LM ?CG ?W ?F ?C)
(and
(subProcess ?R ?CM)
(instance ?R Removing)
(origin ?R ?LM)
(instance ?LM LiquidMixture)
(part ?W ?LM)
(instance ?W DrinkingWater)
(part ?CG ?LM)
(instance ?CG CoffeeGrind)
(instrument ?R ?F)
(instance ?F Filter)
(result ?R ?C)
(instance ?C Coffee))))
(=>
(instance ?CM CoffeeMaking)
(holdsDuring ?CM
(exists (?LM ?S ?R)
(and
(instance ?LM LiquidMotion)
(instance ?S Soaking)
(instance ?R Removing)
(before
(BeginFn (WhenFn ?LM))
(BeginFn (WhenFn ?S)))
(before
(BeginFn (WhenFn ?S))
(BeginFn (WhenFn ?R)))))))
(instance optimalGrindSizeForMakingCoffee BinaryPredicate)
(relatedInternalConcept optimalGrindSizeForMakingCoffee roastedToTemperature)
(documentation EnglishLanguage optimalGrindSizeForMakingCoffee "&%optimalGrindSizeForMakingCoffee
is a &%BinaryRelation which states the optimal size of the &%CoffeeGrind for the a
particular kind of &%CoffeeMaking process.")
(domainSubclass optimalGrindSizeForMakingCoffee 1 CoffeeMaking)
(domain optimalGrindSizeForMakingCoffee 2 CoffeeGrindAttribute)
(termFormat EnglishLanguage optimalGrindSizeForMakingCoffee "optimal grind size for making coffee")
(format EnglishLanguage optimalGrindSizeForMakingCoffee "%2 is the optimal &%CoffeeGrindAttribute for %1 coffee making process")
(=>
(optimalGrindSizeForMakingCoffee ?CLASS ?A)
(exists (?CM ?COLL ?C)
(and
(instance ?CM ?CLASS)
(patient ?CM ?COLL)
(instance ?COLL Collection)
(member ?C ?COLL)
(instance ?C CoffeeGrind)
(attribute ?C ?A))))
(subclass Espresso Coffee)
(documentation Espresso EnglishLanguage "An &%Espresso is the result of &%EspressoMaking.
A single shot of espresso usually contains approximately 25-30 ml of &%DrinkingWater. &%DarkRoast
&%CoffeeBeans are usually used for making espresso coffee. Espresso is served on its own,
and is also used as the base for various other coffee drinks, including caffè latte,
cappuccino, caffè macchiato, caffè mocha, flat white, and caffè Americano.[Wikipedia]")
(termFormat EnglishLanguage Espresso "espresso")
(=>
(instance ?E Espresso)
(exists (?M)
(and
(instance ?M EspressoMaking)
(result ?M ?E))))
(=>
(instance ?E Espresso)
(exists (?W ?V)
(and
(instance ?W DrinkingWater)
(part ?W ?E)
(measure ?W
(MeasureFn ?V Liter))
(approximateValue ?V 0.03))))
(subclass Lungo Coffee)
(documentation Lungo EnglishLanguage "An &%Lungo is the result of &%EspressoMaking.
It is an expresso with twice as much as water.[Wikipedia]")
(termFormat EnglishLanguage Espresso "lungo")
(names "café allongé" Lungo)
(=>
(instance ?L Lungo)
(exists (?E ?V)
(and
(instance ?E Espresso)
(part ?E ?L)
(measure ?E
(MeasureFn ?V Liter))
(instance ?V RealNumber)
(measure ?L
(MeasureFn
(MultiplicationFn ?V 2) Liter)))))
(subclass EspressoMaking CoffeeMaking)
(subclass EspressoMaking Heating)
(documentation EspressoMaking EnglishLanguage "An &%EspressoMaking is a
&%ubclass of &%CoffeeMaking, a &%Coffee brewing method of which approximately
25-30 ml of &%DrinkingWater at abour 90 degree centigrate is forced under 900-1,000 kPa
of pressure through finely ground (&%FineGrind) &%CoffeeGrind.[Wikipedia]")
(termFormat EnglishLanguage EspressoMaking "espresso making")
(optimalGrindSizeForMakingCoffee EspressoMaking FineGrind)
(=>
(instance ?EM EspressoMaking)
(exists (?C)
(and
(result ?EM ?C)
(instance ?C Coffee))))
(=>
(instance ?EM EspressoMaking)
(holdsDuring ?EM
(exists (?H ?W ?V ?T ?LM ?P ?COLL ?K ?CG ?F ?R)
(and
(instance ?H Heating)
(patient ?H ?W)
(measure ?W (MeasureFn ?V Liter))
(approximateValue ?V 0.03)
(holdsDuring
(EndFn (WhenFn ?H))
(and
(measure ?W (MeasureFn ?T CelsiusDegree))
(approximateValue ?T 90)))
(instance ?LM LiquidMotion)
(patient ?LM ?W)
(holdsDuring ?LM
(and
(measure ?W (MeasureFn ?P (KiloFn Pascal)))
(approximateValue ?P 900)))
(destination ?LM ?COLL)
(instance ?COLL Collection)
(measure ?COLL (MeasureFn ?K Gram))
(approximateValue ?K 7.5)
(member ?COLL ?CG)
(instance ?CG CoffeeGrind)
(attribute ?CG FineGrind)
(located ?COLL ?F)
(instance ?F Filter)
(instance ?R Removing)
(instrument ?R ?F)
(patient ?R ?COLL)
(temporallyBetween
(EndFn (WhenFn ?H))
(EndFn (WhenFn ?LM))
(EndFn (WhenFn ?R)))))))
(subclass ColdBrewingCoffee CoffeeMaking)
(documentation EnglishLanguage ColdBrewingCoffee "&%ColdBrewingCoffee, also
called cold water extraction or cold pressing, is the process of steeping
coffee grounds in water at cool temperatures for an extended period.
Coarse-ground beans are soaked in water for about 12 to 24 hours. [Wikipedia]")
(termFormat EnglishLanguage ColdBrewingCoffee "cold brew coffee")
(optimalGrindSizeForMakingCoffee ColdBrewingCoffee ExtraCoarseGrind)
(=>
(instance ?C ColdBrewingCoffee)
(exists (?W)
(and
(instance ?W DrinkingWater)
(resource ?C ?W)
(measure ?W
(MeasureFn 20 CelsiusDegree)))))
(subclass FrenchPressingCoffee CoffeeMaking)
(documentation EnglishLanguage FrenchPressingCoffee "&%FrenchPressingCoffee
uses a coffee plunger to brew coffee.Plunging slowly prevents accidental
scalding of brewer and is purported to maximize the extraction of the oils
and flavonoids from the ground bean. The earliest known device was patented
in 1852 in France by Jacques-Victor Delforge and Henri-Otto Mayer.[Wikipedia]")
(termFormat EnglishLanguage FrenchPressingCoffee "French press coffee")
(optimalGrindSizeForMakingCoffee FrenchPressingCoffee CoarseGrind)
(=>
(instance ?X FrenchPressingCoffee)
(exists (?W)
(and
(instance ?W DrinkingWater)
(resource ?W ?X)
(measure ?W
(MeasureFn 90 CelsiusDegree)))))
(subclass FrenchPressPot PotOrPan)
(documentation EnglishLanguage FrenchPressPot "&%FrenchPressPot is
a coffee plunger to brew coffee.The earliest known device was patented
in 1852 in France by Jacques-Victor Delforge and Henri-Otto Mayer.[Wikipedia]")
(termFormat EnglishLanguage FrenchPressPot "French press")
(=>
(instance ?X FrenchPressPot)
(hasPurpose ?X
(exists (?CM)
(and
(instance ?CM FrenchPressingCoffee)
(instrument ?CM ?X)))))
(subclass DrippingCoffee CoffeeMaking)
(documentation DrippingCoffee EnglishLanguage "&%DrippingCoffee is pouring
hot water onto ground coffee beans, allowing it to brew. &%DrinkingWater seeps through
the ground coffee, absorbing its constituent chemical compounds, and then
passes through a filter. The used coffee grounds are retained in the filter,
while the brewed coffee is collected in a vessel such as a carafe or pot.
[wikipedia]")
(termFormat EnglishLanguage DrippingCoffee "dripping coffee")
(optimalGrindSizeForMakingCoffee DrippingCoffee MediumGrind)
(subclass PouringOverCoffee DrippingCoffee)
(documentation EnglishLanguage PouringOverCoffee "Manually brewed drip coffee is typically
referred to as &%PouringOverCoffee. [Wikipedia]")
(termFormat EnglishLanguage PouringOverCoffee "pour over coffee")
(optimalGrindSizeForMakingCoffee PouringOverCoffee MediumGrind)
(subclass AeropressingCoffee CoffeeMaking)
(documentation EnglishLanguage AeropressingCoffee "&%AeropressingCoffee is making coffee
using an AeroPress, a manual coffeemaker invented by Alan Adler. [Wikipedia]")
(termFormat EnglishLanguage AeropressingCoffee "aeropress coffee")
(optimalGrindSizeForMakingCoffee AeropressingCoffee MediumFineGrind)
(subclass Aeropress PotOrPan)
(documentation EnglishLanguage Aeropress "&%Aeropress is
a manual coffeemaker invented by Alan Adler. It consists of a cylindrical
chamber, and a plunger with an airtight silicone seal, similar to a syringe. Ground coffee beans
and water are steeped inside, then forced through a filter by pressing the plunger
through the chamber. [Wikipedia]")
(termFormat EnglishLanguage Aeropress "Aeropress")
(=>
(instance ?X Aeropress)
(hasPurpose ?X
(exists (?CM)
(and
(instance ?CM AeropressingCoffee)
(instrument ?CM ?X)))))
(subclass SiphoningCoffee CoffeeMaking)
(documentation EnglishLanguage SiphoningCoffee "&%SiphoningCoffee uses a vacuum coffee maker
whcin brews coffee using two chambers where vapor pressure and gravity produce coffee. This
type of coffee maker is also known as vac pot, siphon or syphon coffee maker,
and was invented by Loeff of Berlin in the 1830s. [Wikipedia]")
(termFormat EnglishLanguage SiphoningCoffee "siphoning coffee")
(optimalGrindSizeForMakingCoffee SiphoningCoffee MediumFineGrind)
(subclass MokaPotCoffeeMaking CoffeeMaking)
(documentation EnglishLanguage MokaPotCoffeeMaking "&%MokaPotCoffeeMaking uses a moka pot
on the stove-top or electric device. A typical moka coffee is extracted at relatively low pressures of 1
to 2 bar (100 to 200 kPa),[8] while standards for espresso coffee specify a pressure
of 9 bar (900 kPa). Therefore, moka coffee is not considered to be an espresso and
has different flavor characteristics. [Wikipedia]")
(termFormat EnglishLanguage MokaPotCoffeeMaking "Moka pot coffee making")
(optimalGrindSizeForMakingCoffee MokaPotCoffeeMaking MediumFineGrind)
(subclass MokaPot PotOrPan)
(documentation EnglishLanguage MokaPot "&%MokaPot is
a stove-top or electric coffee maker that brews coffee by passing boiling water pressurized
by steam through ground coffee. Named after the Yemeni city of Mocha, it was invented by
Alfonso Bialetti. [Wikipedia]")
(termFormat EnglishLanguage MokaPot "moka Pot")
(=>
(instance ?X MokaPot)
(hasPurpose ?X
(exists (?CM)
(and
(instance ?CM MokaPotCoffeeMaking)
(instrument ?CM ?X)))))
(subclass TurkishCoffeeMaking CoffeeMaking)
(documentation EnglishLanguage PouringOverCoffee "T&%TurkishCoffeeMaking produces Turkish coffee
which is is a style of coffee prepared by boiling, using very finely ground coffee beans without filtering
in a cezve.The coffee grounds are left in the coffee when served.[Wikipedia]")
(optimalGrindSizeForMakingCoffee TurkishCoffeeMaking ExtraFineGrind)
(subclass Crushing Impacting)
(subclass Crushing Compressing)
(subclass Crushing ShapeChange)
(relatedInternalConcept Crushing Breaking)
(documentation Crushing EnglishLanguage "&%Crushing is an &%Impacting with &%Compressing
&%Motion appled to an &%Object, causing it to be broken, thus resulted in a &%ShapeChange.")
(termFormat EnglishLanguage Crushing "crushing")
(=>
(instance ?C Crushing)
(exists (?I ?C ?O)
(and
(instance ?I Impacting)
(subProcess ?C ?I)
(instance ?C Compressing)
(patient ?I ?O)
(patient ?C ?O)
(instance ?O Object))))
(=>
(and
(instance ?C Crushing)
(patient ?C ?O)
(instance ?O Object))
(exists (?B ?SC)
(and
(instance ?B Breaking)
(causes ?C ?B)
(subProcess ?B ?SC)
(instance ?SC ShapeChange)
(patient ?B ?O)
(patient ?SC ?O))))
(=>
(and
(instance ?C Crushing)
(patient ?C ?O)
(instance ?O Object))
(exists (?SC)
(and