owlapy.model.OWLAnnotationValue¶
-
class
owlapy.model.
OWLAnnotationValue
¶ Bases:
owlapy.model.OWLAnnotationObject
A marker interface for annotation values, which can either be an IRI (URI), Literal or Anonymous Individual.
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.
- returns:
if the value is a literal, returns it. Return None otherwise
- returns:
true if the annotation value is a literal
-
as_anonymous_individual
()¶ - Returns:
if the value is an anonymous, return it. Return None otherwise.
-
as_literal
() → Optional[OWLLiteral][source]¶ - Returns:
if the value is a literal, returns it. Return None otherwise
-
is_anonymous
() → bool¶