(reinitCollection) (createDisjointGroup classic-thing-type) (createConcept WINE-REGION ClassicThing classic-thing-type) (createConcept WINERY ClassicThing classic-thing-type) (createConcept CONSUMABLE-THING ClassicThing classic-thing-type) (createConcept WINE-PROPERTY ClassicThing classic-thing-type) ;; Consumable-things (createDisjointGroup consumable-thing-type) (createConcept EDIBLE-THING CONSUMABLE-THING consumable-thing-type) (createConcept POTABLE-LIQUID CONSUMABLE-THING consumable-thing-type) ;; WINE-PROPERTY's subconcepts (createConcept WINE-COLOR (and WINE-PROPERTY (oneOf White Rose Red))) (createConcept WINE-BODY (and WINE-PROPERTY (oneOf Light Medium Full))) (createConcept WINE-FLAVOR (and WINE-PROPERTY (oneOf Delicate Moderate Strong))) (createConcept WINE-SUGAR (and WINE-PROPERTY (oneOf Sweet Off-Dry Dry))) ;; the following populate functions don't work now but should in the future ;(populate 'WINE-COLOR '(White Rose Red)) ;(populate 'WINE-BODY '(Light Medium Full)) ;(populate 'WINE-FLAVOR '(Delicate Moderate Strong)) ;(populate 'WINE-SUGAR '(Sweet Off-Dry Dry)) ;; using this for now instead (addToldInformation White WINE-COLOR) (addToldInformation Rose WINE-COLOR) (addToldInformation Red WINE-COLOR) (addToldInformation Light WINE-BODY) (addToldInformation Medium WINE-BODY) (addToldInformation Full WINE-BODY) (addToldInformation Delicate WINE-FLAVOR) (addToldInformation Moderate WINE-FLAVOR) (addToldInformation Strong WINE-FLAVOR) (addToldInformation Sweet WINE-SUGAR) (addToldInformation Off-Dry WINE-SUGAR) (addToldInformation Dry WINE-SUGAR) ;; WINE (createRole color true) (createRole body true) (createRole flavor true) (createRole sugar true) (createRole grape true) (createConcept WINE (and POTABLE-LIQUID (all color WINE-COLOR) (atLeast 1 color) (all body WINE-BODY) (atLeast 1 body) (all flavor WINE-FLAVOR) (atLeast 1 flavor) (all sugar WINE-SUGAR) (atLeast 1 sugar) (all grape EDIBLE-THING) (atLeast 1 grape))) ;;MEAL-FOOD (createRole appropriate-drink) (createConcept MEAL-FOOD (and EDIBLE-THING (atLeast 1 appropriate-drink) (all appropriate-drink WINE))) ;;;(lload "Helper/meal-foods.lisp") ;; MEAL-FOOD direct subconcepts. (createDisjointGroup type) ;The "type" partition (createConcept FRUIT MEAL-FOOD type) (createConcept SEAFOOD MEAL-FOOD type) (createConcept FOWL MEAL-FOOD type) (createConcept MEAT MEAL-FOOD type) (createConcept PASTA MEAL-FOOD type) ;The "meal-role" partition (createDisjointGroup meal-role) (createConcept APPETIZER MEAL-FOOD meal-role) (createConcept ENTREE MEAL-FOOD meal-role) (createConcept DESSERT MEAL-FOOD meal-role) ;; FRUIT subconcepts (createDisjointGroup fruit-sweetness) (createConcept SWEET-FRUIT FRUIT fruit-sweetness) (createConcept NON-SWEET-FRUIT FRUIT fruit-sweetness) (createConcept GRAPE SWEET-FRUIT true) ;These are not necessarily disjoint---we define them to have a ; special category for grapes that are used in making wines: (createConcept WINE-GRAPE GRAPE true) (createConcept EATING-GRAPE GRAPE true) ;; SEAFOOD subconcepts (createDisjointGroup seafood-shells) (createDisjointGroup shellfish-oysters) (createDisjointGroup fish-spice) (createConcept SHELLFISH SEAFOOD seafood-shells) (createConcept FISH SEAFOOD seafood-shells) (createConcept OYSTER-SHELLFISH SHELLFISH shellfish-oysters) (createConcept NON-OYSTER-SHELLFISH SHELLFISH shellfish-oysters) (createConcept BLAND-FISH FISH fish-spice) (createConcept NON-BLAND-FISH FISH fish-spice) ;; FOWL subconcepts (createDisjointGroup fowl-darkness) (createConcept LIGHT-MEAT-FOWL FOWL fowl-darkness) (createConcept DARK-MEAT-FOWL FOWL fowl-darkness) ;; MEAT subconcepts (createDisjointGroup meat-color) (createDisjointGroup red-meat-spiciness) (createConcept RED-MEAT MEAT meat-color) (createConcept NON-RED-MEAT MEAT meat-color) (createConcept SPICY-RED-MEAT RED-MEAT red-meat-spiciness) (createConcept NON-SPICY-RED-MEAT RED-MEAT red-meat-spiciness) ;; PASTA subconcepts (createDisjointGroup paste-sauce-color) (createDisjointGroup pasta-with-white-sauce-heaviness) (createDisjointGroup pasta-with-red-sauce-spiciness) (createConcept PASTA-WITH-WHITE-SAUCE PASTA paste-sauce-color) (createConcept PASTA-WITH-HEAVY-CREAM-SAUCE PASTA-WITH-WHITE-SAUCE pasta-with-white-sauce-heaviness) (createConcept PASTA-WITH-LIGHT-CREAM-SAUCE PASTA-WITH-WHITE-SAUCE pasta-with-white-sauce-heaviness) (createConcept PASTA-WITH-RED-SAUCE PASTA paste-sauce-color) (createConcept PASTA-WITH-SPICY-RED-SAUCE PASTA-WITH-RED-SAUCE pasta-with-red-sauce-spiciness) (createConcept PASTA-WITH-NON-SPICY-RED-SAUCE PASTA-WITH-RED-SAUCE pasta-with-red-sauce-spiciness) ;; DESSERT subconcepts (createDisjointGroup dessert-type) (createConcept CHEESE/NUTS-DESSERT DESSERT dessert-type) (createConcept SWEET-DESSERT DESSERT dessert-type) ;;;(lload "Helper/wineries-and-regions.lisp") ; repetitions of individuals are ignored ;; THE WINE-REGION INSTANCES (createIndividual Medoc WINE-REGION) ;typed by student (createIndividual Bordeaux WINE-REGION) ;typed by student (createIndividual Bourgogne WINE-REGION) (createIndividual Loire WINE-REGION) (createIndividual Beaujolais WINE-REGION) (createIndividual Napa-valley WINE-REGION) ;typed by student (createIndividual Sonoma WINE-REGION) (createIndividual Santa-Cruz-Mountains WINE-REGION) (createIndividual Santa-Barbara WINE-REGION) (createIndividual Alsace WINE-REGION) (createIndividual Chianti WINE-REGION) (createIndividual Piemonte WINE-REGION) ;;; THE WINERY INSTANCES (createIndividual Forman WINERY) ;typed by student (createIndividual Page-Mill-Winery WINERY) (createIndividual Whitehall-Lane WINERY) (createIndividual Mount-Eden-Vineyard WINERY) (createIndividual Elyse WINERY) (createIndividual Santa-Cruz-Mountain-Vineyard WINERY) (createIndividual Lane-Tanner WINERY) (createIndividual Foxen WINERY) (createIndividual Corton-Montrachet WINERY) (createIndividual Puligny-Montrachet WINERY) (createIndividual Handley WINERY) (createIndividual Kalin-Cellars WINERY) ;typed by student (createIndividual Congress-Springs WINERY) (createIndividual Ventana WINERY) (createIndividual Schloss-Volrad WINERY) (createIndividual Schloss-Rothermel WINERY) (createIndividual Marietta WINERY) (createIndividual Cotturi WINERY) (createIndividual Chateau-Lafite-Rothschild WINERY) (createIndividual Chateau-Margaux-Winery WINERY) (createIndividual Chateau-Cheval-Blanc WINERY) (createIndividual Chateau-Morgon WINERY) (createIndividual Chateau-D-Ychem WINERY) (createIndividual Chateau-De-Meursault WINERY) (createIndividual Sevre-Et-Maine WINERY) (createIndividual Clos-De-La-Poussie WINERY) (createIndividual D-Anjou WINERY) (createIndividual Mcguinnesso WINERY) (createIndividual Mazocco WINERY) ;;;(lload "Helper/meal-food-instances.lisp") ; THE MEAL-FOOD INSTANCES (createIndividual Oysters OYSTER-SHELLFISH) (createIndividual Clams NON-OYSTER-SHELLFISH) (createIndividual Mussels NON-OYSTER-SHELLFISH) (createIndividual Crab NON-OYSTER-SHELLFISH) (createIndividual Lobster NON-OYSTER-SHELLFISH) (createIndividual Scrod BLAND-FISH) (createIndividual Halibut BLAND-FISH) (createIndividual Flounder BLAND-FISH) (createIndividual Swordfish NON-BLAND-FISH) (createIndividual Tuna NON-BLAND-FISH) (createIndividual Chicken LIGHT-MEAT-FOWL) (createIndividual Turkey LIGHT-MEAT-FOWL) (createIndividual Duck DARK-MEAT-FOWL) (createIndividual Goose DARK-MEAT-FOWL) (createIndividual Pork NON-RED-MEAT) (createIndividual Garlicky-Roast SPICY-RED-MEAT) (createIndividual Beef-Curry SPICY-RED-MEAT) (createIndividual Veal NON-SPICY-RED-MEAT) (createIndividual Steak NON-SPICY-RED-MEAT) (createIndividual Roast-Beef NON-SPICY-RED-MEAT) (createIndividual Fettuccine-Alfredo PASTA-WITH-HEAVY-CREAM-SAUCE) (createIndividual Pasta-With-White-Clam-Sauce PASTA-WITH-LIGHT-CREAM-SAUCE) (createIndividual Fra-Diavolo PASTA-WITH-SPICY-RED-SAUCE) (createIndividual Spaghetti-With-Tomato-Sauce PASTA-WITH-NON-SPICY-RED-SAUCE) (createIndividual Bananas SWEET-FRUIT) (createIndividual Peaches SWEET-FRUIT) (createIndividual Mixed-Fruit SWEET-FRUIT) (createIndividual Apples NON-SWEET-FRUIT) (createIndividual Cheese CHEESE/NUTS-DESSERT) (createIndividual Nuts CHEESE/NUTS-DESSERT) (createIndividual Pie SWEET-DESSERT) (createIndividual Cake SWEET-DESSERT) (createIndividual Chardonnay WINE-GRAPE) (createIndividual Chenin-Blanc WINE-GRAPE) (createIndividual Sauvignon-Blanc WINE-GRAPE) (createIndividual Semillon WINE-GRAPE) (createIndividual Riesling WINE-GRAPE) (createIndividual Cabernet-Sauvignon WINE-GRAPE) (createIndividual Pinot-Noir WINE-GRAPE) (createIndividual Zinfandel WINE-GRAPE) (createIndividual Merlot WINE-GRAPE) (createIndividual Gamay WINE-GRAPE) (createIndividual Sangiovese WINE-GRAPE) (createIndividual Cabernet-Franc WINE-GRAPE) (createIndividual Malbec WINE-GRAPE) (createIndividual Petite-Verdot WINE-GRAPE) (createIndividual Petite-Syrah WINE-GRAPE) (createIndividual Thompson-Seedless EATING-GRAPE) ; Recover/until-regional-winery ; WINE-REGION subclasses (createConcept FRENCH-WINE-REGION (and WINE-REGION ; explicit, because WINE-REGION is a primitive (oneOf Bordeaux Bourgogne Loire Medoc))) (createConcept AMERICAN-WINE-REGION (and WINE-REGION (oneOf Napa-Valley Sonoma Santa-Cruz-Mountains Santa-Barbara))) (createConcept OTHER-EUROPEAN-WINE-REGION (and WINE-REGION (oneOf Alsace Chianti Piemonte))) ; Recover/after-regional-winery.Neo") ; REGIONAL-WINERY (createRole region true) ;an attribute withan inverse (createConcept REGIONAL-WINERY (and WINERY (all region WINE-REGION) (atLeast 1 region))) ;The above one is the best definition. An alternative definition is: ;; This version is commented out so that the duplicate definitions ;; will not cause errors when the file is read in. ;(createRole region) ; a generic role ;(createConcept REGIONAL-WINERY ; (and WINERY ; (all region WINE-REGION) ; (atLeast 1 region) ; (atMost 1 region))) ;But making region a generic role will make this concept more verbose than ;it needs to be and will make the definitions of subconcepts of ;REGIONAL-WINERY more complex as well. ; Recover/until-wineries.Neo ; REGIONAL-WINERY subclasses (createConcept FRENCH-WINERY (and REGIONAL-WINERY (all region FRENCH-WINE-REGION))) (createConcept AMERICAN-WINERY (and REGIONAL-WINERY (all region AMERICAN-WINE-REGION))) (createConcept OTHER-EUROPEAN-WINERY (and REGIONAL-WINERY (all region OTHER-EUROPEAN-WINE-REGION))) ;;;(lload "Helper/winery-region-info.lisp") ;; Region information for wineries (this may not be accurate in the real world) (addToldInformation Forman (fills region Napa-Valley)) (addToldInformation Page-Mill-Winery (fills region Napa-Valley)) (addToldInformation Whitehall-Lane (fills region Napa-Valley)) (addToldInformation Handley (fills region Napa-Valley)) (addToldInformation Kalin-Cellars (fills region Napa-Valley)) (addToldInformation Forman (fills region Napa-Valley)) (addToldInformation Congress-Springs (fills region Sonoma)) (addToldInformation Mount-Eden-Vineyard (fills region Santa-Cruz-Mountains)) (addToldInformation Ventana (fills region Napa-Valley)) (addToldInformation Elyse (fills region Napa-Valley)) (addToldInformation Marietta (fills region Sonoma)) (addToldInformation Cotturi (fills region Sonoma)) (addToldInformation Santa-Cruz-Mountain-Vineyard (fills region Santa-Cruz-Mountains)) (addToldInformation Lane-Tanner (fills region Santa-Barbara)) (addToldInformation Foxen (fills region Santa-Barbara)) ;; FRANCE (addToldInformation Corton-Montrachet (fills region Bourgogne)) (addToldInformation Puligny-Montrachet (fills region Bourgogne)) (addToldInformation Chateau-Morgon (fills region Bourgogne)) (addToldInformation Chateau-De-Meursault (fills region Bourgogne)) (addToldInformation Chateau-Cheval-Blanc (fills region Bordeaux)) (addToldInformation Chateau-D-Ychem (fills region Bordeaux)) (addToldInformation Sevre-Et-Maine (fills region Loire)) (addToldInformation Clos-De-La-Poussie (fills region Loire)) (addToldInformation D-Anjou (fills region Loire)) (addToldInformation Chateau-Lafite-Rothschild (fills region Medoc)) (addToldInformation Chateau-Margaux-Winery (fills region Medoc)) ;; GERMANY ;;(addToldInformation Schloss-Volrad (fills region Germany)) ;;(addToldInformation Schloss-Rothermel (fills region Germany)) ;; ITALY (addToldInformation Mazocco (fills region Piemonte)) (addToldInformation Mcguinnesso (fills region Chianti)) ;; ALSACE ; added by VCS (createIndividual Alsace-Grand-Crux (and WINERY (fills region Alsace))) ; Recover/after-generic-wines.Neo ; GENERIC WINE TYPES (createConcept RED-WINE (and WINE (fills color Red))) (createConcept ROSE-WINE (and WINE (fills color Rose))) (createConcept WHITE-WINE (and WINE (fills color White))) (createConcept WHITE-NON-SWEET-WINE (and WHITE-WINE (all sugar (oneOf Dry Off-Dry)))) (createConcept FULL-BODIED-WINE (and WINE (fills body Full))) (createConcept DRY-WINE (and WINE (fills sugar Dry))) (createConcept DRY-WHITE-WINE (and DRY-WINE WHITE-WINE)) (createConcept DRY-RED-WINE (and DRY-WINE RED-WINE)) (createConcept SWEET-WINE (and WINE (fills sugar Sweet))) (createConcept DESSERT-WINE (and WINE (all sugar (oneOf Off-dry Sweet))) true) ;;;(lload "Helper/wine-varieties.lisp") ;;; THE WINE VARIETIES ; general varieties (by grape) (createConcept CHARDONNAY (and WINE (fills grape Chardonnay))) (createRule chardonnay-color CHARDONNAY (fills color White)) (createRule chardonnay-body CHARDONNAY (all body (oneOf Full Medium))) (createRule chardonnay-flavor CHARDONNAY (all flavor (oneOf Strong Moderate))) ;; Rules for 'WINE' (createRule wine-grape WINE (all grape GRAPE)) (createRole maker true) (createRule wine-maker WINE (and (atLeast 1 maker) (all maker WINERY))) (createRule wine-region WINE (and (atLeast 1 region) (all region WINE-REGION))) ;;More about wine varieties (createConcept CHENIN-BLANC (and WINE (fills grape Chenin-Blanc))) (createRule chenin-blanc-color CHENIN-BLANC (fills color White)) (createRule chenin-blanc-body CHENIN-BLANC (all body (oneOf Full Medium))) (createRule chenin-blanc-flavor CHENIN-BLANC (fills flavor Moderate)) (createRule chenin-blanc-sugar CHENIN-BLANC (all sugar (oneOf Dry Off-Dry))) (createConcept SEMILLON-OR-SAUVIGNON-BLANC (and WINE (all grape (oneOf Semillon Sauvignon-Blanc)))) (createRule semillon-or-sauvignon-blanc-color SEMILLON-OR-SAUVIGNON-BLANC (fills color White)) (createRule semillon-or-sauvignon-blanc-body SEMILLON-OR-SAUVIGNON-BLANC (all body (oneOf Medium Full))) (createConcept SAUVIGNON-BLANC (and SEMILLON-OR-SAUVIGNON-BLANC (fills grape Sauvignon-Blanc))) (createConcept SEMILLON (and SEMILLON-OR-SAUVIGNON-BLANC (fills grape Semillon))) (createConcept RIESLING (and WINE (fills grape Riesling))) (createRule riesling-color RIESLING (fills color White)) (createConcept DRY-RIESLING (and RIESLING (fills sugar Dry))) (createRule dry-riesling-color DRY-RIESLING (fills color White)) (createRule dry-riesling-body DRY-RIESLING (all body (oneOf Light Medium))) (createRule dry-riesling-flavor DRY-RIESLING (fills flavor Delicate)) (createConcept SWEET-RIESLING (and RIESLING (fills sugar Sweet))) (createRule sweet-riesling-dessert-wine SWEET-RIESLING DESSERT-WINE) ;(createRule sweet-riesling-color SWEET-RIESLING (fills color White)) (createRule sweet-riesling-body SWEET-RIESLING (fills body Full)) (createRule sweet-riesling-flavor SWEET-RIESLING (all flavor (oneOf Moderate Strong))) (createConcept CABERNET-SAUVIGNON-WINE (and WINE (fills grape Cabernet-Sauvignon))) (createRule cabernet-sauvignon-color CABERNET-SAUVIGNON-WINE (fills color Red)) (createRule cabernet-sauvignon-flavor CABERNET-SAUVIGNON-WINE (all flavor (oneOf Moderate Strong))) (createRule cabernet-sauvignon-body CABERNET-SAUVIGNON-WINE (all body (oneOf Medium Full))) (createRule cabernet-sauvignon-sugar CABERNET-SAUVIGNON-WINE (fills sugar Dry)) (createConcept PINOT-NOIR (and WINE (fills grape Pinot-Noir))) (createRule pinot-noir-color PINOT-NOIR (fills color Red)) ;(createRule pinot-noir-body ; PINOT-NOIR ; (all body (oneOf Light Medium))) ;(createRule pinot-noir-flavor ; PINOT-NOIR ; (all flavor (oneOf Moderate Delicate))) (createConcept PINOT-BLANC (and WINE (fills grape Pinot-Blanc))) (createRule pinot-blanc-color PINOT-BLANC (fills color White)) (createConcept ZINFANDEL (and WINE (fills grape Zinfandel))) (createRule zinfandel-color ZINFANDEL (fills color Red)) (createRule zinfandel-body ZINFANDEL (all body (oneOf Full Medium))) (createRule zinfandel-flavor ZINFANDEL (all flavor (oneOf Moderate Strong))) (createRule zinfandel-sugar ZINFANDEL (fills sugar Dry)) (createConcept MERLOT-WINE (and WINE (fills grape Merlot))) (createRule merlot-color MERLOT-WINE (fills color Red)) (createRule merlot-flavor MERLOT-WINE (all flavor (oneOf Moderate Delicate))) (createRule merlot-body MERLOT-WINE (all body (oneOf Light Medium))) (createRule merlot-sugar MERLOT-WINE (fills sugar Dry)) ;; regional varieties ; BORDEAUX (createConcept BORDEAUX-WINE (and WINE (fills region Bordeaux))) (createConcept WHITE-BORDEAUX (and BORDEAUX-WINE WHITE-WINE)) (createRule white-bordeaux-grape WHITE-BORDEAUX (all grape (oneOf Semillon Sauvignon-Blanc))) (createConcept RED-BORDEAUX (and BORDEAUX-WINE RED-WINE)) (createRule red-bordeaux-grape RED-BORDEAUX (all grape (oneOf Cabernet-Sauvignon Merlot))) ; MEDOC: a subconcept of BORDEAUX (createConcept MEDOC (and WINE (fills region Medoc))) (createRule medoc-color MEDOC (fills color Red)) (createRule medoc-sugar MEDOC (fills sugar Dry)) (createConcept PAUILLAC MEDOC true) (createRule pauillac-body PAUILLAC (fills body Full)) (createRule pauillac-flavor PAUILLAC (fills flavor Strong)) (createRule pauillac-grape PAUILLAC (and (fills grape Cabernet-Sauvignon) )) (createConcept MARGAUX MEDOC true) (createRule margaux-flavor MARGAUX (fills flavor Delicate)) (createRule margaux-body MARGAUX (fills body Medium)) (createRule margaux-grape MARGAUX (and (fills grape Merlot) )) ;; All wines have a harvest, but we are only using harvest for bordeaux. (createDisjointGroup wine-harvest) (createConcept EARLY-HARVEST WINE wine-harvest) (createRule early-harvest-sugar EARLY-HARVEST (all sugar (oneOf Dry Off-Dry))) (createConcept LATE-HARVEST WINE wine-harvest) (createRule late-harvest-sugar LATE-HARVEST (fills sugar Sweet)) (createRule late-harvest-flavor LATE-HARVEST (all flavor (oneOf Moderate Strong))) ;; subconcepts of BORDEAUX (createConcept ST-EMILION BORDEAUX-WINE true) (createRule st-emilion-color ST-EMILION (fills color Red)) (createRule st-emilion-flavor ST-EMILION (fills flavor Strong)) (createRule st-emilion-grape ST-EMILION (and (fills grape Cabernet-Sauvignon) )) (createConcept SAUTERNE BORDEAUX-WINE true) (createRule sauterne-body SAUTERNE (fills body Medium)) (createRule sauterne-color SAUTERNE (fills color White)) (createRule sauterne-harvest SAUTERNE LATE-HARVEST) ; BURGUNDY (createConcept BURGUNDY (and WINE (fills region Bourgogne))) (createRule burgundy-sugar BURGUNDY (fills sugar Dry)) (createConcept WHITE-BURGUNDY (and BURGUNDY WHITE-WINE)) (createRule white-burgundy-grape WHITE-BURGUNDY (and (fills grape Chardonnay) )) (createConcept RED-BURGUNDY (and BURGUNDY RED-WINE)) (createRule red-burgundy-grape RED-BURGUNDY (and (fills grape Pinot-Noir) )) (createConcept COTES-D-OR RED-BURGUNDY true) (createRule cotes-d-or-flavor COTES-D-OR (fills flavor Moderate)) (createConcept MEURSAULT WHITE-BURGUNDY true) (createRule meursault-body MEURSAULT (fills body Full)) ; BEAUJOLAIS (createConcept BEAUJOLAIS (and WINE (fills region Beaujolais)) true) (createRule beaujolais-grape BEAUJOLAIS (and (fills grape Gamay) )) (createRule beaujolais-color BEAUJOLAIS (fills color Red)) (createRule beaujolais-body BEAUJOLAIS (fills body Light)) (createRule beaujolais-flavor BEAUJOLAIS (fills flavor Delicate)) ;LOIRE (createConcept LOIRE (and WINE (fills region Loire))) (createConcept WHITE-LOIRE (and LOIRE WHITE-WINE)) (createRule white-loire-grape WHITE-LOIRE (all grape (oneOf Chenin-Blanc Pinot-Blanc Sauvignon-Blanc))) (createConcept MUSCADET LOIRE true) (createRule muscadet-grape MUSCADET (and (fills grape Pinot-Blanc) )) (createRule muscadet-body MUSCADET (fills body Light)) (createRule muscadet-flavor MUSCADET (fills flavor Delicate)) (createRule muscadet-sugar MUSCADET (fills sugar Dry)) (createConcept SANCERRE LOIRE true) (createRule sancerre-grape SANCERRE (and (fills grape Sauvignon-Blanc) )) (createRule sancerre-body SANCERRE (fills body Medium)) (createRule sancerre-sugar SANCERRE (fills sugar Off-Dry)) (createRule sancerre-flavor SANCERRE (fills flavor Delicate)) (createConcept TOURS LOIRE true) ;; all the other characteristics are associated with chenin-blanc. (createRule tours-grape TOURS (and (fills grape Chenin-Blanc) )) (createConcept ANJOU LOIRE true) ;; Leave off the grape for anjou, because anjou is a strange case ;; where the grape is cabernet-sauvignon and the color is rose. All ;; wines thought of as cabernet-sauvignons are red. ;; Also, just deal with the rose anjous here, not the white ones. ;(createRule anjou-grape ; ANJOU (all grape (one-of Chenin-Blanc Cabernet-Sauvignon))) (createRule anjou-color ANJOU (fills color Rose)) (createRule anjou-body ANJOU (fills body Light)) (createRule anjou-flavor ANJOU (fills flavor Delicate)) (createRule anjou-sugar ANJOU (fills sugar Off-Dry)) ; ALSATIAN (createConcept ALSATIAN-WINE (and WINE (fills region Alsace))) ; AMERICAN (createConcept AMERICAN-WINE (and WINE (all region AMERICAN-WINE-REGION))) ; GERMAN (createConcept GERMAN-WINE (and WINE (fills region Germany))) ; ITALIAN (createConcept ITALIAN-WINE (and WINE (fills region Italy))) (createConcept CHIANTI ITALIAN-WINE true) (createRule chianti-color CHIANTI (fills color Red)) (createRule chianti-grape CHIANTI (fills grape Sangiovese)) (createRule chianti-body CHIANTI (all body (oneOf Light Medium))) (createRule chianti-flavor CHIANTI (fills flavor Moderate)) (createRule chianti-sugar CHIANTI (fills sugar Dry)) ; PORTUGUESE (createConcept PORT (and RED-WINE (fills region Portugal)) true) (createRule port-body PORT (fills body Full)) (createRule port-flavor PORT (fills flavor Strong)) (createRule port-sugar PORT (fills sugar Sweet)) ;;;(lload "Helper/just-wines.lisp") ;; THE WINE INSTANCES (createIndividual Forman-Chardonnay (and CHARDONNAY (fills body Full) (fills flavor Moderate) (fills sugar Dry) (fills maker Forman))) (createIndividual Fritz-Chardonnay (and CHARDONNAY (fills body Medium) (fills flavor Moderate) (fills sugar Dry) (fills maker Fritz-Cellars))) (createIndividual Corton-Montrachet-White-Burgundy (and WHITE-BURGUNDY (fills body Full) (fills flavor Strong) (fills sugar Dry) (fills maker Corton-Montrachet))) (createIndividual Puligny-Montrachet-White-Burgundy (and WHITE-BURGUNDY (fills body Medium) (fills flavor Moderate) (fills sugar Dry) (fills maker Puligny-Montrachet))) (createIndividual Fritz-Cellars-Sauvignon-Blanc (and SAUVIGNON-BLANC (fills body Medium) (fills flavor Moderate) (fills sugar Dry) (fills maker Fritz-Cellars))) (createIndividual Corbans-Sauvignon-Blanc (and SAUVIGNON-BLANC (fills body Medium) (fills flavor Strong) (fills sugar Dry) (fills maker Corbans))) (createIndividual Handley-Sauvignon-Blanc (and SAUVIGNON-BLANC (fills body Medium) (fills flavor Delicate) (fills sugar Dry) (fills maker Handley))) (createIndividual Kalin-Cellars-Sauvignon-Blanc (and SAUVIGNON-BLANC (fills body Full) (fills flavor Strong) (fills sugar Dry) (fills maker Kalin-Cellars))) (createIndividual Kalin-Cellars-Semillon (and SEMILLON (fills body Full) (fills flavor Strong) (fills sugar Dry) (fills maker Kalin-Cellars))) (createIndividual Congress-Springs-Semillon (and SEMILLON (fills body Medium) (fills flavor Moderate) (fills sugar Dry) (fills maker Congress-Springs))) (createIndividual Mt-Adam-Riesling (and DRY-RIESLING (fills body Medium) (fills flavor Delicate) (fills sugar Dry) (fills maker Mt-Adam))) (createIndividual Ventana-White-Riesling (and RIESLING (fills body Medium) (fills flavor Moderate) (fills sugar Off-Dry) (fills maker Ventana))) (createIndividual Schloss-Volrad-Trochenbierenauslese-Riesling (and SWEET-RIESLING (fills body Full) (fills flavor Moderate) (fills sugar Sweet) (fills maker Schloss-Volrad))) (createIndividual Schloss-Rothermel-Trochenbierenauslese-Riesling (and SWEET-RIESLING (fills body Full) (fills flavor Strong) (fills sugar Sweet) (fills maker Schloss-Rothermel))) (createIndividual Ventana-Chenin-Blanc (and CHENIN-BLANC (fills body Medium) (fills flavor Moderate) (fills sugar Off-Dry)(fills maker Ventana))) (createIndividual Congress-Springs-Late-Harvest-Semillon (and LATE-HARVEST (fills color White) (fills body Medium) (fills flavor Moderate) (fills maker Congress-Springs))) (createIndividual Marietta-Cabernet-Sauvignon (and CABERNET-SAUVIGNON-WINE (fills body Medium) (fills flavor Moderate) (fills sugar Dry) (fills maker Marietta))) (createIndividual B-R-Cohn-Cabernet-Sauvignon (and CABERNET-SAUVIGNON-WINE (fills body Full) (fills flavor Strong) (fills sugar Dry) (fills maker B-R-Cohn))) (createIndividual Cotturi-Zinfandel (and ZINFANDEL (fills body Full) (fills flavor Strong) (fills sugar Dry) (fills maker Cotturi))) (createIndividual Mazocco-Zinfandel (and ZINFANDEL (fills body Full) (fills flavor Moderate) (fills sugar Dry) (fills maker Mazocco))) (createIndividual Rosenblum-Zinfandel (and ZINFANDEL (fills body Medium) (fills flavor Moderate) (fills sugar Dry) (fills maker Rosenblum))) (createIndividual Sea-Ridge-Pinot-Noir (and PINOT-NOIR (fills body Light) (fills flavor Delicate) (fills sugar Dry) (fills maker Sea-Ridge))) (createIndividual Taylor-Port (and PORT (fills maker Taylor))) (createIndividual Chateau-Lafite-Rothschild-Pauillac (and PAUILLAC (fills maker Chateau-Lafite-Rothschild))) (createIndividual Chateau-Margaux (and MARGAUX (fills maker Chateau-Margaux-Winery))) (createIndividual Chateau-Cheval-Blanc-St-Emilion (and ST-EMILION (fills maker Chateau-Cheval-Blanc))) (createIndividual Chateau-Morgon-Beaujolais (and BEAUJOLAIS (fills maker Chateau-Morgon))) (createIndividual Chateau-D-Ychem-Sauterne (and SAUTERNE (fills maker Chateau-D-Ychem))) (createIndividual Chateau-De-Meursault-Meursault (and MEURSAULT (fills maker Chateau-De-Meursault))) (createIndividual Sevre-Et-Maine-Muscadet (and MUSCADET (fills maker Sevre-Et-Maine))) (createIndividual Clos-De-La-Poussie-Sancerre (and SANCERRE (fills maker Clos-De-La-Poussie))) (createIndividual Rose-D-Anjou (and ANJOU (fills maker D-Anjou))) (createIndividual Chianti-Classico (and CHIANTI (fills maker Mcguinnesso))) ;;;;;;;;;;;food-wines.lisp ; FRUITS-wines (createRule fruit-wine-color FRUIT (all appropriate-drink (fills color White))) (createRule fruit-wine-body FRUIT (all appropriate-drink (fills body Medium))) (createRule sweet-fruit-wine-flavor SWEET-FRUIT (all appropriate-drink (fills flavor Moderate))) (createRule sweet-fruit-wine-sugar SWEET-FRUIT (all appropriate-drink (fills sugar Sweet))) (createRule non-sweet-fruit-wine-flavor NON-SWEET-FRUIT (all appropriate-drink (fills flavor Delicate))) (createRule non-sweet-fruit-wine-sugar NON-SWEET-FRUIT (all appropriate-drink (fills sugar Off-Dry))) ; DESSERTS (createRule dessert-appropriate-drink-body DESSERT (all appropriate-drink (fills body Full))) (createRule dessert-appropriate-drink-flavor DESSERT (all appropriate-drink (fills flavor Strong))) (createRule dessert-appropriate-drink-sugar DESSERT (all appropriate-drink (fills sugar Sweet))) (createRule cheese/nuts-dessert-appropriate-drink-color CHEESE/NUTS-DESSERT (all appropriate-drink (fills color Red))) (createRule sweet-dessert-wine-color SWEET-DESSERT (all appropriate-drink (fills color White))) ; SEAFOOD (createRule seafood-wine-color SEAFOOD (all appropriate-drink (fills color White))) (createRule shellfish-wine-body SHELLFISH (all appropriate-drink (fills body Full))) (createRule shellfish-wine-flavor SHELLFISH (all appropriate-drink (all flavor (oneOf Moderate Strong)))) (createRule oyster-shellfish-wine-sugar OYSTER-SHELLFISH (all appropriate-drink (fills sugar Sweet))) (createRule non-oyster-shellfish-wine-sugar NON-OYSTER-SHELLFISH (all appropriate-drink (fills sugar Dry))) (createRule fish-wine-body FISH (all appropriate-drink (fills body Medium))) (createRule fish-wine-sugar FISH (all appropriate-drink (fills sugar Dry))) (createRule bland-fish-wine-flavor BLAND-FISH (all appropriate-drink (fills flavor Delicate))) (createRule non-bland-fish-wine-flavor NON-BLAND-FISH (all appropriate-drink (fills flavor Moderate))) ; MEAT (createRule meat-wine-sugar MEAT (all appropriate-drink (fills sugar Dry))) (createRule red-meat-wine-color RED-MEAT (all appropriate-drink (fills color Red))) (createRule non-spicy-red-meat-wine-color NON-SPICY-RED-MEAT (all appropriate-drink (fills color Red))) (createRule non-spicy-red-meat-wine-body NON-SPICY-RED-MEAT (all appropriate-drink (fills body Medium))) (createRule non-spicy-red-meat-wine-flavor NON-SPICY-RED-MEAT (all appropriate-drink (all flavor (oneOf Strong Moderate)))) (createRule non-spicy-red-meat-wine-sugar NON-SPICY-RED-MEAT (all appropriate-drink (fills sugar Dry))) (createRule spicy-red-meat-wine-color SPICY-RED-MEAT (all appropriate-drink (fills color Red))) (createRule spicy-red-meat-wine-body SPICY-RED-MEAT (all appropriate-drink (fills body Full))) (createRule spicy-red-meat-wine-flavor SPICY-RED-MEAT (all appropriate-drink (fills flavor Moderate))) (createRule spicy-red-meat-wine-sugar SPICY-RED-MEAT (all appropriate-drink (fills sugar Dry))) (createRule non-red-meat-wine-color NON-RED-MEAT (all appropriate-drink (fills color White))) (createRule non-red-meat-wine-body NON-RED-MEAT (all appropriate-drink (fills body Medium))) (createRule non-red-meat-wine-flavor NON-RED-MEAT (all appropriate-drink (fills flavor Strong))) (createRule non-red-meat-wine-sugar NON-RED-MEAT (all appropriate-drink (fills sugar Dry))) (createRule fowl-wine-sugar FOWL (all appropriate-drink (fills sugar Dry))) (createRule light-meat-fowl-wine-color LIGHT-MEAT-FOWL (all appropriate-drink (fills color White))) (createRule light-meat-fowl-wine-body LIGHT-MEAT-FOWL (all appropriate-drink (fills body Medium))) (createRule light-meat-fowl-wine-flavor LIGHT-MEAT-FOWL (all appropriate-drink (fills flavor Moderate))) (createRule light-meat-fowl-wine-sugar LIGHT-MEAT-FOWL (all appropriate-drink (fills sugar Dry))) ;; Classic does not have defaults. This rule forces you to appropriate-drink ;; red wine with a dark meat fowl course - it doesn't give you ;; the choice of appropriate-drinking white, medium, moderate, dry wine instead. (createRule dark-meat-fowl-wine-color DARK-MEAT-FOWL (all appropriate-drink (fills color Red))) (createRule dark-meat-fowl-wine-body DARK-MEAT-FOWL (all appropriate-drink (fills body Light))) (createRule dark-meat-fowl-wine-flavor DARK-MEAT-FOWL (all appropriate-drink (fills flavor Delicate))) (createRule dark-meat-fowl-wine-sugar DARK-MEAT-FOWL (all appropriate-drink (fills sugar Dry))) (createRule pasta-with-red-sauce-wine-color PASTA-WITH-RED-SAUCE (all appropriate-drink (fills color Red))) (createRule pasta-with-spicy-red-sauce-wine-color PASTA-WITH-SPICY-RED-SAUCE (all appropriate-drink (fills color Red))) (createRule pasta-with-spicy-red-sauce-wine-body PASTA-WITH-SPICY-RED-SAUCE (all appropriate-drink (fills body Full))) (createRule pasta-with-spicy-red-sauce-wine-flavor PASTA-WITH-SPICY-RED-SAUCE (all appropriate-drink (fills flavor Strong))) (createRule pasta-with-spicy-red-sauce-wine-sugar PASTA-WITH-SPICY-RED-SAUCE (all appropriate-drink (fills sugar Dry))) (createRule pasta-with-non-spicy-red-sauce-wine-color PASTA-WITH-NON-SPICY-RED-SAUCE (all appropriate-drink (fills color Red))) (createRule pasta-with-non-spicy-red-sauce-wine-body PASTA-WITH-NON-SPICY-RED-SAUCE (all appropriate-drink (fills body Medium))) (createRule pasta-with-non-spicy-red-sauce-wine-flavor PASTA-WITH-NON-SPICY-RED-SAUCE (all appropriate-drink (fills flavor moderate))) (createRule pasta-with-non-spicy-red-sauce-wine-sugar PASTA-WITH-NON-SPICY-RED-SAUCE (all appropriate-drink (fills sugar Dry))) (createRule pasta-with-white-sauce-wine-color PASTA-WITH-WHITE-SAUCE (all appropriate-drink (fills color White))) (createRule pasta-with-heavy-cream-wine-color PASTA-WITH-HEAVY-CREAM-SAUCE (all appropriate-drink (fills color White))) (createRule pasta-with-heavy-cream-wine-body PASTA-WITH-HEAVY-CREAM-SAUCE (all appropriate-drink (fills body Medium))) (createRule pasta-with-heavy-cream-wine-flavor PASTA-WITH-HEAVY-CREAM-SAUCE (all appropriate-drink (fills flavor Moderate))) (createRule pasta-with-heavy-cream-wine-sugar PASTA-WITH-HEAVY-CREAM-SAUCE (all appropriate-drink (fills sugar Dry))) (createRule pasta-with-light-cream-wine-color PASTA-WITH-LIGHT-CREAM-SAUCE (all appropriate-drink (fills color White))) (createRule pasta-with-light-cream-wine-body PASTA-WITH-LIGHT-CREAM-SAUCE (all appropriate-drink (fills body Light))) (createRule pasta-with-light-cream-wine-flavor PASTA-WITH-LIGHT-CREAM-SAUCE (all appropriate-drink (fills flavor Delicate))) (createRule pasta-with-light-cream-wine-sugar PASTA-WITH-LIGHT-CREAM-SAUCE (all appropriate-drink (fills sugar Dry)))