The blog and personal site of Jean-Baptiste Lamy (Jiba).

My French novel "Sombre comme l'Aurore - La légende de Tienn Halidenn" has been published by Éditions du 38!

My book on Python and ontologies is available in English (Ontologies with Python) and French (Python et les ontologies).

Good reading!

Owlready2 0.48 has been released!

Owlready is a Python module for ontology-oriented programming. It can load OWL 2.0 ontologies and manipulate them transparently in Python.

This new version includes optimizations, bugfixes, and improvement in SPARQL and terminology management.

Here are the changes:

  • 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

The new version be downloaded from PyPI (Python Package Index): https://pypi.python.org/pypi/Owlready2

New journal paper "Learning preferences in Qualitative Choice Logic and some of its variants"

I have published a new journal paper:

journal [j81] Sedki K, Lamy JB, Tsopra R. Learning preferences in Qualitative Choice Logic and some of its variants: An application for antibiotics recommendations. Journal of Applied Non-Classical Logics 2025;accepted

New journal paper "ABiMed"

I have published a new journal paper:

journalif [j80] Mouazer A, Léguillon R, Boudegzdame N, Levrard T, Le Bars Y, Simon C, Séroussi B, Grosjean J, Lelong R, Letord C, Darmoni S, Schuers M, Belmin JBelmin, Sedki K, Dubois S, Falcoff H, Tsopra R, Lamy JB. ABiMed: An intelligent and visual clinical decision support system for medication reviews and polypharmacy management. BMC medical informatics and decision making 2025;25:173

New journal paper "Impact on clinical guideline adherence of Orient-COVID, a clinical decision support system based on dynamic decision trees for COVID19 management"

I have published a new journal paper:

journalif [j79] Jammal M, Saab A, Abi Khalil C, Mourad C, Tsopra R, Saikali M, Lamy JB. Impact on clinical guideline adherence of Orient-COVID, a clinical decision support system based on dynamic decision trees for COVID19 management: a randomized simulation trial with medical trainees. International Journal of Medical Informatics 2025;195:105772

New preprint "Simulation trials for evaluating clinical decision support systems"

I have published a new preprint:

preprint [p7] Lamy JB, Falcoff H, Dubois S, Meneton P, Tsopra R, Saab A. Simulation trials for evaluating clinical decision support systems: lessons learned. http://dx.doi.org/10.13140/RG.2.2.11862.97606 Preprint 2024

New journal paper "Adaptive questionnaires for facilitating patient data entry in clinical decision support systems"

I have published a new journal paper:

journalif [j78] Lamy JB, Mouazer A, Léguillon R, Lelong R, Darmoni S, Sedki K, Dubois S, Falcoff H. Adaptive questionnaires for facilitating patient data entry in clinical decision support systems: Methods and application to STOPP/START v2. BMC medical informatics and decision making 2024;24:326

FullPy 0.2 has been released!

FullPy is a Python module for developing semantic client-server web application, entirely in Python.

FullPy can be downloaded from PyPI (Python Package Index): https://pypi.python.org/pypi/fullpy

Owlready2 0.47 has been released!

Owlready is a Python module for ontology-oriented programming. It can load OWL 2.0 ontologies and manipulate them transparently in Python.

Here are the changes:

  • Support binary data: Python bytes are now mapped to XML base64Binary.

  • Bugfixes:

    • Fix OPTIONAL blocks in SPARQL queries that share variable outside the OPTIONAL block

    • Fix prop1[prop2 in OPTIONAL blocks in SPARQL queries

    • Fix individuals belonging to several classes when one of these classes has a OneOf construct including that individual

    • Fix descendants when using subclasses of ThingClass (as PyMedTermino2 does)

    • Fix and update pymedtermino2

    • Fix SPARQL queries with BIND and UNION

The new version be downloaded from PyPI (Python Package Index): https://pypi.python.org/pypi/Owlready2

New preprint "A randomized simulation trial evaluating ABiMed, a clinical decision support system for medication reviews and polypharmacy management"

I have published a new preprint:

preprint [p6] Mouazer A, Dubois S, Léguillon R, Boudegzdame N, Levrard T, Le Bars Y, Simon C, Séroussi B, Grosjean J, Lelong R, Letord C, Darmoni S, Sedki K, Meneton P, Tsopra R, Falcoff H, Lamy JB. A randomized simulation trial evaluating ABiMed, a clinical decision support system for medication reviews and polypharmacy management. Arxiv preprint arXiv:2409.01903 2024

New journal paper "Original Strategy for Verbatim Collecting Knowledge from Mostly-Illiterate and Secretive Experts"

I have published a new journal paper:

journal [j76] Kouame A, Lamy JB, Ehoule K. Original Strategy for Verbatim Collecting Knowledge from Mostly-Illiterate and Secretive Experts : West Africa Traditional Medicine’s Case. International Journal of Advanced Computer Science and Applications (IJACSA) 2024;15(7)

New preprint "Impact on clinical guideline adherence of Orient-COVID, a CDSS based on dynamic medical decision trees for COVID19 management"

I have published a new preprint:

preprint [p5] Jammal M, Saab A, Abi Khalil C, Mourad C, Tsopra R, Saikali M, Lamy JB. Impact on clinical guideline adherence of Orient-COVID, a CDSS based on dynamic medical decision trees for COVID19 management: a randomized simulation trial. Arxiv preprint arXiv:2407.11205 2024

Owlready2 0.46 has been released!

Owlready is a Python module for ontology-oriented programming. It can load OWL 2.0 ontologies and manipulate them transparently in Python.

Here are the changes:

  • Remove warning when Cython module is not available

  • Update import OMOP CDM for their new CSV format

  • Basic support for enumerated datatypes (= defined with an equivalent_to and a OneOf)

  • Improved synchronization and multiprocessor support

  • Bugfixes: * Fix IRI() return type in SPARQL * Fix SPARQL queries with two UNIONs when there is no shared variables between the unions members * Fix parsing ontology with IRI ending by '?' * Avoid reusing ID of destroyed entity (storid; reuse is problematic when sharing the quadstore with other processes)

The new version be downloaded from PyPI (Python Package Index): https://pypi.python.org/pypi/Owlready2

Happy new year 2024!

_images/voeux_2024.png

New preprint "ABiMed"

I have published a new preprint:

preprint [p4] Mouazer A, Léguillon R, Boudegzdame N, Levrard T, Le Bars Y, Simon C, Séroussi B, Grosjean J, Lelong R, Letord C, Darmoni S, Schuers M, Sedki K, Dubois S, Falcoff H, Tsopra R, Lamy JB. ABiMed: An intelligent and visual clinical decision support system for medication reviews and polypharmacy management. Arxiv preprint arXiv:2312.11526 2023