owlapy.model.OWLAnnotationSubject¶
-
class
owlapy.model.
OWLAnnotationSubject
¶ Bases:
owlapy.model.OWLAnnotationObject
A marker interface for annotation subjects, which can either be IRIs or anonymous individuals
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
()¶ - Returns:
if the value is an anonymous, return it. Return None otherwise.
-
is_anonymous
() → bool¶