Lexeme

class Lexeme(*args, **kwargs)[source]

Bases: Entity

Word or phrase.

Parameters:

iri – IRI.

datatype_class

alias of LexemeDatatype

datatype: ClassVar[LexemeDatatype] = LexemeDatatype()

Datatype associated with this value class.

template_class

alias of LexemeTemplate

variable_class

alias of LexemeVariable

__init__(iri: VTLexemeContent) None[source]
class LexemeTemplate(*args, **kwargs)[source]

Bases: EntityTemplate

Lexeme template.

Parameters:

iri – IRI, IRI template, or IRI variable.

object_class

alias of Lexeme

__init__(iri: VTLexemeContent) None[source]
class LexemeVariable(name: str, variable_class: type[Variable] | type[Term] | None = None)[source]

Bases: EntityVariable

Lexeme variable.

Parameters:

name – Name.

object_class

alias of Lexeme