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] delete indivuduals

Maria M. maria.michou at gmail.com
Tue Mar 17 10:41:34 PDT 2009


If your ontology is stored in a file, do you save the updated ontology (the
one that does not consist the individual)?
This example works in my case...

Maria

On Tue, Mar 17, 2009 at 7:12 PM, farzit <achraff13 at hotmail.fr> wrote:

>
>
>
> I tried your example, the program recognised "your Individual" (in my case
> it is called "student1") but when i open my project this individual is not
> deleted.
> i don't know why
>
>
>
> Maria M. wrote:
> >
> > OWLIndividual yourIndividual =
> > (OWLIndividual)owlModel.getOWLIndividual("yourIndividual");
> > try{
> >   if(yourIndividual != null)
> >     yourIndividual.delete();
> > }catch(NullPointerException e) {
> >   e.printStackTrace();
> > }
> >
> > On Tue, Mar 17, 2009 at 3:52 PM, farzit <achraff13 at hotmail.fr> wrote:
> >
> >>
> >> Hi all,
> >> I'm working with protege 3.4 beta and and i'm implementing a java
> >> application to delete some individuals.
> >> is it possible? how can I do this? do you have an example?
> >> Thanks
> >> --
> >> View this message in context:
> >> http://www.nabble.com/delete-indivuduals-tp22559077p22559077.html
> >> Sent from the Protege - OWL mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> 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
> >>
> >
> > _______________________________________________
> > 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
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/delete-indivuduals-tp22559077p22563857.html
> Sent from the Protege - OWL mailing list archive at Nabble.com.
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20090317/6f017bb9/attachment.html>


More information about the protege-owl mailing list