I think John wrote:
>
> > (MAIN::object (is-a A) (OBJECT ?ab) (ID $?b "111" $?a))
>
> However, when I use the variable $?a in the RHS, it gives me a error message
> stating that, no such variable a.
You should be able to use it just fine; check your work, or show us
the rule that's having the pr
Hi,Thank you Ernest for your help, it worked.> (MAIN::object (is-a A) (OBJECT ?ab) (ID $?b "111" $?a))However, when I use the variable $?a in the RHS, it gives me a error message stating that, no such variable a.
I was stuck up with one more bug. Why does a slot-set in RHS of a rule creates an inf
I think John wrote:
>
> However,
>
> (defrule match
> (MAIN::object (is-a A) (OBJECT ?ab) (ID $?b "111" $?a))
> (MAIN::object (is-a B) (OBJECT ?bb) (listofA $?before ?ab $?after))
> (MAIN::object (is-a C) (OBJECT ?cc) (listofB $?before ?bb $?after))
> =>)
>
> the above rule never activates. Th
Like Ernest, I was confused by the terminology being used to describe
the problem, until I loaded the Protege project and saw what you are
trying to do. I think the JESS rule you want is (minus the back-slashes
and spaces):
(defrule simple-multi-multi-match
(object (is-a Hello)(OBJECT ?he
I think John wrote:
> It is fascinating as well as frustrating as solving problem bring forth new
> ones.
Frustrating, indeed. There are two quite different sets of terminology
and concepts all smushed together in this thread (Jess and Protege)
and although I can guess at what's being discussed a
Hi Dona,It is fascinating as well as frustrating as solving problem bring forth new ones. Honestly, I dont know how the error vanished off my screen. I was trying something else and incidently the bug buggered off.
However, I dont see any difference in your code and mine. I reckon the problem is w
Hi all,Dona, I figured a way to match multislots with multislot instance. However Im not able to solve the error you pointed out. Any help will be great.thx in advance.JFC
On 6/27/06, John <[EMAIL PROTECTED]> wrote:
Hi Dona,thx for helping me out. But what if the slot "Resource ID" is itself a mult
Hi Dona,thx for helping me out. But what if the slot "Resource ID" is itself a multislot? how do I match multislot to a multislot of instances?Thx for your time.John Felix C J
On 6/23/06, Dona Mommsen <[EMAIL PROTECTED]> wrote:
Hi John,I was trying to reproduce John's small example and I was convin
Hi John,
I was trying to reproduce John's small example and I was convinced that
matching multislots with Protege is possible.
I used the model described by John (see below).
I created 4 Instances of Hello with Resource\ ID 1 through 4
I created 3 Instances of Node\ Spoof:
Behavior\ ID A Resou