owlapy.model.OWLAnnotationProperty¶
-
class
owlapy.model.
OWLAnnotationProperty
(iri: owlapy.model.IRI)[source]¶ Bases:
owlapy.model.OWLProperty
Represents an AnnotationProperty in the OWL 2 specification.
Get a new OWLAnnotationProperty object
- Parameters:
iri – new OWLAnnotationProperty IRI
Methods
Gets the IRI of this object.
- returns:
True if this is a data property
- returns:
True if this is an object property
Determines if this is the owl:topDataProperty.
Determines if this is the owl:topObjectProperty.
-
get_iri
() → owlapy.model.IRI[source]¶ 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¶