I am using Jess with Protege.
I want to write a rule that says:
run when you get an oject FOO with a non-empty slot called 'name'
and where there is no fact foo with property bar equal to the slot value.
I would intuitively wirte that this way:
(defrule doStuff "" ?o <- (object (is-a FOO) (name ?
>> I am using Jess with Protege. I want to write a rule that says: run
>> when you get an oject FOO with a non-empty slot called 'name' and
>> where there is no fact foo with property bar equal to the slot
>> value. I would intuitively wirte that this way:
>
> (defrule doStuff ""
> ?o <- (objec