Javier Oliva | 2 Jan 2005 07:31
Picon
Picon
Favicon

Re: PLEASE, delete my email form this list


thanks

Javier

----- Original Message -----
From: "Micheal Hewett" <hewett <at> hewetthome.net>
To: <protege-discussion <at> SMI.Stanford.EDU>
Sent: Sunday, January 02, 2005 2:37 AM
Subject: [protege-discussion] Re: What is the proper way of comparing Symbol
slots in Algernon

>
> When you use the double-quotes, does it work anyway
> despite the warning?  If so, just ignore the warning
> for now.  The problem might be the lower-case symbol.
> Try enclosing the symbol in OR-bars, as in |s1|.
> That is how to declare a lower-case symbol in LISP.
>
> Mike
>
>
> Begin forwarded message:
>
> > From: R H <rajamhayek <at> yahoo.com>
> > Date: December 16, 2004 12:33:41 PM PST
> > To: protege-discussion <at> SMI.Stanford.EDU
> > Subject: [protege-discussion] What is the proper way of comparing
> > Symbol slots in Algernon
> > Reply-To: protege-discussion <at> SMI.Stanford.EDU
> >
> >
> > Hi All,
> >
> > I have a Class A with Slot s that is of type Symbol
> > containing a list of symbols {s1, s2, s3}.  I created
> > an instance of class A named test and chose for the
> > slot s the symbol s1.
> >
> > In using Algernon, I tried the following:
> >
> > (ask ((:instance A ?a)(s ?a "s1")))
> >
> > I get a warning:
> > ** Algernon compiler WARNING: Slot argument '"s1"'
> > **     of type [STRING] is not of type [SYMBOL] in (s
> > ?a "s1")
> >
> > If I remove the double quote around s1, it fails
> > completely.  What is the proper way of comparing
> > Symbols in Algernon?
> >
> > Thanks
> > Raja
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > All your favorites on one personal page - Try My Yahoo!
> > http://my.yahoo.com
> > -----------------------------------------------------------------------
> > -------
> > To remove yourself from this list go to
> > http://protege.stanford.edu/lists.html
> >
>
> --------------------------------------------------------------------------
----
> To remove yourself from this list go to
http://protege.stanford.edu/lists.html
>
>

------------------------------------------------------------------------------
To remove yourself from this list go to http://protege.stanford.edu/lists.html


Gmane