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

  • Faster ontology loading (espescially when having a lot of small ontologies)

  • Add support for Full Text Search (FTS) in SPARQL (see FTS() SPARQL function)

  • Accept list as parameter in SPARQL queries when using the IN operator

  • Make prepared SPARQL queries picklable

  • Support DELETE SPARQL queries with free variables in the DELETE part

  • Improve DELETE SPARQL queries in order to delete IRI/storid of entirely deleted entities

  • Add support for SNOMED CT French translation in PyMedTermino2

  • Add function owlready2.pymedtermino2.umls.prune() to prune terminologies to the descendants of the given concepts

  • Add add_terminology() and add_term() methods in owlready2.pymedtermino2

  • Add owlready2.pymedtermino2.model.TerminologySearcher for fast search in terminologies

  • Bugfixes:

    • Fix RDF parsing of axiom with restriction in the optimized C-compiled module.

    • Properly close database when a World is destroyed

    • Use requests module for importing French ICD10 (urllib does not work)

    • Fix SPARQL query with fixed parameters

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