Reputation: 542
I'm looking for a way to create/edit an ontology in python and perform some reasoning with it. From what I've read OWL seems to be the tool best suited for my project. At the moment I'm using python 2.7.5 and all of the libraries I've seen aren't maintained or supported anymore. Is there one out there that is still active?
Upvotes: 1
Views: 1734
Reputation: 111
I came across the [owlready2] package recently, and it seems to be pretty usable. Latest version was released April 5, 2024.
Owlready2 can:
- Import ontologies in RDF/XML, OWL/XML or NTriples format.
- Manipulate ontology classes, instances and annotations as if they were Python objects.
- Add Python methods to ontology classes.
- Re-classify instances automatically, using the HermiT reasoner.
Docs and tutorials available at Owlready2
You can install it using pip
pip install owlready2
Upvotes: 1