DatatypeDefinition

class DatatypeDefinition(datatype: URIRef | Reference | Referenced | str | IdentifierBox, data_range: DataRange | URIRef | Reference | Referenced | str | IdentifierBox, *, annotations: list[Annotation] | None = None)[source]

Bases: Axiom

A model for 9.4 “Datatype Definitions”.

Instantiate a datatype definition axiom.

Methods Summary

to_rdflib_node(graph, converter)

Represent the datatype definition axiom for RDF.

Methods Documentation

to_rdflib_node(graph: Graph, converter: Converter) IdentifiedNode[source]

Represent the datatype definition axiom for RDF.