Owlready2 0.43 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 version inclut un changement incompatible avec les précédentes: les literaux avec des languages différents sont désormais considérés comme différents. Par exemple:

  • locstr("Test", "en") != "Test"

  • locstr("Test", "en") != locstr("Test", "fr")

ce n'était pas le cas dans les versions précédentes, et cela causait des bogues et des confusion entre literaux.

J'en profite pour mentionner un nouveau projet: FullPy est un module Python pour concevoir des applications web entièrement en Python. Il utilise Owlready pour la persistance et la sémantique des données. Pour plus d'informations sur FullPy sont disponibles ici :

Suite à un bogue de dernière minute, il n'y a pas de version 0.42.

Voici les modifications :

  • INCOMPATIBLE CHANGE: Consider literal with different language as different

  • Support GRAPH clauses in SPARQL queries

  • World now supports custom lock (e.g. World(lock = ...))

  • Bugfixes: - Fix World(enable_thread_parallelism = True) (was named enable_gevent) - Fix blank nodes in rdflib_store - Fix FILTER in SPARQL when the filter was just after a recursive query - Fix recursive query in SPARQL involving variables in their right part - Fix SPARQL query with annotations containing entities - Fix property creation when using a Union in the '>>' syntax (e.g. class Prop((MyClass | MyOtherClass) >> str): pass) - Fix UMLS extraction in PyMedTermino2 - Fix Class IRI with brackets (or other special characters) when writing RDF/XML file

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

La danse

_images/danse.png
dans FullPy

FullPy 0.1 est disponible !

FullPy est un module Python pour développer des applications web client-server sémantiques, entièrement en Python.

Ceci est la première version de FullPy.

FullPy peut être téléchargé sur PyPI (Python Package Index) : https://pypi.python.org/pypi/fullpy

Les circuits courts

_images/circuit_court.png

Owlready2 0.41 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 version introduit un travail sur la parallélisation à base de threads. La lecture de gros fichiers OWL est désormais plus rapide (~ 25% plus rapide avec GO), et Owlready peut exécuter des requêtes SPARQL de manière parallélisée. Se référer à la doc plus plus d'info (https://owlready2.readthedocs.io/en/latest/sync.html).

Voici les modifications :

  • Parallelized huge OWL file parsing (about 25% faster on GO)

  • Parallelized SPARQL queries (see owlready2.sparql.execute_many() and execute(spawn = True))

  • Bugfixes: - Fix Class.INDIRECT_get_class_properties() with restriction on Inverse(Prop) - Fix Restriction of type HasSelf - Fix delattr in destroy_entity() - Fix blank nodes importation from RDFlib - Fix ', + and - in FTS search

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

Grand frère

_images/grand_frere.png

Roue arrière

_images/roue_arriere.png

Le charognard

_images/charognard.png

La rock star

_images/rock_star.png

Le deltoide

_images/deltoide.png

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

  • General class axiom support

  • Update Log4J in Pellet for security purpose

  • Add get_lang_first() for annotations.

  • Bugfixes: - Add trailing / to ontology URL if missing - Fix Individual.is_a when loading ontologies with individuals belonging to two classes, one being the descendant of the other - Fix datetime to make them XSD-compatible (thanks Lukas Müller) - Ensure that Things are properly initialized so that the __init__ method can be safely overwritten (thanks Lukas Müller) - Fix destroy_entity()

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

L'ordinateur

_images/lordinateur.png

Bonne année 2023 !

_images/voeux_2023.png

Les haricots en grain

_images/haricot.png