Ontologies with Python: Programming OWL 2.0 Ontologies with Python and Owlready2

  • 3h 5m
  • Lamy Jean-Baptiste
  • Apress
  • 2021

Use ontologies in Python, with the Owlready2 module developed for ontology-oriented programming. You will start with an introduction and refresher on Python and OWL ontologies. Then, you will dive straight into how to access, create, and modify ontologies in Python. Next, you will move on to an overview of semantic constructs and class properties followed by how to perform automatic reasoning. You will also learn about annotations, multilingual texts, and how to add Python methods to OWL classes and ontologies. Using medical terminologies as well as direct access to RDF triples is also covered.

Python is one of the most used programming languages, especially in the biomedical field, and formal ontologies are also widely used. However, there are limited resources for the use of ontologies in Python. Owlready2, downloaded more than 60,000 times, is a response to this problem, and this book is the first one on the topic of using ontologies with Python.

What You Will Learn

  • Use Owlready2 to access and modify OWL ontologies in Python
  • Publish ontologies on dynamic websites
  • Perform automatic reasoning in Python
  • Use well-known ontologies, including DBpedia and Gene Ontology, and terminological resources, such as UMLS (Unified Medical Language System)
  • Integrate Python methods in OWL ontologies

Who Is This Book For

Beginner to experienced readers from biomedical sciences and artificial intelligence fields would find the book useful.

About the Author

Lamy Jean-Baptiste is a senior lecturer at Paris 13 University and a member of the LIMICS, a research lab focused on biomedical informatics. He is also the developer of the Owlready2 Python module that allows access to OWL ontologies. He has developed many research prototypes, and one of them (VCM iconic medical language) has been patented in the US, with three licenses sold to industrial partners.

Lamy speaks regularly at artificial intelligence and medical informatics conferences, has written over 50 journal papers, and is a moderator on the Owlready forum on Nabbles. He was awarded the best paper award at MEDINFO 2019, the largest international conference in medical informatics.

In this Book

  • Introduction
  • The Python Language: Adopt a Snake!
  • OWL Ontologies
  • Accessing Ontologies in Python
  • Creating and Modifying Ontologies in Python
  • Constructs, Restrictions, and Class Properties
  • Automatic Reasoning
  • Annotations, Multilingual Texts, and Full-Text Search
  • Using Medical Terminologies with PyMedTermino and UMLS
  • Mixing Python and OWL
  • Working with RDF Triples and Worlds
SHOW MORE
FREE ACCESS