owlapy.vocab

Enumerations.

Module Contents

Classes

OWLRDFVocabulary

Enumerations for OWL/RDF vocabulary.

XSDVocabulary

Enumerations for XSD vocabulary.

OWLFacet

Enumerations for OWL facets.

class owlapy.vocab.OWLRDFVocabulary(namespace: owlapy.namespaces.Namespaces, remainder: str)[source]

Bases: _Vocabulary, enum.Enum

Enumerations for OWL/RDF vocabulary.

OWL_THING = ()
OWL_NOTHING = ()
OWL_CLASS = ()
OWL_NAMED_INDIVIDUAL = ()
OWL_TOP_OBJECT_PROPERTY = ()
OWL_BOTTOM_OBJECT_PROPERTY = ()
OWL_TOP_DATA_PROPERTY = ()
OWL_BOTTOM_DATA_PROPERTY = ()
RDFS_LITERAL = ()
class owlapy.vocab.XSDVocabulary(remainder: str)[source]

Bases: _Vocabulary, enum.Enum

Enumerations for XSD vocabulary.

DECIMAL: Final = 'decimal'
INTEGER: Final = 'integer'
LONG: Final = 'long'
DOUBLE: Final = 'double'
FLOAT: Final = 'float'
BOOLEAN: Final = 'boolean'
STRING: Final = 'string'
DATE: Final = 'date'
DATE_TIME: Final = 'dateTime'
DATE_TIME_STAMP: Final = 'dateTimeStamp'
DURATION: Final = 'duration'
class owlapy.vocab.OWLFacet(remainder: str, symbolic_form: str, operator: Callable[[_X, _X], bool])[source]

Bases: _Vocabulary, enum.Enum

Enumerations for OWL facets.

property symbolic_form
property operator
MIN_INCLUSIVE: Final = ('minInclusive', '>=')
MIN_EXCLUSIVE: Final = ('minExclusive', '>')
MAX_INCLUSIVE: Final = ('maxInclusive', '<=')
MAX_EXCLUSIVE: Final = ('maxExclusive', '<')
LENGTH: Final = ('length', 'length')
MIN_LENGTH: Final = ('minLength', 'minLength')
MAX_LENGTH: Final = ('maxLength', 'maxLength')
PATTERN: Final = ('pattern', 'pattern')
TOTAL_DIGITS: Final = ('totalDigits', 'totalDigits')
FRACTION_DIGITS: Final = ('fractionDigits', 'fractionDigits')
static from_str(name: str) OWLFacet[source]