owlapy.model.OWLPropertyExpression

class owlapy.model.OWLPropertyExpression[source]

Bases: owlapy.model.OWLObject

Represents a property or possibly the inverse of a property.

Methods

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.

is_anonymous()bool
is_data_property_expression()bool[source]
Returns:

True if this is a data property

is_object_property_expression()bool[source]
Returns:

True if this is an object property

is_owl_top_data_property()bool[source]

Determines if this is the owl:topDataProperty.

Returns:

True if this property is the owl:topDataProperty

is_owl_top_object_property()bool[source]

Determines if this is the owl:topObjectProperty.

Returns:

True if this property is the owl:topObjectProperty