Search Mailing List Archives
[protege-discussion] PAL syntax
jason clark
clark376 at gmail.com
Fri Apr 18 06:55:24 PDT 2008
Thanks for the response that did work for me although I am still not sure
how to actually "see the results" of those customers that are actually over
25. Instead, I just get a red not sign under the status column. Do I need
something like customer_NAME?
Thanks,
J
On Thu, Apr 17, 2008 at 10:27 PM, Samson Tu <swt at stanford.edu> wrote:
>
> You can find documentation of PAL syntax at
>
> http://protege.stanford.edu/plugins/paltabs/pal-documentation/
>
> PAL uses prefix notation, so your query should be
>
> (findall ?customer (> (age ?customer) 25))
>
> If you are using Protege frame, the better place to ask questions about
> PAL is protege-discussion at lists.stanford.edu
>
> jason clark wrote:
> > How do you write a simple PAL syntax to find all people who are over 25
> > years old? The best I can do after about 4 hours is this:
> >
> >
> > (defrange ?customer :FRAME Customer)
> >
> > (findall ?customer(
> > age ?customer) > 25))
> >
> > I am obviously a newbie and I desperately need help!
> >
> > Thanks,
> >
> > Jason
>
> --
> Samson Tu email: swt at stanford.edu
> Senior Research Scientist web: www.stanford.edu/~swt/<http://www.stanford.edu/%7Eswt/>
> Center for Biomedical Informatics Research phone: 1-650-725-3391
> Stanford University fax: 1-650-725-7944
>
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20080418/186c9a2e/attachment.html>
More information about the protege-discussion
mailing list