owlapy.model.OWLFacetRestriction¶
-
class
owlapy.model.
OWLFacetRestriction
(facet: owlapy.vocab.OWLFacet, literal: Union[owlapy.model.OWLLiteral, int, float, bool, pandas._libs.tslibs.timedeltas.Timedelta, datetime.datetime, datetime.date, str])[source]¶ Bases:
owlapy.model.OWLObject
A facet restriction is used to restrict a particular datatype.
Methods
Attributes
-
get_facet
() → owlapy.vocab.OWLFacet[source]¶
-
get_facet_value
() → owlapy.model.OWLLiteral[source]¶
-
is_anonymous
() → bool¶
-
type_index
: Final = 4007¶
-