Owlready2 0.8 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.

Here are the changes in versions 0.6, 0.7 and 0.8 (the first two have lasted only a few hours):

  • Add set_datatype_iri() global function for associating a Python datatype to an IRI

  • Add nquads ontology format (useful for debugging)

  • Add support for dir() on individuals

  • Add support for ontology using https: protocol (thanks Samourkasidis Argyrios)

  • Add observe module (for registering callback when the ontology is modified)

  • Improve docs

  • Bugfixes: - Align Python floats with xsd:decimal rather than xsd:double, finally, because decimal accepts int too - Fix Class.instances() so as it returns instances of subclasses (as indicated in the doc) - Fix direct assignation to Ontology.imported_ontologies - Fix a bug in reasoning, when adding deduced facts between one loaded and one non-loaded entity - Fix search(prop = "value") when value is a string and the ontology uses localized string

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