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
/
Food.kif
executable file
·1100 lines (888 loc) · 31.9 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 (adam.pease [at] reardencommerce [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
;; KJN: Moving PreparedFood definitions to Mid-level-ontology.kif as it is more of a
;; general concept that can be reused in a lot of different domains
;;(subclass PreparedFood Object)
;;(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 &%Animal, normally metabolized into energy and body tissue.")
;;(termFormat EnglishLanguage PreparedFood "food")
;;(=>
;; (instance ?X PreparedFood)
;; (instance ?X (FoodForFn Organism)))
;;(=>
;; (instance ?X PreparedFood)
;; (exists (?PROC)
;; (and
;; (instance ?PROC IntentionalProcess)
;; (result ?PROC ?X))))
;;(subclass SolidFood PreparedFood)
;;(documentation SolidFood EnglishLanguage "&%SolidFood refers to &%PreparedFood that
;;has &%Solid parts.")
;;(termFormat EnglishLanguage SolidFood "solid food")
;;(=>
;; (instance ?X SolidFood)
;; (exists (?ING)
;; (and
;; (part ?ING ?X)
;; (attribute ?ING Solid))))
;;(subclass LiquidFood PreparedFood)
;;(documentation LiquidFood EnglishLanguage "&%LiquidFood refers to &%PreparedFood that
;;has no &%Solid parts, only &%Liquid parts, therefore this does not cover stews, root
;;beer floats or other combinations of solid and liquid foods.")
;;(termFormat EnglishLanguage LiquidFood "liquid food")
;;(=>
;; (instance ?X LiquidFood)
;; (not
;; (exists (?ING)
;; (and
;; (part ?ING ?X)
;; (attribute ?ING Solid)))))
;;(subclass Beverage LiquidFood)
;;(instance CookedAttribute RelationalAttribute)
;;(documentation CookedAttribute EnglishLanguage "&%CookedAttribute describes how something
;;is a product of &%Cooking.")
;;(termFormat EnglishLanguage CookedAttribute "cooked")
;;(=>
;; (attribute ?FOOD CookedAttribute)
;; (exists (?PROC)
;; (and
;; (instance ?PROC Cooking)
;; (result ?PROC ?FOOD))))
;;(instance RawAttribute RelationalAttribute)
;;(documentation RawAttribute EnglishLanguage "&%RawAttribute describes how cooking 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 Cooking)
;; (result ?PROC ?FOOD)))))
(subrelation ingredient material)
(documentation ingredient EnglishLanguage "(&%ingredient ?ING ?FOOD) means that ?ING
is a material that makes up ?FOOD")
(termFormat EnglishLanguage ingredient "ingredient")
(domainSubclass ingredient 1 SelfConnectedObject)
(domainSubclass ingredient 2 PreparedFood)
(=>
(ingredient ?ING ?FOOD)
(exists (?PROC ?X ?Y)
(and
(instance ?PROC Process)
(instance ?X ?ING)
(patient ?PROC ?X)
(instance ?Y ?ING)
(result ?PROC ?Y))))
(instance ingredientAmount TernaryRelation)
(documentation ingredientAmount EnglishLanguage "(&%ingredientAmount ?ING ?FOOD ?AMT
means that ?AMT of ?ING is used to make ?FOOD")
(termFormat EnglishLanguage ingredientAmount "amount of ingredient")
(domainSubclass ingredientAmount 1 SelfConnectedObject)
(domainSubclass ingredientAmount 2 SelfConnectedObject)
(domain ingredientAmount 3 PhysicalQuantity)
(=>
(ingredientAmount ?ING ?FOOD ?AMT)
(exists (?PROC ?X ?Y)
(and
(instance ?X ?ING)
(measure ?X ?AMT)
(instance ?Y ?FOOD)
(instance ?PROC Process)
(patient ?PROC ?X)
(result ?PROC ?Y))))
;; ----------------------------------------------------------------------------
;; Meals
;; ----------------------------------------------------------------------------
(subclass Meal Collection)
(documentation Meal EnglishLanguage "&%Meal refers to a &%Collection of (%&FoodForFn
&%Human) that is eaten at one time")
(termFormat EnglishLanguage Meal "meal")
(=>
(instance ?X Meal)
(forall (?ITEM)
(=>
(member ?ITEM ?X)
(instance ?ITEM (FoodForFn Human)))))
;; a meal is meant to be eaten
(=>
(instance ?X Meal)
(hasPurpose ?X
(exists (?E)
(and
(instance ?E Eating)
(patient ?E ?X)))))
;; decided to make breakfast, etc. an attribute because the same instances of food,
;; for instance, can be breakfast, lunch, or dinner, depending on what time you eat it
;; also, it allows us to attach the attribute to food instances (such as 'breakfast food')
;; or to a menu (such as 'breakfast menu'), or to a buffet (such as 'brunch buffet')
(instance Breakfast RelationalAttribute)
(documentation Breakfast EnglishLanguage "&%Breakfast describes food that is
usually the first meal of the day, eaten during the morning")
(termFormat EnglishLanguage Breakfast "breakfast")
;; breakfast meal is typically eaten in the morning
(=>
(and
(instance ?X Meal)
(attribute ?X Breakfast)
(instance ?E Eating)
(patient ?E ?X))
(modalAttribute
(and
(during (WhenFn ?E) ?TIME)
(instance ?TIME BreakfastTime)) Likely))
(subAttribute ContinentalBreakfast Breakfast)
(documentation ContinentalBreakfast EnglishLanguage "&%ContinentalBreakfast refers to
food that is normally served during &%BreakfastTime in &%NorthAmerica or &%Europe")
(termFormat EnglishLanguage ContinentalBreakfast "continental breakfast")
(=>
(attribute ?MEAL ContinentalBreakfast)
(or
(equal ContinentalBreakfast (MealAttributeFn ?MEAL NorthAmerica))
(equal ContinentalBreakfast (MealAttributeFn ?MEAL Europe))))
(instance Lunch RelationalAttribute)
(documentation Lunch EnglishLanguage "&%Lunch refers to something that is usually eaten
mid-day")
(termFormat EnglishLanguage Lunch "lunch")
(=>
(and
(instance ?X Meal)
(attribute ?X Lunch)
(instance ?E Eating)
(patient ?E ?X))
(modalAttribute
(and
(during (WhenFn ?E) ?TIME)
(instance ?TIME LunchTime)) Likely))
(instance Dinner RelationalAttribute)
(documentation Dinner EnglishLanguage "&%Dinner refers to something that is typically
eaten during the evening")
(termFormat EnglishLanguage Dinner "dinner")
(=>
(and
(instance ?X Meal)
(attribute ?X Dinner)
(instance ?E Eating)
(patient ?E ?X))
(modalAttribute
(and
(during (WhenFn ?E) ?TIME)
(instance ?TIME DinnerTime)) Likely))
(instance HighTea RelationalAttribute)
(documentation HighTea EnglishLanguage "&%HighTea refers to something eaten mid-day that
consists of light snacks and tea")
(termFormat EnglishLanguage HighTea "high tea")
(=>
(and
(instance ?X Meal)
(attribute ?X HighTea))
(exists (?TEA)
(and
(instance ?TEA Tea)
(member ?TEA ?X))))
(instance Brunch RelationalAttribute)
(documentation Brunch EnglishLanguage "&%Brunch refers the combination of breakfast
and lunch")
(termFormat EnglishLanguage Brunch "brunch")
(subclass BreakfastTime TimeInterval)
(documentation BreakfastTime EnglishLanguage "&%BreakfastTime is the time interval by
which the first meal of the day is typically eaten, which is in the morning")
(termFormat EnglishLanguage BreakfastTime "breakfast time")
(=>
(instance ?TIME BreakfastTime)
(exists (?MORN)
(and
(instance ?MORN Morning)
(during ?TIME ?MORN))))
(subclass LunchTime TimeInterval)
(documentation LunchTime EnglishLanguage "&%LunchTime is the time interval by which
lunch, or the mid-day meal, is typically eaten, which is usually sometime between
11am and 3pm")
(termFormat EnglishLanguage LunchTime "lunch time")
(=>
(instance ?TIME LunchTime)
(exists (?ELEVEN ?THREE)
(and
(during ?TIME
(TimeIntervalFn
(BeginFn ?ELEVEN)
(EndFn ?THREE)))
(instance ?ELEVEN (HourFn 11 ?DAY))
(instance ?THREE (HourFn 15 ?DAY)))))
(subclass DinnerTime TimeInterval)
(documentation DinnerTime EnglishLanguage "&%DinnerTime is the time interval by which
dinner, or the evening meal, is typically eaten, which is usually sometime during the
evening")
(termFormat EnglishLanguage DinnerTime "dinner time")
(=>
(instance ?TIME DinnerTime)
(exists (?NIGHT)
(and
(instance ?NIGHT NightTime)
(during ?TIME ?NIGHT))))
(instance MealAttributeFn BinaryFunction)
(documentation MealAttributeFn EnglishLanguage "(&%MealAttributeFn ?MEAL ?AREA) returns
a &%RelationalAttribute to describe the &%Meal ?MEAL in a specific &%Region ?AREA.
This coveres the cases where Steak and Eggs would be dinner in Asia but breakfast in
the US.")
(termFormat EnglishLanguage MealAttributeFn "meal attribute function")
(domain MealAttributeFn 1 Meal)
(domain MealAttributeFn 2 Region)
(range MealAttributeFn RelationalAttribute)
(exists (?MEAL ?REGION)
(attribute ?MEAL (MealAttributeFn ?MEAL ?REGION)))
;; organizing the Meat taxonomy
;; help coming from: http://en.wikipedia.org/wiki/List_of_meat_animals
;; ================================================================================
(=>
(instance ?M Meat)
(exists (?DA ?AC)
(and
(instance ?DA (DeadFn ?AC))
(part ?M ?DA)
(subclass ?AC Animal))))
;; ----------------------------------------------------------------------------
;; Seafood
;; ----------------------------------------------------------------------------
(subclass Seafood Meat)
(documentation Seafood EnglishLanguage "&%Seafood refers to &%Meat from &%Animal that
inhabit &%BodiesOfWater")
(termFormat EnglishLanguage Seafood "seafood")
;; if S is an instance of seafood, then s is a part of a dead animal who when it was
;; alive lived in a body of water
(=>
(instance ?S Seafood)
(exists (?X ?SEA)
(and
(meatOfAnimal ?S ?ANIMAL)
(instance ?X ?ANIMAL)
(instance ?SEA BodyOfWater)
(inhabits ?X ?SEA))))
(subclass FishMeat Seafood)
(documentation FishMeat EnglishLanguage "&%Meat that was originally part of a &%Fish.")
(meatOfAnimal FishMeat Fish)
(subclass SalmonMeat FishMeat)
(documentation SalmonMeat EnglishLanguage "&%SalmonMeat is &%Meat that comes from &%Salmon.")
(subclass Shellfish Seafood)
(documentation Shellfish EnglishLanguage "&%Shellfish refers to &%Seafood coming from
crustaceans, which are creatures live in bodies of water that have an exoskeleton")
(subclass CrabMeat Shellfish)
(meatOfAnimal CrabMeat Crab)
(termFormat EnglishLanguage CrabMeat "crab")
(subclass CrayfishMeat Shellfish)
(termFormat EnglishLanguage CrayfishMeat "crayfish")
(subclass LobsterMeat Shellfish)
(meatOfAnimal LobsterMeat Lobster)
(termFormat EnglishLanguage LobsterMeat "lobster")
(subclass PrawnMeat Shellfish)
(meatOfAnimal PrawnMeat Prawn)
(termFormat EnglishLanguage PrawnMeat "prawn")
(subclass Shrimp Crustacean)
(subclass ShrimpMeat Shellfish)
(meatOfAnimal ShrimpMeat Shrimp)
(termFormat EnglishLanguage ShrimpMeat "shrimp")
(subclass MolluskMeat Seafood)
(documentation MolluskMeat EnglishLanguage "&%MolluskMeat refers to &%Seafood coming from
soft-bodied invertebrates that is usually contained in a shell.")
(termFormat EnglishLanguage MolluskMeat "mollusk")
(meatOfAnimal MolluskMeat Mollusk)
(subclass AbaloneMeat MolluskMeat)
(termFormat EnglishLanguage AbaloneMeat "abalone")
(subclass ClamMeat MolluskMeat)
(termFormat EnglishLanguage ClamMeat "clam")
(subclass ConchMeat MolluskMeat)
(termFormat EnglishLanguage ConchMeat "conch")
(subclass LocoMeat MolluskMeat)
(termFormat EnglishLanguage LocoMeat "loco")
(subclass MusselMeat MolluskMeat)
(termFormat EnglishLanguage MusselMeat "mussel")
(subclass OysterMeat MolluskMeat)
(meatOfAnimal OysterMeat Oyster)
(termFormat EnglishLanguage OysterMeat "oyster")
(subclass ScallopMeat MolluskMeat)
(meatOfAnimal ScallopMeat Scallop)
(termFormat EnglishLanguage ScallopMeat "scallop")
(subclass WaterSnailMeat MolluskMeat)
(termFormat EnglishLanguage WaterSnailMeat "water snail")
(subclass CuttlefishMeat MolluskMeat)
(termFormat EnglishLanguage CuttlefishMeat "cuttlefish")
(subclass OctopusMeat MolluskMeat)
(termFormat EnglishLanguage OctopusMeat "octopus")
(subclass SquidMeat MolluskMeat)
(meatOfAnimal SquidMeat Squid)
(termFormat EnglishLanguage SquidMeat "squid")
;; ----------------------------------------------------------------------------
;; Poultry
;; ----------------------------------------------------------------------------
(subclass PoultryMeat Meat)
(documentation PoultryMeat EnglishLanguage "&%PoultryMeat refers to &%Meat coming from
&%Poultry")
(termFormat EnglishLanguage PoultryMeat "poultry")
(meatOfAnimal PoultryMeat Bird)
;; definition of ChickenMeat already in Mid-level-ontology.kif
(subclass DuckMeat PoultryMeat)
(termFormat EnglishLanguage DuckMeat "duck")
(meatOfAnimal DuckMeat Duck)
(subclass GooseMeat PoultryMeat)
(termFormat EnglishLanguage GooseMeat "goose")
(meatOfAnimal GooseMeat Goose)
(subclass TurkeyMeat PoultryMeat)
(termFormat EnglishLanguage TurkeyMeat "turkey")
(meatOfAnimal TurkeyMeat TurkeyBird)
;; adding vcvp
(subclass QuailMeat PoultryMeat)
(termFormat EnglishLanguage QuailMeat "quail")
(meatOfAnimal QuailMeat QuailBird)
;; This is a new and lightly axiomatized ontology of food items.
(documentation Absolut EnglishLanguage "A brand of vodka")
(subclass Absolut Vodka)
(subclass Aioli PreparedFood)
(documentation Aioli EnglishLanguage "is a garlic mayonnaise. It
is a traditional Provençal sauce made of garlic, olive oil, and
(typically) egg. There are many variations, such as the addition
of mustard or, in Catalonia, pears. It is usually served at room
temperature.")
(=>
(instance ?A Aioli)
(and
(material Garlic ?A)
(material OliveOil ?A)))
(subclass AlmondNut EdibleNut)
(documentation AlmondNut EnglishLanguage "Almond (Prunus dulcis, syn.
Prunus amygdalus Batsch., Amygdalus communis L., Amygdalus dulcis
Mill.), is the nut of this species of tree native to the Middle
East and South Asia. [Wikipedia]")
(subclass Amaretto Liqueur)
(subclass Aperitif DistilledAlcoholicBeverage)
(documentation Aperitif EnglishLanguage "A class that includes digestifs. A bitter alcoholic beverage
taken with food, supposed to aid in digestion. This class does not include wine, brandy or other
alcoholic beverages that may be used as aperitifs.")
(=>
(instance ?X Aperitif)
(attribute ?X Bitterness))
(instance Sweetness TasteAttribute)
(instance Bitterness TasteAttribute)
(instance Sourness TasteAttribute)
(instance Saltiness TasteAttribute)
(instance UmamiTaste TasteAttribute)
(subclass Arugula LeafyGreenVegetable)
(subclass Bacardi Rum)
(documentation Bacon EnglishLanguage "A cut of &%Pork that is cured in salt, then dried.")
(subclass Bacon Pork)
(subclass Bacon PreparedFood)
(=>
(instance ?B Bacon)
(material Salt ?B))
(subclass Bagel BreadOrBiscuit)
(subclass Baileys Liqueur)
(subclass Bamboo Grass)
(subclass Basil FloweringPlant)
(documentation Basil EnglishLanguage "An herb commonly used in Italian and Thai cooking, native to India.")
(externalImage Basil "http://commons.wikimedia.org/wiki/Image:Basil-Basilico-Ocimum_basilicum-albahaca.jpg")
(subclass Blueberry FloweringPlant)
(subclass Brie Cheese)
(subclass Broccoli FloweringPlant)
(externalImage Broccoli "http://commons.wikimedia.org/wiki/Image:Broccoli_in_a_dish_2.jpg")
(subclass Butterfly Insect)
(subclass ButternutSquash Squash)
(subclass Squid Mollusk)
(subclass Calamari PreparedFood)
(=>
(instance ?C Calamari)
(exists (?S)
(and
(meatOfAnimal ?S Squid)
(material ?S ?C))))
(subclass Campari Aperitif)
(subclass Cappuccino PreparedFood)
(documentation Cappuccino EnglishLanguage "Espresso with foamed milk")
(=>
(instance ?C Cappuccino)
(material Milk ?C))
(=>
(instance ?C Cappuccino)
(material Coffee ?C))
(subclass CashewNut EdibleNut)
(subclass Celery FloweringPlant)
(subclass Chambord Liqueur)
(subclass Champagne Wine)
(subclass CheddarCheese Cheese)
(subclass Chocolate PreparedFood)
(=>
(instance ?C Chocolate)
(material Cocoa ?C))
(subclass Cilantro FloweringPlant)
(subclass CocaCola Soda)
(subclass Cod Fish)
(subclass Cointreau Liqueur)
(subclass Couscous Pasta)
(subclass Crab Crustacean)
(subclass Cream Milk)
(subclass Daikon Radish)
(subclass EggYolk BodyPart)
(initialPart EggYolk Egg)
(=>
(and
(instance ?O Organism)
(instance ?E Egg)
(attribute ?O Embryonic)
(part ?O ?E))
(exists (?Y)
(and
(instance ?Y EggYolk)
(hasPurpose ?Y
(exists (?I)
(and
(instance ?I Ingesting)
(agent ?I ?O)
(resource ?I ?Y)))))))
(subclass Endive LeafyGreenVegetable)
(subclass Espresso Coffee)
(subclass Feta Cheese)
(subclass Frying Cooking)
(=>
(instance ?F Frying)
(exists (?O)
(and
(instance ?O Oil)
(resource ?F ?O))))
(documentation Garlic EnglishLanguage "Allium sativum, is a
species in the onion family Alliaceae. Its close relatives
include the onion, shallot, leek, chive, and rakkyo. Garlic
has been used throughout history for both culinary and
medicinal purposes. [Wikipedia]")
(subclass Garlic FloweringPlant)
(subclass GoatMeat Meat)
(meatOfAnimal GoatMeat Goat)
(subclass Gouda Cheese)
(subclass Grapefruit Fruit)
(subclass JamesonsWhiskey Whiskey)
(documentation Juice EnglishLanguage "A liquid (at room temperature) created by squeezing,
crushing, or pureeing a &%FruitOrVegetable.")
(subclass Juice Substance)
(initialPart Juice FruitOrVegetable)
(instance JuiceOfFn UnaryFunction)
(domainSubclass JuiceOfFn 1 FruitOrVegetable)
(rangeSubclass JuiceOfFn Juice)
(documentation JuiceOfFn EnglishLanguage "This function defines the class of &%Juice
created from a given &%FruitOrVegetable.")
(=>
(instance ?X (JuiceOfFn ?Y))
(exists (?Z ?P)
(and
(instance ?Z ?Y)
(instance ?P Motion)
(resource ?P ?Z)
(result ?P ?X))))
(subclass Kahlua Liqueur)
(subclass Ketchup PreparedFood)
(=>
(instance ?K Ketchup)
(material Tomato ?K))
(subclass Lettuce LeafyGreenVegetable)
(subclass Linguine Pasta)
(=>
(and
(instance ?X Pasta)
(not
(exists (?Y)
(and
(instance ?Y Pasta)
(part ?Y ?X)))))
(attribute ?X LongAndThin))
(=>
(and
(instance ?S Spaghetti)
(instance ?L Linguine)
(width ?S ?W1)
(width ?L ?W2))
(greaterThan ?W2 ?W1))
(subclass Liqueur DistilledAlcoholicBeverage)
(=>
(instance ?L Liqueur)
(material Sugar ?L))
(documentation Liqueur EnglishLanguage "A sweet alcoholic beverage that has
been flavored with one of various substances.")
(subclass Lobster Crustacean)
(subclass GrandMarnier Liqueur)
(subclass Mayonnaise PreparedFood)
(documentation Mayonnaise EnglishLanguage "Mayonnaise, is a stable emulsion of oil,
&%EggYolk and either vinegar or &%Lemon juice, with many options for embellishment
with other herbs and spices. Lecithin in the egg yolk is the emulsifier. It is
often cream in color, and may range in texture from that of light running cream
to thick. In countries influenced by &%France, mustard is also a common ingredient.
In &%Spain, &%OliveOil is used as the oil and mustard is never included. Numerous
other sauces can be created from it with addition of various herbs, spices, and
finely chopped pickles. Where mustard is used, it is also an emulsifier. [Wikipedia].")
(=>
(instance ?M Mayonnaise)
(and
(material Oil ?M)
(material EggYolk ?M)))
(subclass Mint FloweringPlant)
(subclass Mozzarella Cheese)
(documentation Mushroom EnglishLanguage "A mushroom is the fleshy, spore-bearing
fruiting body of a fungus, typically produced above ground on soil or on its food
source. Like all fungi, mushrooms are not plants and do not undergo photosynthesis.
The standard for the name 'mushroom' is the cultivated white button mushroom,
Agaricus bisporus; hence the word 'mushroom' is most often applied to those fungi
(Basidiomycota, Agaricomycetes) that have a stem (stipe), a cap (pileus), and
gills (lamellae, sing. lamella) or pores on the underside of the cap. [Wikipedia]")
(subclass Mushroom ReproductiveBody)
(initialPart Mushroom Fungus)
(subclass Mustard FloweringPlant)
(subclass Omelette PreparedFood)
(=>
(instance ?O Omelette)
(exists (?F)
(and
(instance ?F Frying)
(result ?F ?O))))
(=>
(instance ?O Omelette)
(material Egg ?O))
(subclass Onion FloweringPlant)
(subclass Oyster Mollusk)
(subclass Pancake BreadOrBiscuit)
(documentation Pancake EnglishLanguage "A pancake is a thin, flat,
round cake prepared from a batter, or dough in some cases, and cooked
on a hot griddle or frying pan. Most Pancakes are quick breads; some
use a yeast-raised or fermented batter. Most Pancakes are cooked one
side on a griddle and flipped partway through to cook the other side.
Depending on the region, Pancake may be served at any time, with a
variety of toppings or fillings including jam, chocolate chips, fruit,
syrup or meat. [Wikipedia]")
(=>
(instance ?P Pancake)
(exists (?F)
(and
(instance ?F Frying)
(result ?F ?P))))
(subclass ParmesanCheese Cheese)
(subclass Parsley FloweringPlant)
(subclass Pasta PreparedFood)
(documentation Pasta EnglishLanguage "Pasta is a generic term for a
boiled food of different shapes made from an unleavened dough of wheat
or buckwheat flour and water, sometimes with other ingredients such as
eggs and vegetable extracts. Pastas include varieties that are filled
with other ingredients like ravioli and tortellini. [Wikipedia]")
(=>
(instance ?P Pasta)
(material Flour ?P))
(subclass PatronTequilla Tequila)
(subclass Peach Fruit)
(subclass Penne Pasta)
(documentation Penne EnglishLanguage "Pasta consisting of medium length tubes with
ridges, cut diagonally at both ends. [Wikipedia]")
(=>
(and
(instance ?X Penne)
(not
(exists (?Y)
(and
(instance ?Y Penne)
(part ?Y ?X)))))
(and
(exists (?HOLE2)
(and
(instance ?HOLE2 Hole)
(part ?X ?HOLE2)))
(attribute ?X Fillable)))
(subclass Pickle PreparedFood)
(documentation Pickle EnglishLanguage "A pickled cucumber (commonly known as
a pickle in Australia, Canada, and the United States or generically as Gherkins
in the UK) is a cucumber that has been pickled in a brine, vinegar, or other
solution and left to ferment for a period of time, by either immersing the
cucumbers in an acidic solution or through souring by lacto-fermentation. [Wikipedia]")
(=>
(instance ?P Pickle)
(attribute ?P AcidicPH))
;; KJN: Edit. Causes Partition errors.
;;(instance AcidicPH Attribute)
(instance AcidicPH InternalAttribute)
(documentation AcidicPH EnglishLanguage "Having a pH of less than 7.")
(instance BasicPH Attribute)
(documentation BasicPH EnglishLanguage "Having a pH of more than 7.")
(contraryAttribute AcidicPH BasicPH)
(documentation Banana EnglishLanguage "Banana is the common name for herbaceous
plants of the genus Musa and for the fruit they produce. Bananas come in a
variety of sizes and colors when ripe, including yellow, purple, and red. There
is no formal botanical distinction between bananas and plantains, and the use of
either term is based purely on how the fruits are consumed. [Wikipedia]")
(subclass PortabelloMushroom Mushroom)
(subclass Prawn Crustacean)
(documentation Prawn EnglishLanguage "Prawns are decapod crustaceans, belonging
to the sub-order Dendrobranchiata. The term 'prawn' is also used in various
contexts for other animals, especially caridean shrimp. They are found worldwide
and include commercially significant species, such as the whiteleg shrimp
Litopenaeus vannamei, Atlantic white shrimp Penaeus setiferus, Indian prawn
Fenneropenaeus indicus and tiger prawn Penaeus monodon. [Wikipedia]")
(subclass Cheese PreparedFood)
(subclass Provolone Cheese)
(subclass Radicchio LeafyGreenVegetable)
(subclass Raisin PreparedFood)
(documentation Raisin EnglishLanguage "A raisin is a dried grape.")
(=>
(instance ?R Raisin)
(exists (?D)
(and
(instance ?D Drying)
(result ?D ?R))))
(subclass Raspberry Berry)
(subclass RicottaCheese Cheese)
(subclass RomaineLettuce LeafyGreenVegetable)
(documentation Rum EnglishLanguage "A distilled spirit made from molasses or
sugarcane that is then aged.")
(subclass Rum DistilledAlcoholicBeverage)
(=>
(instance ?R Rum)
(exists (?D)
(and
(instance ?D Distilling)
(instance ?S SugarCane)
(resource ?D ?S)
(result ?D ?R))))
(subclass Scallion FloweringPlant)
(subclass Scallop Mollusk)
(documentation Schnapps EnglishLanguage "A &%Liqueur made from distilling fruit.")
(subclass Schnapps Liqueur)
(=>
(instance ?S Schnapps)
(exists (?D ?F)
(and
(instance ?D Distilling)
(instance ?F Fruit)
(resource ?D ?F)
(result ?D ?S))))
(=>
(instance ?S Seafood)
(exists (?DA ?F)
(and
(instance ?DA (DeadFn ?F))
(part ?S ?DA)
(subclass ?F Fish))))
(subclass Seaweed Alga)
(documentation Seaweed EnglishLanguage "Seaweed is a loose, colloquial term
encompassing macroscopic, multicellular, benthic marine algae. The term includes
some members of the red, brown and green algae. [text courtesy Wikipedia]")
(subclass Sesame FloweringPlant)
(subclass Shallot FloweringPlant)
(subclass Skate Fish)
(documentation Skate EnglishLanguage "Skates are cartilaginous fish belonging
to the family Rajidae in the superorder Batoidea of rays. There are more than
200 described species in 27 genera. There are two subfamilies, Rajinae (hardnose
skates) and Arhynchobatinae (softnose skates). [text courtesy Wikipedia]")
(subclass CarbonDioxide CompoundSubstance)
(documentation CarbonDioxide EnglishLanguage "Carbon dioxide is a common
compound in the Earth's atmosphere, and an essential compound used in the
cycle of photosynthesis.")
(=>
(and
(instance ?CD CarbonDioxide)
(instance ?CD Molecule))
(exists (?C ?O1 ?O2)
(and
(instance ?C Carbon)
(instance ?O1 Oxygen)
(instance ?O2 Oxygen)
(instance ?C Atom)
(instance ?O1 Atom)
(instance ?O2 Atom)
(part ?C ?CD)
(part ?O1 ?CD)
(part ?O2 ?CD)
(not (equal ?O1 ?O2)))))
(subclass Soda Beverage)
(subclass Soda Mixture)
(=>
(instance ?S Soda)
(exists (?CD)
(and
(instance ?CD CarbonDioxide)
(part ?CD ?S))))
(subclass Sorbet PreparedFood)
(documentation Sorbet EnglishLanguage "Sorbet is a frozen dessert made from
sweetened water flavored with fruit (typically juice or puree), and also
sometimes wine and/or liqueur. [Wikipedia]")
(=>
(instance ?S Sorbet)
(material Water ?S))
(=>
(instance ?S Sorbet)
(material Fruit ?S))
(=>
(instance ?S Sorbet)
(material Sugar ?S))
(subclass Spaghetti Pasta)
(documentation Spaghetti EnglishLanguage "Spaghetti is a long, thin, cylindrical
pasta. Spaghetti is made of semolina or flour and water. Italian dried spaghetti
is made from durum wheat semolina, but outside of Italy it may be made with other
kinds of flour. Traditionally most spaghetti was 50 cm (20ins) long, but shorter
lengths gained in popularity during the latter half of the 20th century and now
spaghetti is most commonly available in 25–30 cm (10–12 in) lengths. [Wikipedia]")
(=>
(and
(instance ?X Spaghetti)
(not
(exists (?Y)
(and
(instance ?Y Spaghetti)
(part ?Y ?X)))))
(attribute ?X LongAndThin))
(subclass Spinach LeafyGreenVegetable)
(subclass Steak Beef)
(subclass Stolichnoya Vodka)
(documentation Stolichnoya EnglishLanguage "A brand of &%Vodka.")
(subclass Strawberry FloweringPlant)
(subclass TamarindFruit Fruit)
(documentation Tequila EnglishLanguage "A &%DistilledAlcoholicBeverage made from the &%BlueAgave plant.")
(subclass Tequila DistilledAlcoholicBeverage)
(=>
(instance ?T Tequila)
(exists (?D)
(and
(instance ?D Distilling)
(instance ?B BlueAgave)
(resource ?D ?B)
(result ?D ?T))))
(subclass BlueAgave FloweringPlant)
(documentation BlueAgave EnglishLanguage "A succulent that is native to Jalisco, Mexico, and used
in the production of &%Tequila.")
(subclass Tofu PreparedFood)
(documentation Tofu EnglishLanguage "Tofu or bean curd is a food made by,
coagulating soy milk and then pressing the resulting curds into soft
white blocks. [Wikipedia]")
(=>
(instance ?X Tofu)
(material Soybean ?X))
(subclass Tuna Fish)
(subclass Turmeric Spice)
(instance Vegetarian Attribute)
(=>
(attribute ?F Vegetarian)
(not
(exists (?M)
(and
(instance ?M Meat)
(part ?M ?F)))))
(instance Vegan Attribute)
(=>
(attribute ?F Vegan)
(and
(attribute ?F Vegetarian)
(not
(exists (?D)
(and
(instance ?D DairyArtifact)
(part ?D ?F))))))
(subclass Fermentation BiologicalProcess)
(documentation Fermentation EnglishLanguage "Fermentation in food processing
typically is the conversion of carbohydrates to alcohols and carbon dioxide
or organic acids using yeasts, bacteria, or a combination thereof, under
anaerobic conditions. [Wikipedia]")
(=>
(instance ?F Fermentation)
(exists (?C ?M)
(and
(instance ?C Carbohydrate)