CLIPS accessing a property of a property
问题 I read in this SO answer that it is better to explicitly retrieve the slot value by matching it rather than using the slot accessor as this will cause the condition to be reevaluated whenever the slot value changes What if I want to access the property of a property? For example, given two instances a and b of classes A and B , respectively. a has a property called ref_to_b which is a reference to b . b has a property called some_prop_of_b . How do I match the following: a with ref_to_b equal