Abstract
The OWL ontology language is proving increasingly popular as a means of crafting formal, semantically-rich, models of information systems. One application of such models is the direct translation of a conceptual model to a set of executable artefacts. Current tool support for such translations lacks maturity and exhibits several limitations including a lack of support for reification, the open-world assumption, and dynamic classification of individuals as supported by OWL semantics. Building upon the state-of-the-art we present a mapping from OWL to Java that addresses these limitations, and its realisation in the form of a tool, Sapphire. We describe Sapphire’s design and present a preliminary evaluation that illustrates how Sapphire supports the developer in writing concise, type safe code compared to standard approaches while maintaining competitive runtime performance with standard APIs.
Chapter PDF
Similar content being viewed by others
References
Uschold, M.: Ontology-driven information systems: Past, present and future. In: Proceedings of Formal Ontology in Information Systems, pp. 3–18. IOS Press, Amsterdam (2008)
Goldman, N.M.: Ontology-oriented programming: Static typing for the inconsistent programmer. In: Fensel, D., Sycara, K., Mylopoulos, J. (eds.) ISWC 2003. LNCS, vol. 2870, pp. 850–865. Springer, Heidelberg (2003)
Vanden Bossche, M., Ross, P., MacLarty, I., Van Nu??elen, B., Pelov, N.: Ontology driven software engineering for real life applications. In: Proceedings of the 3rd International Workshop on Semantic Web Enabled Software Engineering (2007)
Kalyanpur, A., Jimenez, D.: Automatic mapping of OWL ontologies into Java. In: Proceedings of Software Engineering and Knowledge Engineering (2004)
OWL2Java : A Java code generator for OWL. Website (2011), http://www.incunabulum.de/projects/it/owl2java
The OWL API. Website (2011), http://owlapi.sourceforge.net/
Hobbs, J.R., Pan, F.: An ontology of time for the semantic web, vol. 3, pp. 66–85 (March 2004)
Bruneton, E., Lenglet, R., Coupaye, T.: ASM: A code manipulation tool to implement adaptable systems. In: Proceedings of Adaptable and Extensible Component Systems (2002)
The Mindswap Pet Ontology. Website (2011), http://www.mindswap.org/2003/owl/pet
Guo, Y., Pan, Z., Heflin, J.: LUBM: A benchmark for OWL knowledge base systems. Journal of Web Semantics 3, 158–182 (2005)
Website of the Jena Semantic Web Framework. Website (2011), http://jena.sourceforge.net/
Bizer, C., Cyganiak, R., Watkins, E.R.: NG4J – Named Graphs API for Jena. In: Proceedings of the 2nd European Semantic Web Conference, Heraklion, Greece (2005)
Vökel, M.: RDFReactor – from ontologies to programmatic data access. In: The Jena Developer Conference, Bristol, UK (2006)
Eberhart, A.: Automatic generation of Java/SQL based inference engines from RDF Schema and RuleML. In: Proceedings of the First International Semantic Web Conference, Chia, Sardinia, Italy, pp. 102–116. Springer, Heidelberg (2002)
TRAMP: Makes RDF look like Python data structures. Website (2011), http://www.aaronsw.com/2002/tramp/
Babik, M., Hluchy, L.: Deep integration of Python with web ontology language. In: Proceedings of the 2nd Workshop on Scripting for the Semantic Web, Budva, Montenegro (2006)
Poggi, A.: Developing ontology based applications with O3L. WSEAS Transactions on Computers 8, 1286–1295 (2009)
Jenabean: A library for persisting Java Beans to RDF. Website (2011), http://code.google.com/p/jenabean/
Sommer: Semantic object (medata) mapper. Website (2011), http://sommer.dev.java.net/
Spira: A linked data ORM for Ruby. Website (2011), https://github.com/datagraph/spira
Empire: A JPA implementation for RDF. Website (2011), https://github.com/clarkparsia/Empire
Sparta: a simple API for RDF. Website (2011), https://github.com/mnot/sparta/
Oren, E., Delbru, R., Gerke, S., Haller, A., Decker, S.: ActiveRDF: object-oriented semantic web programming. In: Proceedings of the 16th International Conference on World Wide Web, pp. 817–824. ACM, New York (2007)
Jastor: Typesafe, ontology driven RDF access from Java. Website (2011), http://jastor.sourceforge.net/
Puleston, C., Parsia, B., Cunningham, J., Rector, A.: Integrating object-oriented and ontological representations: A case study in java and OWL. In: Sheth, A.P., Staab, S., Dean, M., Paolucci, M., Maynard, D., Finin, T., Thirunarayan, K. (eds.) ISWC 2008. LNCS, vol. 5318, pp. 130–145. Springer, Heidelberg (2008)
Parreiras, F.S., Saathoff, C., Walter, T., Franz, T., Staab, S.: APIs a gogo: Automatic generation of ontology APIs. International Conference on Semantic Computing, 342–348 (2009)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Stevenson, G., Dobson, S. (2011). Sapphire: Generating Java Runtime Artefacts from OWL Ontologies. In: Salinesi, C., Pastor, O. (eds) Advanced Information Systems Engineering Workshops. CAiSE 2011. Lecture Notes in Business Information Processing, vol 83. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-22056-2_46
Download citation
DOI: https://doi.org/10.1007/978-3-642-22056-2_46
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-22055-5
Online ISBN: 978-3-642-22056-2
eBook Packages: Computer ScienceComputer Science (R0)