class documentation

class WikidataID(ResourceID):

View In Hierarchy

A resource identifier with the specified Wikidata resource id.

Example of WikiDataID:

    rid = WikidataID('Q4837690')
Method __init__ init method

Inherited from ResourceID:

Method to_synsets Convert the ID to a collection of BabelSynsets.
Instance Variable id ID of a ResourceID.
Instance Variable language Language of the resource ID, if available.
Instance Variable pos POS of the resource ID, if available.
Instance Variable source Source of the resource ID.
Method __eq__ Undocumented
Method __hash__ Undocumented
Method __lt__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
def __init__(self, id_str):

init method

Parameters
id_str:strID of the resource.