owlapy.model.OWLProperty

class owlapy.model.OWLProperty[source]

Bases: owlapy.model.OWLPropertyExpression, owlapy.model.OWLEntity

A marker interface for properties that aren’t expression i.e. named properties. By definition, properties are either data properties or object properties.

Methods

get_iri

Gets the IRI of this object.

is_anonymous

is_data_property_expression

returns:

True if this is a data property

is_object_property_expression

returns:

True if this is an object property

is_owl_top_data_property

Determines if this is the owl:topDataProperty.

is_owl_top_object_property

Determines if this is the owl:topObjectProperty.

to_string_id

abstract get_iri()owlapy.model.IRI

Gets the IRI of this object.

Returns:

The IRI of this object

is_anonymous()bool
is_data_property_expression()bool
Returns:

True if this is a data property

is_object_property_expression()bool
Returns:

True if this is an object property

is_owl_top_data_property()bool

Determines if this is the owl:topDataProperty.

Returns:

True if this property is the owl:topDataProperty

is_owl_top_object_property()bool

Determines if this is the owl:topObjectProperty.

Returns:

True if this property is the owl:topObjectProperty

to_string_id()str