queries are prioritized last (in terms of salience
), I hope, right?
@eraserhd I’m can’t think of a reason where it’d matter how queries are “prioritized”
they just receive matches from facts that are currently in working memory
priority with :salience
is about ordering when a rule is eligible to be fired
aka perform the action specified on its RHS, so this concept does not apply to queries
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?
(bad sentence, but hopefully the question is clear)
OK, I see. They are their own thing.
Not sure I understand that question. But in general always fire rules before query. Not sure if that helps. Hah