owlapy.model.OWLNamedObject

class owlapy.model.OWLNamedObject[source]

Bases: owlapy.model.OWLObject, owlapy.model.HasIRI

Represents a named object for example, class, property, ontology etc. - i.e. anything that has an IRI as its name.

Methods

get_iri

Gets the IRI of this object.

is_anonymous

abstract get_iri()owlapy.model.IRI

Gets the IRI of this object.

Returns:

The IRI of this object

is_anonymous()bool