owlapy.model.OWLClass¶
-
class
owlapy.model.
OWLClass
(iri: owlapy.model.IRI)[source]¶ Bases:
owlapy.model.OWLClassExpression
,owlapy.model.OWLEntity
An OWL 2 named Class
Gets an instance of OWLClass that has the specified IRI.
- Parameters:
iri – The IRI.
Methods
Gets the IRI of this object.
Gets the negation normal form of the complement of this expression.
Gets the object complement of this class expression
Determines if this expression is the built in class owl:Nothing.
Determines if this expression is the built in class owl:Thing.
Attributes
-
get_iri
() → owlapy.model.IRI[source]¶ Gets the IRI of this object.
- Returns:
The IRI of this object
-
get_nnf
() → owlapy.model.OWLClass[source]¶ Gets the negation normal form of the complement of this expression.
- Returns:
A expression that represents the NNF of the complement of this expression.
-
get_object_complement_of
() → owlapy.model.OWLObjectComplementOf[source]¶ Gets the object complement of this class expression
- Returns:
A class expression that is the complement of this class expression.
-
is_anonymous
() → bool¶
-
is_owl_nothing
() → bool[source]¶ Determines if this expression is the built in class owl:Nothing. This method does not determine if the class is equivalent to owl:Nothing.
-
is_owl_thing
() → bool[source]¶ Determines if this expression is the built in class owl:Thing. This method does not determine if the class is equivalent to owl:Thing.
- Returns:
True if this expression is owl:Thing
-
to_string_id
() → str¶
-
type_index
: Final = 1001¶