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

The great table of ontologies

This big table summarize 5 notations used with formal ontologies in OWL: description logics, the syntax of the Protégé editor, the syntax of Owlready2 in Python, and the semantics in first-order logic and in set formula. Keep on hand when working on formal ontologies!

You can download the great table of ontologies.

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

Owlready2 0.5 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 is mostly a bugfix release.

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

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

The main new features of version 2 - 0.4 are:

  • the defined relations can be queried for a given individual (using the .get_properties(), .get_inverse_properties() and .get_relations() methods)

  • improvement of the .search() method, which now takes into account inheritance and inverse relations

  • optimisation of recursive request in SQL

  • several bug fixes

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

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

The 2 - 0.3 version of Owlready is mostly a bugfix release. It also add the ability to destroy entities from ontologies.

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

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

The 2 - 0.2 version of Owlready now includes a RDF/XML written in Python. This parser can load big files rapidly.

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

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

The 2 - 0.1 version of Owlready is a full rewrite that integrates an optimized RDF quadstore. It can now load big ontologies (several millions of RDF triples).

It can be downloaded from PyPI (Python Package Index): https://pypi.python.org/pypi/Owlready2

Towards Owlready 2...!

Owlready is a Python module for ontology-oriented programming. The version 2 currently under development keep the functionalities of the first version, but now relies on an optimized RDF quadstore in SQL. This version is now able to load big ontologies (several millions of RDF triples) with good performances.

The development version of Owlready2 is available here: https://bitbucket.org/jibalamy/owlready2

OwlReady at the STC 2016 conference

OwlReady and ontology-oriented programming were presented at the STC 2016 conference (Special Topic Conference). The article is available online and the presentation too. Please cite it if you use OwlReady!

Ontology-Oriented Programming for Biomedical Informatics
JB Lamy.
Studies in Health Technology and Informatics 2016 ; 221:64-68

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

Owlready 0.2 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.

The 0.2 version of Owlready fix some bugs on Windows related to execution of the Hermit Reasonner. It can be downloaded from PyPI (Python Package Index): https://pypi.python.org/pypi/Owlready

Owlready 0.1.1 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.

The 0.1.1 version of Owlready fix some installation bugs related to the copy of "hermit" and "locale" files. It can be downloaded from PyPI (Python Package Index): https://pypi.python.org/pypi/Owlready

Owlready at the IC 2005 French conference

Owlready has been presented at the French knowledge engineering conference (IC 2015) during the PFIA plateform. The article (in French) is available on HAL and the (French) presentation here.

Ontopy : programmation orientée ontologie en Python
JB Lamy, H Berthelot
IC2015

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

Owlready 0.1 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.

Owlready 0.1 has been released and can be downloaded from PyPI (Python Package Index): https://pypi.python.org/pypi/Owlready