Defines a class for use in the object base.
def-kb-class class-name superclass-list slot-descriptions &rest options => class
The arguments are identical to those for
The named class object.
Defines a new CLOS class as
defclass does. However, if none of the given superclasses is a subclass of
standard-kb-object is added to the list of superclasses.
(def-kb-class vehicle () ((driver :initarg :driver)))
(def-kb-class truck (vehicle)
((load :accessor truck-load)))
KnowledgeWorks and Prolog User Guide (Windows version) - 26 Feb 2015