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-owl] SWRL RuleGroup Problem

Martin O'Connor martin.oconnor at stanford.edu
Thu Aug 7 10:47:12 PDT 2008


I'll take a look at this.

Martin

Sandro Rama Fiorini wrote:

>Hi,
>
>    I am trying to use the rule group feature of the SWRL API, but it is 
>not working. I am using the method
>
>        SWRLRuleEngineBridge.importSWRLRulesAndOWLKnowledge(Set<String> 
>ruleGroupNames)
>
>    with a set containing multiple groups, but it simply ignore the 
>groups. I was expecting that it could execute all the rules of all 
>ruleGroupNames.
>
>    Debugging inside the Protege code, I found that the SWRL Bridge 
>tries to find and execute rules that are in ALL the rule groups, that 
>is, an intersection between the groups. This behaviour is given by the 
>methods
>
>    SWRLFactory.getImps(Set<String> ruleGroupNames, boolean isEnabled)
>   
>    and
>
>    DefaultSWRLImp.isInRuleGroups(Set<String> names)
>
>    So, it can retrieve the rules of each group, but cannot import then 
>since the groups are "disjoint". Is this the correct behaviour?
>
>Thanks,
>Sandro Rama Fiorini
>   
>
>   
>_______________________________________________
>protege-owl mailing list
>protege-owl at lists.stanford.edu
>https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
>Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
>
>  
>




More information about the protege-owl mailing list