Skip to main content

Automatically Extracting OWL Versions of FOL Ontologies

  • Conference paper
  • First Online:
The Semantic Web – ISWC 2021 (ISWC 2021)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 12922))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    The last sentence is not logically equivalent but still contains the same subclass relationship as one direction of the biconditional.

  2. 2.

    Data Properties are indistinguishable from Object Properties in FOL and not used.

  3. 3.

    Their exact FOL encoding does not really matter after the normalization step.

  4. 4.

    All Individuals encountered during parsing are declared as such in the OWL output.

  5. 5.

    http://colore.oor.net/bipartite_incidence/owl/interval_incidence.all.owl.

  6. 6.

    https://github.com/stain/profilechecker.

  7. 7.

    https://github.com/thahmann/macleod.

  8. 8.

    PLY is a Python port of the standard Unix tools Lex and Yacc.

  9. 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. 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. 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. 12.

    Recall that universally quantified conjunctions are split into separate sentences.

  13. 13.

    The 514 ontologies in [7] contain 618,260 classes but only 22,046 properties.

References

  1. 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

    Chapter  Google Scholar 

  2. 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

    Article  Google Scholar 

  3. 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

    Article  MathSciNet  Google Scholar 

  4. Brachman, R.J., Levesque, H.J.: Knowledge Representation and Reasoning. Elsevier (2004)

    Google Scholar 

  5. Chalupsky, H.: OntoMorph: a translation system for symbolic knowledge. In: KR 2000, pp. 471–482. Morgan Kaufmann (2000)

    Google Scholar 

  6. 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

    Chapter  MATH  Google Scholar 

  7. 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

    Chapter  Google Scholar 

  8. 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

    Chapter  Google Scholar 

  9. Gruber, T.R.: A translation approach to portable ontology specifications. Knowl. Acquis. 5(2), 199–220 (1993)

    Article  Google Scholar 

  10. 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

    Article  Google Scholar 

  11. 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

    Article  Google Scholar 

  12. 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/

  13. ISO 24707:2018 Common Logic (CL): a framework for a family of logic-based languages (2018). https://www.iso.org/standard/66249.html

  14. Menzel, C.: Reference Ontologies - Application Ontologies: Either/Or or Both/And? In: WS on Reference and Application Ontologies at KI-03 (2003)

    Google Scholar 

  15. 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

    Chapter  MATH  Google Scholar 

  16. 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

    Chapter  Google Scholar 

  17. 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/

  18. 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

    Chapter  Google Scholar 

  19. 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

    Article  Google Scholar 

  20. 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

  21. 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/

Download references

Acknowledgment

We thank the four anonymous reviewers for their comments and suggestions that helped improve the final version.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Torsten Hahmann .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics