Overview
I had the opportunity to try out the following WikibaseSync, so this is a personal note for future reference.
https://github.com/the-qa-company/WikibaseSync
I learned about this tool from the following paper.
https://doi.org/10.11517/jsaisigtwo.2022.SWO-056_04
Installation
Install the source code and related libraries.
!get clone https://github.com/the-qa-company/WikibaseSync
cd WikibaseSync
!pip install -r requirements.txt
Creating a Bot Account
Access the Wikibase prepared in advance, and click “Bot passwords” from “Special pages”.

On the following screen, enter the “Bot name”.

On the next screen, check the following three items.
Give him the follwing rights: “High-volume editing”, “Edit existing pages” and “Create, edit, and move pages”

As a result, the following message is displayed and you can obtain the password.
The bot password for bot name "WikidataUpdater" of user "Nakamura" was created.
The new password to log in with Nakamura@WikidataUpdater is xxxxxxxxxxxxxx. Please record this for future reference.
(For old bots which require the login name to be the same as the eventual username, you can also use Nakamura as username and WikidataUpdater@xxxxxxxxxxxxxx as password.)
Return to Special:BotPasswords.
Then, following the instructions below, enter the Bot information in the configuration file of the installed source code.
https://github.com/the-qa-company/WikibaseSync#setup
Example: user-config.py
(u'Nakamura', BotPassword(u'WikidataUpdater', u'xxxxxxxxxxxxxx'))
Example: config/application.config.ini
This is a usage example with wikibase.cloud.
[DEFAULT]
ServerAliveInterval = 45
[wikibase]
user = admin
sparqlEndPoint = https://nakamura196.wikibase.cloud/query/sparql
domain = nakamura196.wikibase.cloud
protocol = https
apiUrl= https://nakamura196.wikibase.cloud/w/api.php
entityUri=https://nakamura196.wikibase.cloud/entity
propertyUri=https://nakamura196.wikibase.cloud/prop
overwriteLocalChanges = false
Usage Example
Let’s try running the following.
python import_one.py Q107095935
As a result, data was registered as follows.
https://nakamura196.wikibase.cloud/wiki/Item:Q42

WikibaseSync appeared to automatically add the following property.
https://nakamura196.wikibase.cloud/wiki/Property:P14

It appeared to map between the Wikibase instance created this time and Wikidata IDs via the above property.
However, the information registered above appears to be insufficient. After execution, the following errors occurred and the program does not appear to have completed.
CRITICAL: Exiting due to uncaught exception <class ‘pywikibot.exceptions.NoPageError’>
CRITICAL: Exiting due to uncaught exception <class ‘KeyError’>
A similar issue was found, but it was not resolved.
https://github.com/the-qa-company/WikibaseSync/issues/18
Summary
I tried out WikibaseSync. Since I was only able to get it to work partially, I would like to continue investigating.