Owlready2 0.36 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 :
Support xsd:duration, including DATETIME_DIFF(), DATETIME_ADD(), DATETIME_SUB() SPARQL non-standard functions
Faster ontology operation (e.g. ontology deletion) on big quadstores
Automatically add .owl, .rdf or .xml to ontology IRI if the IRI itself does not yield an OWL file
Bugfixes: - Fix FusionClasses (= individuals belonging to several classes, i.e. multiple instanciation) when using several worlds - Fix OPTIONAL SPARQL clause when guessing variable types - Fix typo in undo entity destruction (thanks Lukas Westhofen) - Fix IRI from OWL namespace in SWRL rules - Fix Pellet explanation on inconsistent ontology - Fix MEDDRA parent-child relation of LLT in PyMedTermino2 - Make sure the filename is a file before returning (Thanks Nicolas Rouquette)
La nouvelle version peut être téléchargé sur PyPI (Python Package Index) : https://pypi.python.org/pypi/Owlready2
Nouvel article "Automated clinical practice guideline recommendations for hereditary cancer risk using chatbots and ontologies"
J'ai publié un nouvel article :
[j70] Ritchie JB, Frey L, Lamy JB, Bellcross C, Morrison H, Schiffman JD, Welch BM. Automated clinical practice guideline recommendations for hereditary cancer risk using chatbots and ontologies: System description. JMIR Cancer 2022;8(1):e29289
Owlready2 0.35 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 :
SPARQL optimizations
Support for VALUES in SPARQL
Add STATIC optimization keyword extension to SPARQL
Accept GROUP BY, HAVING, LIMIT in INSERT and DELETE SPARQL query
Add the STORID(iri), DATE(), TIME() and DATETIME() SPARQL function
UMLS CUI are now hierarchized by Semnatic Types (TUI)
Improved parallelism
Bugfixes: - Fix 'sqlite3.OperationalError: circular reference: prelim1_objs' in .instances(), caused by a bug in old versions of SQLite3 - Fix SPARQL INSERT query with data parameters in the INSERT clause - Fix RDF list parsing when the list includes the integer number 5 - Fix nb_parameter in SPARQL query when numbered parameters are used - Fix ObjectProperty.subclasses(), ObjectProperty.descendants(), Property.subclasses(), DataProperty.descendants(), AnnotationProperty.subclasses(), AnnotationProperty.descendants() - Fix declare_datatype() for datatype already used in Owlready, such as AnyURI - Fix Pellet on properties having annotations that are not declared in the loaded ontologies
La nouvelle version peut être téléchargé sur PyPI (Python Package Index) : https://pypi.python.org/pypi/Owlready2
Owlready2 0.34 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 :
NEW FORUM ADDRESS: http://owlready.306.s1.nabble.com
Support SPARQL property path expressions with parentheses without sequences, repeats or negative property set nested inside repeats
Add define_datatype_in_ontology() global function for defining a new user-defined datatype in an ontology
Class.instances() now takes into account equivalent classes (like other class methods such as .descendants())
Add the LOADED(iri) SPARQL function
Support Thing.is_a.append(...)
Faster loading of very large quadstores
list(onto.metadata) now lists the annotations present on the ontology
Add OntologyClass and NamespaceClass argument to get_ontology() and get_namespace(), allowing the use of custom classes
Bugfixes: - Accept UTF8 and latin encoding from reasoners (thanks Francesco Compagno) - Fix SPARQL query with a UNION without variables - Fix semantic type support in UMLS
La nouvelle version peut être téléchargé sur PyPI (Python Package Index) : https://pypi.python.org/pypi/Owlready2