(reinitCollection) (readFile "after-consumable-thing.Neo") ;; 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)