Skip to content

owlapy 1.0.0

Compare
Choose a tag to compare
@alkidbaci alkidbaci released this 19 Apr 12:49
· 82 commits to main since this release
ea48dc9

We're happy to announce the new release - owlapy 1.0.0.

You can install/update using pip install -U owlapy.

What's Changed

API refactoring changes:

  • IMPORTANT: Method get_iri() for classes which inherit from HasIRI is now completely removed. OWL classes that inherit from HasIRI contain 2 new parameters iri (to get the IRI - used instead of get_iri() ) and str (to get string representation of that IRI)
  • model module is removed.
  • added modules: owl_ontology, owl_ontology_manager and owl_reasoning, each has respective classes that were previously located in model module.
  • providers.py is moved directly under owlapy. Naming of the methods of this module is changed from PascalCase to sneak_case.
  • removed module owl2sparql. owl2sparql.converter.py is now moved directly under owlapy module.
  • removed module data_ranges, added owl_data_ranges instead.
  • renamed types.py to owl_datatype.py.
  • renamed owlobject.py to owl_object.py.
  • moved class HasIndex from has.py to util.py. Removed has.py.
  • moved method move (renamed from MOVE) from _utils.py to util.py. Removed _utils.py.
  • conversion methods including: owl_expression_to_dl, owl_expression_to_manchester, dl_to_owl_expression, manchester_to_owl_expression, owl_expression_to_sparql can now be imported directly from owlapy.

Documentation Changes:

  • Changed docstrings for owl classes that correspond to entities from OWL 2 Specification according to description found in the specification. Link to the description is also included for each class in case someone is interested to read more.
  • Added "About" page in documentation.
  • Added "Usage" guide in documentation, showing the essence of owlapy through concrete examples.

Bug fixes:

  • fixed a bug where converting an OWLDataCardinalityRestriction expression to sparql the corresponding method would check for Object restrictions instead of Data restrictions.
  • for parser methods: dl_to_owl_expression and manchester_to_owl_expression you can now pass the namespace argument which is required to successfully parse the given expression.

Full Changelog: 0.1.3...1.0.0