owlapy.owl_annotation
OWL Annotations
Module Contents
Classes
A marker interface for the values (objects) of annotations. |
|
A marker interface for annotation subjects, which can either be IRIs or anonymous individuals |
|
A marker interface for annotation values, which can either be an IRI (URI), Literal or Anonymous Individual. |
- class owlapy.owl_annotation.OWLAnnotationObject[source]
Bases:
owlapy.owl_object.OWLObject
A marker interface for the values (objects) of annotations.
- __slots__ = ()
- class owlapy.owl_annotation.OWLAnnotationSubject[source]
Bases:
OWLAnnotationObject
A marker interface for annotation subjects, which can either be IRIs or anonymous individuals
- __slots__ = ()
- class owlapy.owl_annotation.OWLAnnotationValue[source]
Bases:
OWLAnnotationObject
A marker interface for annotation values, which can either be an IRI (URI), Literal or Anonymous Individual.
- __slots__ = ()
- as_literal() OWLLiteral | None [source]
- Returns:
if the value is a literal, returns it. Return None otherwise