clara

http://www.clara-rules.org/
eraserhd 2018-11-06T21:22:37.115100Z

queries are prioritized last (in terms of salience), I hope, right?

2018-11-06T22:06:29.115700Z

@eraserhd I’m can’t think of a reason where it’d matter how queries are “prioritized”

2018-11-06T22:06:51.116400Z

they just receive matches from facts that are currently in working memory

2018-11-06T22:07:05.116900Z

priority with :salience is about ordering when a rule is eligible to be fired

2018-11-06T22:07:18.117500Z

aka perform the action specified on its RHS, so this concept does not apply to queries

eraserhd 2018-11-06T22:08:30.118600Z

hmm, so if I have rules that insert and retract things that are queried, the query results aren't updated by the firing of a pseudo-rule?

eraserhd 2018-11-06T22:11:59.120200Z

(bad sentence, but hopefully the question is clear)

eraserhd 2018-11-06T22:29:06.121Z

OK, I see. They are their own thing.

2018-11-06T23:07:07.121900Z

Not sure I understand that question. But in general always fire rules before query. Not sure if that helps. Hah