owlapy.vocab

Enumerations.

Classes

OWLRDFVocabulary

Enumerations for OWL/RDF vocabulary.

XSDVocabulary

Enumerations for XSD vocabulary.

OWLFacet

Enumerations for OWL facets.

Module Contents

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'
NONNEGATIVEINTEGER: Final = 'nonNegativeInteger'
NONPOSITIVEINTEGER: Final = 'nonPositiveInteger'
POSITIVEINTEGER: Final = 'positiveInteger'
NEGATIVEINTEGER: Final = 'negativeInteger'
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'
TIME: Final = 'time'
GYEARMONTH: Final = 'gYearMonth'
GMONTHDAY: Final = 'gMonthDay'
GYEAR: Final = 'gYear'
GMONTH: Final = 'gMonth'
GDAY: Final = 'gDay'
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
static from_str(name: str) OWLFacet[source]
MIN_INCLUSIVE: Final
MIN_EXCLUSIVE: Final
MAX_INCLUSIVE: Final
MAX_EXCLUSIVE: Final
LENGTH: Final
MIN_LENGTH: Final
MAX_LENGTH: Final
PATTERN: Final
TOTAL_DIGITS: Final
FRACTION_DIGITS: Final