Data types#

One class per Wikibase data type, to create the value of a claim, a qualifier or a reference. Import them from wikibaseintegrator.datatypes. They are claims: see Claim for the members they share.

BaseDataType

The base class for all Wikibase data types, they inherit from it

CommonsMedia

Implements the Wikibase data type for Wikimedia commons media files

EntitySchema

Implements the Wikibase data type 'entity-schema'

ExternalID

Implements the Wikibase data type 'external-id'

Form

Implements the Wikibase data type 'wikibase-form'

GeoShape

Implements the Wikibase data type 'geo-shape'

GlobeCoordinate

Implements the Wikibase data type for globe coordinates

Item

Implements the Wikibase data type 'wikibase-item' with a value being another item ID

Lexeme

Implements the Wikibase data type 'wikibase-lexeme'

Math

Implements the Wikibase data type 'math' for mathematical formula in TEX format

MonolingualText

Implements the Wikibase data type for Monolingual Text strings

MusicalNotation

Implements the Wikibase data type 'musical-notation'

Property

Implements the Wikibase data type 'property'

Quantity

Implements the Wikibase data type for quantities

Sense

Implements the Wikibase data type 'wikibase-sense'

String

Implements the Wikibase data type 'string'

TabularData

Implements the Wikibase data type 'tabular-data'

Time

Implements the Wikibase data type with date and time values

URL

Implements the Wikibase data type for URL strings

Extra data types#

Data types of Wikibase extensions, imported from wikibaseintegrator.datatypes.extra.

EDTF

Implements the Wikibase data type for Wikibase Extended Date/Time Format extension.

LocalMedia

Implements the Wikibase data type for Wikibase Local Media extension.