Re: JESS: How to use templates inside facts

2008-09-29 Thread levent kent
and tests to put th pieces back together again. Levent Kent wrote: Hi, I am a new user fo Jess and try to get some understanding for the engine. I cant understand why the code below does not work. (deffacts graph-links3 (link3 (gnode3 0 0) (gnode3 2 1)) ) Here, I am trying to describe

JESS: Architecture decisions

2008-10-08 Thread levent kent
that be easily possible to transform JessML to OWL if that is required in the future? Thanks for any responses, -- Levent Kent

JESS: Jess,Jade and protege

2008-10-08 Thread levent kent
are shown at command line but while loading the plugins it prints: installed plugin null null plugin has no plugin.xml resource any ideas? -- Levent Kent

Re: JESS: Jess,Jade and protege

2008-10-09 Thread levent kent
to work for me. On Oct 8, 2008, at 6:38 PM, levent kent wrote: Hi again, I am trying to buil the communcaiton between jess and protege. I did the following steps. 1) download and install protege 4.0 beta. 2) copy JessTab16.jar and jess.jar to protege/plugins directory. 3) copy

JESS: JessListener

2008-10-19 Thread levent kent
, but the function is never invoked, though I insert new facts to the working memory in run time. Any ideas? -- Levent Kent

Re: JESS: JessListener

2008-10-22 Thread levent kent
, 2008, at 2:26 PM, levent kent wrote: Hi, I am developing an academic application with Jess Jade. Is there any simple way to get all facts which are just inserted? Iterating over all the facts in working memory would be very inefficient, right? I actually tried to add a JessListener public

JESS: Listening to added facts

2008-10-30 Thread levent kent
Hello, one can catch the asserted and retracted facts in the knoledgebase by setting the event mask to JessEvent.FACT. How about catching only asserted facts(not retracted) or is there anyway to discriminate between them? thanks, -- Levent Kent

Re: JESS: Listening to added facts

2008-10-30 Thread levent kent
:30 AM, levent kent wrote: Hello, one can catch the asserted and retracted facts in the knoledgebase by setting the event mask to JessEvent.FACT. How about catching only asserted facts(not retracted) or is there anyway to discriminate between them? thanks, -- Levent Kent

JESS: Iteration over list

2009-07-28 Thread levent kent
at LHS of a rule. (defrule BuildPlanForward (depends-on (parent ?a) (children ?list)) (foreach ?c ?list (available-part (name ?c))) = (assert (available-part (name ?a))) ) How could I write such a rule in Jess? Thanks, -- Levent Kent

Re: JESS: Iteration over list

2009-07-28 Thread levent kent
. Try putting the foreach loop on the RHS of the rule, and most likely things will work as expected. (defrule BuildPlanForward (depends-on (parent ?a) (children ?list)) = (foreach ?c ?list (assert (available-part (name ?a - Nick. levent kent wrote: Hi everybody, I am doing

Re: JESS: Iteration over list

2009-07-28 Thread levent kent
-on (id ?x)(name ? ?n ?)) (not (available-part (name ?n) = (assert (available-part (name ?a))) ) -W On Tue, Jul 28, 2009 at 2:47 PM, levent kent thelev...@gmail.com wrote: Hi everybody, I am doing my masters thesis and have a problem with lists. It is actually very simple

Re: JESS: Iteration over list

2009-07-29 Thread levent kent
iteration to the children list elements of a *single* depends-on fact, i.e., the one matched in the initial CE. -W On Tue, Jul 28, 2009 at 5:31 PM, levent kent thelev...@gmail.com wrote: Thanks again, but I didn't get it. I don't have any slot named id or name. Idefined my templates as follows

JESS: multislot usage

2009-07-29 Thread levent kent
not understand what is going on in this simple code. Thanks for advance, -- Levent Kent