Fork me on GitHub
#clara
<
2018-11-06
>
eraserhd21:11:37

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

mikerod22:11:29

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

mikerod22:11:51

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

mikerod22:11:05

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

mikerod22:11:18

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

eraserhd22:11:30

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?

eraserhd22:11:59

(bad sentence, but hopefully the question is clear)

eraserhd22:11:06

OK, I see. They are their own thing.

mikerod23:11:07

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