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] How to delete a rule-Group?

Thomas Russ tar at ISI.EDU
Mon Feb 2 10:55:34 PST 2009

On Feb 2, 2009, at 6:19 AM, Michael Lodemann wrote:

> ... and another question:
> How do I delete a rule-Group?
> First I have to remove/delete all references from each S(Q)WRL rule by
> calling "rule.removeRuleGroup(groupName);" So far so good ... but  
> how do
> I remove/delete the rule-Group individual itself which I created with
> the following lines?
> ...
> OWLNamedClass ruleGroupClass =
> ruleModel.getOWLNamedClass("swrla:RuleGroup");
> DefaultOWLIndividual ruleGroupIndividual = (DefaultOWLIndividual)
> ruleGroupClass.createOWLIndividual(groupName);
> ...
> I know it's somewhere in the depth of the protege-api but I can't  
> find a
> fast and elegant way in a rush at all. Perhaps someone has it on the  
> tip
> of his/hers tongue.


More information about the protege-owl mailing list