Contextual Semantic Embeddings for Ontology Subsumption Prediction

Jiaoyan Chen, Yuan He, Yuxia Geng, Ernesto Jimenez-Ruiz, Hang Dong +1 more
2/20/2022
70 citations
cs.AIcs.CL

Official code: KRR-Oxford/DeepOnto (333 stars, Python, Apache-2.0, last commit 2026-04-29).

Abstract

Automating ontology construction and curation is an important but challenging task in knowledge engineering and artificial intelligence. Prediction by machine learning techniques such as contextual semantic embedding is a promising direction, but the relevant research is still preliminary especially for expressive ontologies in Web Ontology Language (OWL).

Show full abstract

In this paper, we present a new subsumption prediction method named BERTSubs for classes of OWL ontology. It exploits the pre-trained language model BERT to compute contextual embeddings of a class, where customized templates are proposed to incorporate the class context (e.g., neighbouring classes) and the logical existential restriction. BERTSubs is able to predict multiple kinds of subsumers including named classes from the same ontology or another ontology, and existential restrictions from the same ontology. Extensive evaluation on five real-world ontologies for three different subsumption tasks has shown the effectiveness of the templates and that BERTSubs can dramatically outperform the baselines that use (literal-aware) knowledge graph embeddings, non-contextual word embeddings and the state-of-the-art OWL ontology embeddings.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A package for ontology engineering with deep learning and language models.

33330Python, ScalaNov 21, 20217 months agoApache-2.0
deep-learninglanguage-modelontologiesontology-engineeringowlapi

Similar Papers

Cite this paper

@article{chen2022contextual,
  title  = {Contextual Semantic Embeddings for Ontology Subsumption Prediction},
  author = {Jiaoyan Chen and Yuan He and Yuxia Geng and Ernesto Jimenez-Ruiz and Hang Dong and Ian Horrocks},
  year   = {2022},
  eprint = {2202.09791},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.09791}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.09791.svg)](https://codeofpaper.com/paper/2202.09791)

Discussion