I have this homework(I'm a student), in CLIPS, however I can't make any progress, despite searching on google, and spending some time on it.
(clear)
(deftemplate book
(multislot surname)(slot name)(multislot title)
)
(book (surname J.P.)(name Dubreuil)(title History of francmasons))
(book (surname T.)(name Eker)(title Secrets of millionaire mind))
(defrule find_title
?book<-(book(name Eker))
=>
(printout t ?book crlf)
)
What I eventually get is this error: "Expected the beginning of a construct". Any ideas please?