Saban you are right, I have already used a constructor which
passes the name of each instance as a parameter,

Thanx!!!

On Mon, 24 Nov 2008, Saban Ozsariyildiz - CITG wrote:

> how about adding a constructor with state in java?
>
> ________________________________
>
> From: [EMAIL PROTECTED] on behalf of John Chrysakis
> Sent: Thu 11/20/2008 3:40 PM
> To: jess-users@sandia.gov
> Subject: Re: JESS: Generic Rules Modelling for using OWL Ontology
>
>
>
>
> Another problem for this issue is:
>
> How to massively fill in the slots for all the shadow facts?
>
>
> (?door1 setState "open")
> (?door2 setState "open")
> (?door3 setState "closed")
> ...etc
>
> I'm waiting for your answer,
>
> thanks,
>
>
> On Mon, 17 Nov 2008, John Chrysakis wrote:
>
> >
> > I am using an owl ontology through protege-owl api. Each OwlClass
> > (corresponds to a deftepmlate) and has instances(OwlIndividuals) and
> > properties (OwlProperties)
> > I need to model the ontology in such way as I could write rules in general
> > form with the
> > elements of this ontology. I Need some ideas for this...
> >
> > For example instead of having getDoor1State and getDoor2state I need to
> > have a generic slot
> > DoorState in which I can pass as parameter the Door1, Door2.
> > Is it possible? Or I have to write for each instance of each property a
> > getXXX method...
> >
> > Thanks for your time.
> >
> > John.
> > -----------------------------------------------------
> >
> >
> >
> > --------------------------------------------------------------------
> > 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]
> > --------------------------------------------------------------------
> >
> >
>
>
> --------------------------------------------------------------------
> 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]
> --------------------------------------------------------------------
>
>
>
>


--------------------------------------------------------------------
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]
--------------------------------------------------------------------

Reply via email to