[EMAIL PROTECTED] writes:
> What would be a good way to write such a rule. Here is my line of
> thought:
> I am trying to say: if count-query-results team-search returns 1,
> then a team
> value for the player already exists, and do not assert these facts (I
> am not clear how to write this as a Jess rule).
If it's a constant amount then you just need to make two matches, e.g.
for this problem you could do something like:
type ?x foosball_player
team ?x ?y
team ?x ?z&~?y
-> violation
--
- joe kopena
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------