[Swoop-devel] Implemented OWLEntityRemover (all references)
Aditya Kalyanpur
adityak at gmail.com
Sun Feb 20 03:18:35 EST 2005
All,
I've coded the function to remove ALL References of an Entity from an
Ontology. This was a major limitation of the OWL-API since one could
only remove the type assertion for an entity instead of cleanly
removing all its references. This made entity removal a very fragile
operation as the ontology was in a weird state thereafter in Swoop.
Also, this was an obvious feature that needed to be implemented at
some point.
Anyway, the function is in a separate class called
OWLEntityRemover.java in SwoopUtils. I've only begun testing this
(used it on Koala) and it seemed to work fine. We need to test it more
since there may be funky cases which may cause it to go into an
infinite recursive loop :-/
Main thing is its a clean implementation (no crappy string hacks
obviously) -- basically adds/removes changes to the ontology
appropriately. Once its thoroughly tested, we can add it to the main
OWL API so that it can be used more generally (outside of Swoop)
Cheers,
Aditya
More information about the Swoop-devel
mailing list