Class InsertRecord

java.lang.Object
org.projog.core.predicate.AbstractSingleResultPredicate
org.projog.core.predicate.builtin.db.InsertRecord
All Implemented Interfaces:
KnowledgeBaseConsumer, PredicateFactory

public final class InsertRecord extends AbstractSingleResultPredicate
recorda(X,Y,Z) / recordz(X,Y,Z) - associates a term with a key.

recorda(X,Y,Z) associates Y with X. The unique reference for this association will be unified with Z. Y is added to the start of the list of terms already associated with X.

recordz(X,Y,Z) associates Y with X. The unique reference for this association will be unified with Z. Y is added to the end of the list of terms already associated with X.