Owlready2 0.9 has been released!

Owlready is a Python module for ontology-oriented programming. It can load OWL 2.0 ontologies and manipulate them transparently in Python.

This new version allows the use of PostgresQL instead of SQLite3 (however, performances are usually lower). It also facilitate the access to SOME restrictions on classes, using the dotted notation “class.property”.

Here are the changes in version 0.9:

  • PostgresQL backend (in addition to SQLite3)
  • Add ‘exclusive = False’ option for SQLite3 backend (slower, but allows multiple uses)
  • Use unique index in sqlite3 quadstore on resources table
  • Optimize sqlite3 quadstore by caching IRI dict (5% faster)
  • Add == support for class construct
  • Add get_namespace() support on World
  • Add ‘existential restrictions as class properties’ feature
  • Bugfixes: - Fix imported ontologies - Fix saving ontologies in onto_path - Fix clear() on CallbackList - Fix bug in Class IRI in ontologies whose base IRI ends with a / - Fix imported ontologies in ontologies whose base IRI ends with a /

The new version be downloaded from PyPI (Python Package Index): https://pypi.python.org/pypi/Owlready2