WikidataAligner

class WikidataAligner(force_download=None)[source]

Bases: Aligner

Aligner for Wikidata properties.

Instantiate the aligner.

Attributes Summary

curation_header

Header to put on the curation table, corresponding to get_curation_row()

key

The key for the external registry

Methods Summary

getter()

Get the wikidata registry.

prepare_external(external_id, external_entry)

Prepare the external Wikidata data dictionary for alignment.

Attributes Documentation

curation_header: ClassVar[Sequence[str]] = ('miriam', 'database.miriam', 'name', 'database', 'database.label')

Header to put on the curation table, corresponding to get_curation_row()

key: ClassVar[str] = 'wikidata'

The key for the external registry

Methods Documentation

getter()

Get the wikidata registry.

prepare_external(external_id, external_entry)[source]

Prepare the external Wikidata data dictionary for alignment.