owlapy.model.OWLAnnotationAssertionAxiom¶
-
class
owlapy.model.
OWLAnnotationAssertionAxiom
(subject: owlapy.model.OWLAnnotationSubject, annotation: owlapy.model.OWLAnnotation)[source]¶ Bases:
owlapy.model.OWLAnnotationAxiom
Represents AnnotationAssertion axioms in the OWL 2 specification.
Get an annotation assertion axiom - with annotations
- Parameters:
subject – subject
annotation – annotation
Methods
Gets the property.
Gets the subject of this object.
Gets the annotation value.
-
annotations
() → Optional[List[owlapy.model.OWLAnnotation]]¶
-
get_property
() → owlapy.model.OWLAnnotationProperty[source]¶ Gets the property.
- Returns:
The property.
-
get_subject
() → owlapy.model.OWLAnnotationSubject[source]¶ Gets the subject of this object.
- Returns:
The subject
-
get_value
() → owlapy.model.OWLAnnotationValue[source]¶ Gets the annotation value. This is either an IRI, an OWLAnonymousIndividual or an OWLLiteral.
- Returns:
The annotation value.
-
is_annotated
() → bool¶
-
is_annotation_axiom
() → bool¶
-
is_anonymous
() → bool¶
-
is_logical_axiom
() → bool¶