Abstract
While OWL and RDF are by far the most popular logic-based languages for Semantic Web Ontologies, some well-designed ontologies are only available in languages with a much richer expressivity, such as first-order logic (FOL) or the ISO standard Common Logic. This inhibits reuse of these ontologies by the wider Semantic Web Community. While converting OWL ontologies to FOL is straightforward, the reverse problem of finding the closest OWL approximation of an FOL ontology is undecidable. However, for most practical purposes, a “good enough” OWL approximation need not be perfect to enable wider reuse by the Semantic Web Community.
This paper outlines such a conversion approach by first normalizing FOL sentences into a function-free prenex conjunctive normal (FF-PCNF) that strips away minor syntactic differences and then applying a pattern-based approach to identify common OWL axioms. It is tested on the over 2,000 FOL ontologies from the Common Logic Ontology Repository.
This material is based in part upon work supported by The National Science Foundation under grants OIA-1937099, OIA-2033607, and III-1565811.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
The last sentence is not logically equivalent but still contains the same subclass relationship as one direction of the biconditional.
- 2.
Data Properties are indistinguishable from Object Properties in FOL and not used.
- 3.
Their exact FOL encoding does not really matter after the normalization step.
- 4.
All Individuals encountered during parsing are declared as such in the OWL output.
- 5.
- 6.
- 7.
- 8.
PLY is a Python port of the standard Unix tools Lex and Yacc.
- 9.
https://docs.python.org/3/library/xml.etree.elementtree.html; the Owlready2 module was another option but writing axioms was not as straightforward.
- 10.
For the gwml2 and the simple_features we only work with the complete ontologies because the submodules are not particularly meaningful on their own.
- 11.
Full results are available from https://github.com/thahmann/macleod/blob/master/research/ISWC2021-experimental-data.xlsx and the OWL2 outputs are provided in https://colore.oor.net/ in the owl subfolder of each ontology hierarchy.
- 12.
Recall that universally quantified conjunctions are split into separate sentences.
- 13.
The 514 ontologies in [7] contain 618,260 classes but only 22,046 properties.
References
Baader, F., Horrocks, I., Sattler, U.: Description logics. In: Staab, S., Studer, R. (eds.) Handbook on Ontologies. IHIS, pp. 21–43. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-540-92673-3_1
Benevides, A.B., Bourguet, J.R., Guizzardi, G., Peñaloza, R., Almeida, J.: Representing a reference foundational ontology of events in SROIQ. Appl. Ontol. 14(3), 293–334 (2019). https://doi.org/10.3233/AO-190214
Borgida, A.: On the relative expressiveness of description logics and predicate logics. Artif. Intell. 82(1–2), 353–367 (1996). https://doi.org/10.1016/0004-3702(96)00004-5
Brachman, R.J., Levesque, H.J.: Knowledge Representation and Reasoning. Elsevier (2004)
Chalupsky, H.: OntoMorph: a translation system for symbolic knowledge. In: KR 2000, pp. 471–482. Morgan Kaufmann (2000)
Dou, D., McDermott, D., Qi, P.: Ontology translation on the semantic web. In: Spaccapietra, S., Bertino, E., Jajodia, S., King, R., McLeod, D., Orlowska, M.E., Strous, L. (eds.) Journal on Data Semantics II. LNCS, vol. 3360, pp. 35–57. Springer, Heidelberg (2005). https://doi.org/10.1007/978-3-540-30567-5_2
Eberhart, A., Shimizu, C., Chowdhury, S., Sarker, M.K., Hitzler, P.: Expressibility of OWL axioms with patterns. In: Verborgh, R., et al. (eds.) ESWC 2021. LNCS, vol. 12731, pp. 230–245. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-77385-4_14
García, J., García-Peñalvo, F.J., Therón, R.: A survey on ontology metrics. In: Lytras, M.D., Ordonez De Pablos, P., Ziderman, A., Roulstone, A., Maurer, H., Imber, J.B. (eds.) WSKS 2010. CCIS, vol. 111, pp. 22–27. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-16318-0_4
Gruber, T.R.: A translation approach to portable ontology specifications. Knowl. Acquis. 5(2), 199–220 (1993)
Grüninger, M., Hahmann, T., Hashemi, A., Ong, D., Ozgovde, A.: Modular first-order ontologies via repositories. Appl. Ontol. 7(2), 169–209 (2012). https://doi.org/10.3233/AO-2012-0106
Hahmann, T., Stephen, S.: Using a hydro-reference ontology to provide improved computer-interpretable semantics for the groundwater markup language (GWML2). Int. J. Geogr. Inf. Sci. 32(6), 1138–1171 (2018). https://doi.org/10.1080/13658816.2018.1443751
Hitzler, P., Parsia, B., Patel-Schneider, P., Rudolph, S.: OWL 2 Web Ontology Language Primer (Second Edition) (2012). https://www.w3.org/TR/owl2-primer/
ISO 24707:2018 Common Logic (CL): a framework for a family of logic-based languages (2018). https://www.iso.org/standard/66249.html
Menzel, C.: Reference Ontologies - Application Ontologies: Either/Or or Both/And? In: WS on Reference and Application Ontologies at KI-03 (2003)
Mossakowski, T., Codescu, M., Neuhaus, F., Kutz, O.: The distributed ontology, modeling and specification language – DOL. In: Koslow, A., Buchsbaum, A. (eds.) The Road to Universal Logic. SUL, pp. 489–520. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-15368-1_21
Mossakowski, T., Maeder, C., Lüttich, K.: The heterogeneous tool set, Hets. In: Grumberg, O., Huth, M. (eds.) TACAS 2007. LNCS, vol. 4424, pp. 519–522. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-71209-1_40
Motik, B., Patel-Schneider, P., Parsia, B.: OWL 2 Web Ontology Language Structural Specification and Functional-Style Syntax (Second Edition) (2012). https://www.w3.org/TR/owl2-syntax/
Sarker, M.K., Krisnadhi, A., Carral, D., Hitzler, P.: Rule-based OWL modeling with ROWLTab Protégé plugin. In: Blomqvist, E., Maynard, D., Gangemi, A., Hoekstra, R., Hitzler, P., Hartig, O. (eds.) ESWC 2017. LNCS, vol. 10249, pp. 419–433. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-58068-5_26
Sicilia, M., Rodríguez, D., García-Barriocanal, E., Sánchez-Alonso, S.: Empirical findings on ontology metrics. Expert Syst. Appl. 39(8), 6706–6711 (2012). https://doi.org/10.1016/j.eswa.2011.11.094
Stephen, S., Hahmann, T.: Model-finding for externally verifying FOL ontologies: a study of spatial ontologies. In: International Conference on Formal Ontologies in Information Systems (FOIS 2020), pp. 233–248. IOS Press (2020). https://doi.org/10.3233/FAIA200675
Wu, Z., Fokoue, A., Grau, B., Horrocks, I., Motik, B.: OWL 2 Web Ontology Language Profiles (Second Edition) (2012). https://www.w3.org/TR/owl2-profiles/
Acknowledgment
We thank the four anonymous reviewers for their comments and suggestions that helped improve the final version.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Hahmann, T., Powell II, R.W. (2021). Automatically Extracting OWL Versions of FOL Ontologies. In: Hotho, A., et al. The Semantic Web – ISWC 2021. ISWC 2021. Lecture Notes in Computer Science(), vol 12922. Springer, Cham. https://doi.org/10.1007/978-3-030-88361-4_15
Download citation
DOI: https://doi.org/10.1007/978-3-030-88361-4_15
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-88360-7
Online ISBN: 978-3-030-88361-4
eBook Packages: Computer ScienceComputer Science (R0)