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
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
Owlready2 0.39 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 :
Make RDF triple deletion non-ontology-specific
Faster creation of individual with property value (e.g. MyClass(prop = [value]))
Bugfixes: - Fix entity.prop.remove(x) and entity.prop = x when existing values are defined in another ontology than the entity - Fix inverse property update when referenced entity is destroyed (thanks Franzlst) - Prevent reasoners from reparenting OWL base entities such as Thing - Fix the reloading of an ontology that has been destroyed, when a local filename is provided as the ontology base IRI - Fix destroying object property involved in a property chain - Fix reloading of ontologies when the IRI of the ontology was a local filename - Fix SELECT * in SPARQL coumpound queries - Fix Class.get_class_properties() when some properties are defined as restriction on an Inverse property - Fix for RDFlib 0.6.2 (supports bind() override optional argument)
La nouvelle version peut être téléchargé sur PyPI (Python Package Index) : https://pypi.python.org/pypi/Owlready2



