owlapy.model.OWLAnnotationObject¶
-
class
owlapy.model.OWLAnnotationObject¶ Bases:
owlapy.model.OWLObjectA marker interface for the values (objects) of annotations.
Methods
- returns:
if the value is an anonymous, return it. Return None otherwise.
- returns:
if the value is an IRI, return it. Return Mone otherwise.
-
as_anonymous_individual()[source]¶ - Returns:
if the value is an anonymous, return it. Return None otherwise.
-
as_iri() → Optional[IRI][source]¶ - Returns:
if the value is an IRI, return it. Return Mone otherwise.
-
is_anonymous() → bool¶