Owlready2 0.47 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:

  • Support binary data: Python bytes are now mapped to XML base64Binary.

  • Bugfixes:

    • Fix OPTIONAL blocks in SPARQL queries that share variable outside the OPTIONAL block

    • Fix prop1[prop2 in OPTIONAL blocks in SPARQL queries

    • Fix individuals belonging to several classes when one of these classes has a OneOf construct including that individual

    • Fix descendants when using subclasses of ThingClass (as PyMedTermino2 does)

    • Fix and update pymedtermino2

    • Fix SPARQL queries with BIND and UNION

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