:IS-RELATION

Purpose

Succeeds if the argument is a relation.

Parameters

frame
A frame to be checked.

Examples

  (:IS-RELATION  Color)
  (:IS-RELATION  Length)
  (:IS-RELATION  ?x)

Success criteria

Succeeds if the frame is a relation.

Failure criteria

Fails if the frame is not a relation.

Notes

A relation in Algernon is equivalent to a slot in most frame-based KBMS.

Related commands


Back to...

Algernon commands
Algernon Documentation Central
Algernon home page