DataUnionOf

class DataUnionOf(data_ranges: Sequence[DataRange | URIRef | Reference | Referenced | str | IdentifierBox])[source]

Bases: _ListDataRange

A data range defined in 7.2 “Union of Data Ranges”.

The following data range contains all strings and all integers:

>>> DataUnionOf(["xsd:string", "xsd:integer"])

Initialize this list of data ranges.

Attributes Summary

property_type

Attributes Documentation

property_type: ClassVar[URIRef] = rdflib.term.URIRef('http://www.w3.org/2002/07/owl#unionOf')