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

Tania Tudorache tudorache at stanford.edu
Tue Mar 17 12:00:11 PDT 2009


Probably save is missing.

Please upgrade to Protege 3.4 release, rather than using the beta version.

Tania

Maria M. wrote:
> 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 
> <mailto: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
>     <mailto: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
>     <mailto: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
>     <mailto: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 <mailto: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 
>   




More information about the protege-owl mailing list