Try this:
(deftemplate Person
(slot Name (type STRING))
(multislot Ancestors)
)
(assert
(Person (Name "a")
(Ancestors (assert (Person (Name "b")))
(assert (Person (Name "c")))
)
)
)
(defrule removePersonReferences
(remove-person ?name)
?person <
Hi,
I'm trying to find the quickest way to setting references in slots to a
retracted fact to nil or remove them if in a multislot. For instance if I
have the following template:
(deftemplate Person
(slot Name (type STRING))
(multislot Ancestors)
)
and the following facts:
(assert
(Person (Name