Item#
- class wikibaseintegrator.datatypes.item.Item(value=None, **kwargs)[source]#
Bases:
BaseDataTypeImplements the Wikibase data type ‘wikibase-item’ with a value being another item ID
Constructor, calls the superclass BaseDataType
- from_sparql_value(sparql_value)[source]#
Parse data returned by a SPARQL endpoint and set the value to the object
- DTYPE = 'wikibase-item'#
- PTYPE = 'http://wikiba.se/ontology#WikibaseItem'#