Algernon Tutorial 2.f
Deleting KB objects
previous next
These exercises and examples use the newspaper project included
in the examples folder of your Protege installation.
Macros for creating classes and instances
- :DELETE-CLASS
- :DELETE-INSTANCE
- :DEELE-RELATION
- :DELETE-FACET (doesn't work with Protege yet).
DELETE-CLASS
Deletes a class. The actual behavior of this command
is KBMS-specific. This might cause all subclasses
and instances to be deleted too, or it may link a subclass
with the parent class of this class.
DELETE-INSTANCE
Deletes an instance and all of its slots.
If this frame is a value of a relation on
another object, most KBMS will remove this
frame from those values in order to leave the
KB in a consistent state.
((:DELETE-INSTANCE "Joe Schmo"))
:DELETE-RELATION
Deletes a slot in Protege.
((:DELETE-RELATION headline))
Related links
previous next
Author: Micheal Hewett
Email: mhewett@users.sf.net
Last Updated: Monday, June 06, 2005