GLaMoR: Consistency Checking of OWL Ontologies using Graph Language Models

Justin Mücke, Ansgar Scherp
4/26/2025
cs.AIcs.LG

Official code: JustinMuecke/GLaMoR (2 stars, GPL-3.0, last commit 2025-04-22).

Abstract

Semantic reasoning aims to infer new knowledge from existing knowledge, with OWL ontologies serving as a standardized framework for organizing information. A key challenge in semantic reasoning is verifying ontology consistency. However, state-of-the-art reasoners are computationally expensive, and their efficiency decreases as ontology sizes grow. While classical machine learning models have been explored for consistency checking, they struggle to capture complex relationships within ontologies. Large language models (LLMs) have shown promising results for simple reasoning tasks but perform poorly on structured reasoning. The recently introduced Graph Language Model (GLM) offers a way to simultaneously process graph-structured data and text. This paper proposes GLaMoR (Graph Language Model for Reasoning), a reasoning pipeline that transforms OWL ontologies into graph-structured data and adapts the GLM architecture for consistency checking. We evaluate GLaMoR on ontologies from the NCBO BioPortal repository, converting them into triples suitable for model input. Our results show that the GLM outperforms all baseline models, achieving $95\%$ accuracy while being 20 times faster than classical reasoners. The Code is accessible under: https://github.com/JustinMuecke/GLaMoR

View on arXivView PDF

Code Implementations(1)

GPL-3.0

This repository provides a framework for transforming OWL ontologies into a suitable data format, followed by training models to perform consistency checking. The goal is to automate the process of evaluating ontology consistency through machine learning models, ensuring that the ontologies meet the required logical structure.

20Apr 22, 20251 years agoGPL-3.0
large-language-modelsmachine-learningowl-apisemantic-websklearn+1 more

Similar Papers

Cite this paper

@article{mcke2025glamor,
  title  = {GLaMoR: Consistency Checking of OWL Ontologies using Graph Language Models},
  author = {Justin Mücke and Ansgar Scherp},
  year   = {2025},
  eprint = {2504.19023},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.19023v1}
}

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/2504.19023.svg)](https://codeofpaper.com/paper/2504.19023)

Discussion