WikidataAligner
- class WikidataAligner[source]
Bases:
Aligner
Aligner for Wikidata properties.
Instantiate the aligner.
Attributes Summary
Header to put on the curation table, corresponding to
get_curation_row()
The key for the external registry
Methods Summary
get_curation_row
(external_id, external_entry)Prepare curation rows for unaligned Wikidata properties.
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', 'databaseMiriam', 'name', 'database', 'databaseLabel')
Header to put on the curation table, corresponding to
get_curation_row()
Methods Documentation
- get_curation_row(external_id, external_entry)[source]
Prepare curation rows for unaligned Wikidata properties.
- getter()
Get the wikidata registry.