Item

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

Bases: Entity

Person or thing.

Parameters:

iri – IRI.

datatype_class

alias of ItemDatatype

datatype: ClassVar[ItemDatatype] = ItemDatatype()

Datatype associated with this value class.

template_class

alias of ItemTemplate

variable_class

alias of ItemVariable

__init__(iri: VTItemContent) None[source]
class ItemTemplate(*args, **kwargs)[source]

Bases: EntityTemplate

Item template.

Parameters:

iri – IRI, IRI template, or IRI variable.

object_class

alias of Item

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

Bases: EntityVariable

Item variable.

Parameters:

name – Name.

object_class

alias of Item