:DELETE

Purpose

Deletes a single relation from the KBMS. A relation is equivalent to a single value of a slot of a frame in a frame-based KBMS.

Parameters

clause
The clause to be deleted.

Examples

  (:DELETE (Color   MyFrog Green))
  (:DELETE (Creates Microsoft RobustSoftware))

Success criteria

Succeeds if the relation exists in the KB.

Failure criteria

Fails if the relation does not exist in the KB.

Notes

This command should be used with care. Even though relation values are deleted, inferences made from those values are not deleted. Algernon does not currently support non-monotonic reasoning.

Related commands


Back to...

Algernon commands
Algernon Documentation Central
Algernon home page