|
From: Marcello L. <le...@dt...> - 2008-07-09 14:46:22
|
hi, in the main page of the OWLAPI project there are some exmples and one of them is about SWRL rules construction. If u want to apply the rules this is done by pellet reasoner by simply running the classify() method (by default Pelett processed SWRL rules, you have to set this option in the reasoner in order to skip SWRL rules). Otherwise you need another Rule Engine such as Jess. OWLAPI does not provide an engine fr running rules or making reasoning. OWLAPI is a framework for writing, managing and reading owl ontologies and provides an interface to the reasoners. The reasoner itself does the reasoning and can apply rules. so depending on the rule engine you decide to use there will be different procedures for running the rules. Personally if you have simple rules use Pellet, otherwise I use Jess Rules, which is not free for commercial applications, if the rules are more complicated (pellet was bloody slow in some cases). Pellet is intergated well with OWLAPI interface, jessrules is not integrated and then you need to convert owl into the propietary format of Jessrules, apply tehr ules and reconvert the final results in the ontology. Soooo up to you. Saluti, Marcello. Il giorno 09/lug/08, alle ore 13:29, Fani ha scritto: > Hello, > Can anybody say me where I can find any example about execution of > SWRL rules by using OWL API? > > Thanks in advance. > > Regards, > Fani > > > > ---------------------------------------------------------------------- > --- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Owlapi-developer mailing list > Owl...@li... > https://lists.sourceforge.net/lists/listinfo/owlapi-developer Marcello Leida Ph.D. Student Dipartimento Tecnologie del'Informazione via Bramante, 65 26013 Crema, (CR) Italy skype: biancanevo office: (+39)0373259662 fax: (+39)0373253530 mobile: (+39)3394193141 email: le...@dt... home: http://dti.unimi.it/~leida |