[Pellet-users] Rules API in pellet

Evren Sirin evren at clarkparsia.com
Wed May 16 14:07:32 UTC 2007


You don't need any utility function. You can directly load the SWRL file 
into Pellet and rules will be parsed correctly. You can either use the 
OWLAPI or Jena interface as both loaders handle SWRL. You will get an 
error if an unsupported feature, e.g. SWRL built-in function, is used.

Cheers,
Evren

On 5/16/07 10:02 AM, sjtirtha wrote:
> Hi,
>  
> some mails in this mailing list show the example of swrl programming 
> using pellet api.
>  
> I'm using now the newest Pellet 1.4 and I don't find class RuleUtils.
>  
> This class is used in some example in this mailing list to parse the 
> rules files into "Set".
>  
> Set rules = RuleUtils.parseRules( rulesFile );
>  
> Which class can I use instead RuleUtils ?
>  
> Steve
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pellet-users mailing list
> Pellet-users at lists.owldl.com
> http://lists.owldl.com/mailman/listinfo/pellet-users
> _______________________________________________
>
> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/



More information about the Pellet-users mailing list