Ontologies with Python by Lamy Jean-Baptiste

Ontologies with Python by Lamy Jean-Baptiste

Author:Lamy Jean-Baptiste
Language: eng
Format: epub
ISBN: 9781484265529
Publisher: Apress


As long as there is no individual belonging to this class, this is not a problem. The inconsistent classes are reclassified as equivalent to Nothing by the reasoner. It is therefore possible to test whether a class is inconsistent in Python by testing whether Nothing is an equivalent class, for example, to check if the RodStreptococcus class is consistent, we can do:>>> sync_reasoner()

>>> if Nothing in RodStreptococcus.equivalent_to:

... print("The class is inconsistent!")

... else:

... print("The class is consistent.")

The class is inconsistent!



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.