Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Calculations in Protégé

Robert Dave twisterstormm at
Mon Mar 12 20:03:11 PDT 2007

Samson Tu <swt <at>> writes:

> To add sqrt function to PAL, you need to write Java code to define and 
> implement the function as an extension of PAL's SingleArityFunction. 
> Take a look at 
> in the PAL source code. You can copy and modify this code to implement 
> sqrt() for PAL. Remember to list the newly added function in the 
> manifest file.
> Samson
> Robert Dave wrote:
> > Hello,
> > I would like to make some calculations in Protégé. I am using the module PAL
> > Constraints and only the operators +, -, * and / are available. I would like 
> > to use for example the function sqrt().
> > How can I bring the function sqrt() available in the PAL Constraints module?
> > Thanks in advance.
> > Robert

First, thanks for these information. 

Then, I found the PAL source code and I wrote a definition of the function sqrt.
Now, I have a file and I found the manifest file. However I don't know
how to get a file which could be used by Protégé.

Thanks a lot for your help.

More information about the protege-discussion mailing list