About owlapy

Version: owlapy 1.3.2

GitHub repository: https://github.com/dice-group/owlapy

Publisher and maintainer: DICE - data science research group of Paderborn University.

Contact: onto-learn@lists.uni-paderborn.de

License: MIT License


What is owlapy?

Owlapy is an open-source software library in python that is used to represent entities in OWL 2 Web Ontology Language.

We identified the gap of having a library that will serve as a base structure for representing OWL entities and for manipulating OWL Ontologies in python, and like that, owlapy was created. Owlapy is loosely based on its java-counterpart, owlapi. Owlapy is currently utilized by powerful libraries such as Ontolearn and OntoSample.

Owlapy is the perfect choice for machine learning projects that are built in python and focus on knowledge graphs and class expression learnings.


What does owlapy have to offer?

  • Create, manipulate and save Ontologies.

  • Retrieving information from the signature of the ontology.

  • Reasoning over ontology.

  • Represent every notation in OWL 2 Structural Specification and Functional-Style Syntax including:

    • Entities, Literals, and Anonymous Individuals

    • Property Expressions

    • Data Ranges

    • Class Expressions

    • Axioms

    • Annotations

  • Construct complex class expressions.

  • Provide interfaces for OWL Ontology, Ontology manager and Reasoner.

  • Convert owl expression to SPARQL queries.

  • Render owl expression to Description Logics or Manchester syntax.

  • Parse Description Logics or Manchester expression to owl expression.

How to install?

Installation from source:

git clone https://github.com/dice-group/owlapy
conda create -n temp_owlapy python=3.10.13 --no-default-packages && conda activate temp_owlapy && pip3 install -e .

or using PyPI:

pip3 install owlapy