PERSPECTIVES OF ONTOLOGY REFACTORING
DOI:
https://doi.org/10.34185/1991-7848.itmm.2024.01.046Keywords:
ontology, refactoring, SPARQL, Ruby, patterns.Abstract
Existing ontologies are supplemented and expanded in scope, increasing their complexity. Over time, integration issues arise with adding new knowledge to an ontology and maintaining existing ones. The problem is exacerbated by the fact that ontologies typically incorporate knowledge from databases and annotated documents in natural language, significantly increasing the volume and complexity of ontologies. This paper focuses on processing and analyzing existing ontologies and applying specific refactoring methods to enhance ontology and improve the readability of presented knowledge for developers and users. The development of corresponding software and metrics is carried out to objectively demonstrate the effectiveness of refactoring methods. During the research process, a certain list of patterns was identified that can be used for ontology refactoring, and one of them was implemented – the "Property Raising" pattern – transferring a property to a superclass. As a result of testing, it was found that after applying this pattern, the volume of the original ontology data file decreased by 3-5%, provided that the subclass contained common properties that were passed to the superclass.
References
Gruber, T. R. (1993). A Translation Approach to Portable Ontology Specifications. Knowledge Acquisition, 5(2), 199-220.
Fernández-López, M., Gómez-Pérez, A., & Juristo, N. (1997). METHONTOLOGY: From Ontological Art Towards Ontological Engineering. Proceedings of the AAAI97 Spring Symposium Series on Ontological Engineering.
Noy, N. F., & McGuinness, D. L. (2001). Ontology Development 101: A Guide to Creating Your First Ontology. Stanford Knowledge Systems Laboratory Technical Report KSL-01-05.
Uschold, M., & Gruninger, M. (1996). Ontologies: Principles, Methods and Applications. The Knowledge Engineering Review, 11(2), 93-155.
Bechhofer, S., van Harmelen, F., Hendler, J., Horrocks, I., McGuinness, D. L., Patel-Schneider, P. F., & Stein, L. A. (2004). OWL Web Ontology Language Reference. W3C Recommendation.
Horridge, M., & Bechhofer, S. (2011). The OWL API: A Java API for OWL Ontologies. Semantic Web, 2(1), 11-21.
Staab, S., & Studer, R. (Eds.). (2004). Handbook on Ontologies. Springer