0%

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.

Table of Contents

  1. Cover
  2. Front Matter
  3. 1. Introduction
  4. 2. The Python language: Adopt a snake!
  5. 3. OWL ontologies
  6. 4. Accessing ontologies in Python
  7. 5. Creating and modifying ontologies in Python
  8. 6. Constructs, restrictions, and class properties
  9. 7. Automatic reasoning
  10. 8. Annotations, multilingual texts, and full-text search
  11. 9. Using medical terminologies with PyMedTermino and UMLS
  12. 10. Mixing Python and OWL
  13. 11. Working with RDF triples and worlds
  14. Back Matter
3.209.81.51