Owlready2 0.8 est disponible !

Owlready2 est un module Python pour la programmation orientée ontologie. Il permet de charger des ontologies OWL 2.0 et de les manipuler de manière transparente en Python.

Voici les modifications des versions 0.6, 0.7 et 0.8 (les deux premières n'ayant duré que quelques heures) :

  • 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

La nouvelle version peut être téléchargé sur PyPI (Python Package Index) : https://pypi.python.org/pypi/Owlready2