JOPA: Accessing Ontologies in an Object-oriented Way

Martin Ledvinka, Petr Křemen


Accessing OWL ontologies programmatically by complex IT systems brings many problems stemming from ontology evolution, their open-world nature and expressiveness. This paper presents Java OWL Persistence API (JOPA), a persistence layer that allows using the object-oriented paradigm for accessing semantic web ontologies. Comparing to other approaches, it supports validation of the ontological assumptions on the object level, advanced caching, transactional approach, unification and optimization of repository access through the OntoDriver component, as well as accessing multiple repository contexts at the same time. Additionally, we present a complexity analysis of OntoDriver operations that allows optimizing object-oriented access performance for underlying storage mechanisms. Last but not least, we compare our object-oriented solution to low level Sesame API in terms of efficiency.


  1. Bishop, B., Kiryakov, A., Ognyanoff, D., Peikov, I., Tashev, Z., and Velkov, R. (2010). OWLIM: A family of scalable semantic repositories. Semantic Web - Interoperability, Usability, Applicability.
  2. Broekstra, J., Kampman, A., and van Harmelen, F. (2002). Sesame: A Generic Architecture for Storing and Querying RDF and RDF Schema. In Proceedings of the First International Semantic Web Conference on The Semantic Web, pages 54-68.
  3. Carroll, J. J., Dickinson, I., Dollin, C., Reynolds, D., Seaborne, A., and Wilkinson, K. (2004). Jena: implementing the semantic web recommendations. In Proceedings of the 13th international World Wide Web conference (Alternate Track Papers & Posters), pages 74-83.
  4. Comer, D. (1979). The Ubiquitous B-Tree. Computing Surveys, 11(2).
  5. Cyganiak, R., Wood, D., and Lanthaler, M. (2014). RDF 1.1 Concepts and Abstract Syntax. Technical report, W3C.
  6. Erling, O. (2012). Virtuoso, a Hybrid RDBMS/Graph Column Store. IEEE Data Engineering Bulletin, 35(1):3- 8.
  7. Gearon, P., Passant, A., and Polleres, A. (2013). SPARQL 1.1 Update. Technical report, W3C.
  8. Harris, S. and Seaborne, A. (2013). SPARQL 1.1 Query Language. Technical report, W3C.
  9. Hepp, M., de Leenheer, P., de de Moor, A., and Sure, Y. (2007). Ontology Management: Semantic Web, Semantic Web Services, and Business Applications. Springer.
  10. Horridge, M. and Bechhofer, S. (2011). The OWL API: A Java API for OWL ontologies. Semantic Web - Interoperability, Usability, Applicability.
  11. Horrocks, I., Kutz, O., and Sattler, U. (2006). The even more irresistible SROIQ. In Proc. of the 10th Int. Conf. on Principles of Knowledge Representation and Reasoning (KR 2006), pages 57-67.
  12. JCP (2009). JSR 317: JavaT M Persistence API, Version 2.0.
  13. Kr?emen, P. (2012). Building Ontology-Based Information Systems. PhD thesis, Czech Technical University, Prague.
  14. Kr?emen, P. and Kouba, Z. (2012). Ontology-Driven Information System Design. IEEE Transactions on Systems, Man, and Cybernetics: Part C, 42(3):334-344.
  15. Ledvinka, M. and Kr?emen, P. (2014). JOPA: Developing Ontology-Based Information Systems. In Proceedings of the 13th Annual Conference Znalosti 2014.
  16. Ma, L., Yang, Y., Qiu, Z., Xie, G., Pan, Y., and Liu, S. (2006). Towards a Complete OWL Ontology Benchmark. In ESWC'06 Proceedings of the 3rd European conference on The Semantic Web: research and applications, pages 125-139.
  17. Meditskos, G. and Bassiliades, N. (2008). A Rule-Based Object-Oriented OWL Reasoner. IEEE Transactions on Knowledge and Data Engineering, 20(3):397-410.
  18. Motik, B., Parsia, B., and Patel-Schneider, P. F. (2009). OWL 2 Web Ontology Language Structural Specification and Functional-Style Syntax. W3C recommendation, W3C.
  19. Ontotext (2014). GraphDB-SE-GraphDB6-Ontotext Wiki. GraphDB-SE+Indexing+Specifics.
  20. Poggi, A. (2009). Developing Ontology Based Applications with O3L. WSEAS Trans. on Computers.
  21. Sirin, E., Parsia, B., Grau, B. C., Kalyanpur, A., and Katz, Y. (2007). Pellet: A practical OWL-DL reasoner. Web Semantics: Science, Services and Agents on the World Wide Web, 5(2).
  22. Stardog (2014). Stardog Docs.
  23. Tao, J., Sirin, E., Bao, J., and McGuinness, D. L. (2010). Integrity Constraints in OWL. In Fox, M. and Poole, D., editors, AAAI. AAAI Press.
  24. Zhou, Y., Grau, B. C., Horrocks, I., Wu, Z., and Banerjee, J. (2013). Making the Most of your Triple Store: Query Answering in OWL 2 Using an RL Reasoner. In Proceedings of the 22nd international conference on World Wide Web.

Paper Citation

in Harvard Style

Ledvinka M. and Křemen P. (2015). JOPA: Accessing Ontologies in an Object-oriented Way . In Proceedings of the 17th International Conference on Enterprise Information Systems - Volume 2: ICEIS, ISBN 978-989-758-097-0, pages 212-221. DOI: 10.5220/0005400302120221

in Bibtex Style

author={Martin Ledvinka and Petr Křemen},
title={JOPA: Accessing Ontologies in an Object-oriented Way},
booktitle={Proceedings of the 17th International Conference on Enterprise Information Systems - Volume 2: ICEIS,},

in EndNote Style

JO - Proceedings of the 17th International Conference on Enterprise Information Systems - Volume 2: ICEIS,
TI - JOPA: Accessing Ontologies in an Object-oriented Way
SN - 978-989-758-097-0
AU - Ledvinka M.
AU - Křemen P.
PY - 2015
SP - 212
EP - 221
DO - 10.5220/0005400302120221