owlapy.model.OWLDeclarationAxiom

class owlapy.model.OWLDeclarationAxiom(entity: owlapy.model.OWLEntity, annotations: Optional[Iterable[owlapy.model.OWLAnnotation]] = None)[source]

Bases: owlapy.model.OWLAxiom

Represents a Declaration axiom in the OWL 2 Specification. A declaration axiom declares an entity in an ontology. It doesn’t affect the logical meaning of the ontology.

Methods

annotations

get_entity

is_annotated

is_annotation_axiom

is_anonymous

is_logical_axiom

annotations()Optional[List[owlapy.model.OWLAnnotation]]
get_entity()owlapy.model.OWLEntity[source]
is_annotated()bool
is_annotation_axiom()bool
is_anonymous()bool
is_logical_axiom()bool