CLIPS EXPERT SYSTEM BASED ON RETE NETWORK MYCIN DIAGNOSTIC SYSTEM'S ONE RULE https://www.csie.ntu.edu.tw/~sylee/courses/clips/design.htm The following MYCIN rule IF The stain of the organism is gramneg and The morphology of the organism is rod and The patient is a compromised host THEN There is suggestive evidence (0.6) that the identity of the organism is pseudomonas can be rewritten in CLIPS: (defmodule IDENTITY (import OAV deftemplate oav)) (defrule IDENTITY::MYCIN-to-CLIPS-translation (declare (auto-focus TRUE)) (oav (object organism) (attribute stain) (value gramneg) (CF ?C1)) (oav (object organism) (attribute morphology) (value rod) (CF ?C2)) (oav (object patient) (attribute is a) (value compromised host) (CF ?C3)) (test (> (min ?C1 ?C2 ?C3) 0.2)) => (bind ?C4 (* (min ?C1 ?C2 ?C3) 0.6)) (assert (oav (object organism) (attribute identity) (value pseudomonas) (CF ?C4))))