About owlapy
Version: owlapy 1.5.0
GitHub repository: https://github.com/dice-group/owlapy
Publisher and maintainer: DICE - data science research group of Paderborn University.
Contact: alkid@mail.uni-paderborn.de
License: MIT License
What is owlapy?
Owlapy is an open-source Python library designed for representing and manipulating OWL 2 ontologies, offering a robust foundation for knowledge graph and class expression learning projects in machine learning. Inspired by OWLAPI (which is also available to use in this library via synchronisation), Owlapy enables ontology creation, modification, and reasoning while supporting OWL 2 Structural Specification, Functional-Style Syntax, and advanced features such as parsing and rendering to Description Logics and Manchester syntax. With capabilities to convert OWL expressions into SPARQL queries and interfaces for ontology and reasoning, Owlapy is a powerful tool used in powerful libraries like Ontolearn and OntoSample.
What does owlapy have to offer?
Create, manipulate and save Ontologies.
Retrieving information from the signature of the ontology.
Reasoning over ontology.
Representation of (almost) every notation in OWL 2 Structural Specification and Functional-Style Syntax highlighting:
Entities, Literals, and Anonymous Individuals
Property Expressions
Data Ranges
Class Expressions
Axioms
Annotations
Construct complex class expressions.
Provide interfaces for OWL Ontology 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.
Enables OWLAPI to be easily used in our Python framework.
Compatible with well-known java reasoners such as HermiT, Pellet, etc.
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