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

Cette nouvelle version inclut des optimizations, des corrections de bogues, et des améliorations dans le moteur SPARQL et la gestion des terminologies.

Voici les modifications :

  • Support custom Python-defined SPARQL functions (thanks Ehe)

  • Optimize STATIC SPARQL extention when used in simple union

  • Optimize SPARQL simple UNION on literals and paramaters

  • Support SPARQL queries using GROUP BY, HAVING, ORDER BY, LIMIT and/or OFFSET in subqueries

  • Support ORDER BY in SPARQL GROUP_CONCAT() aggregate function

  • Permits to customize XMLNS abbreviation for ontologies

  • Bugfixes:

    • Fix usage of OWL classes as individual's attribute value (e.g. individual.attribute = Class)

    • Fix BOUND() SPARQL function

    • Fix SPARQL queries with 2 recursive parts that refer to each other

    • Fix SPARQL queries with FILTER referring to variables inside a recursive part

    • Fix FILTER NOT EXISTS in SPARQL when using new variables

    • Fix string escape in dataproperty when using the Pellet reasoner (thanks Max Cutlyp)

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