KBNLwikimedia / OpenRefine-Wikibase

Files for interaction between OpenRefine and KB Wikibases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenRefine-KB-Wikibase

Files for interaction between OpenRefine and KB Wikibases.

Latest update: 30-08-2023

Purpose: reconciling and uploading data to Wikibases of the KB, using Openfine

KB Wikibase services overview

Wikibase instances

SPARQL query services

Reconcilation services (for OpenRefine)

===================================================

Setting up a reconciliation service for your Wikibase instance

General

KB specific

Connecting OpenRefine to your Wikibase instance

Once you have a working reconciliation service for your Wikibase instance, you can connect OpenRefine to it. All you need is a so-called manifest for that instance, which provides some metadata and links required for the connection to work.

General

KB specific

Configuration of your Wikibase instance

Special:Tags

When using OpenRefine to write to your Wikibase, make sure that (using the Admin account) you add the tags “openrefine-3.x” (x=3,4,5,6,7,..) to the Special:Tags page of your Wikibase, depending on which versions (v3.3, 3.4.. 3.7) of OpenRefine you want to allow to write to your Wikibase.

(See for instance also https://www.wikidata.org/wiki/Special:Tags)

If you don't add these tags, OpenRefine will give errors like these:

You must also make sure that in the manifest.json you add to OpenRefine, the value of the “tag” field is exactly openrefine-${version}, corresponding to the syntax used in the Special:Tags page.

Page protection level

Users that write (Ps and Qs) to a Wikibase via OpenRefine will typically do this as a Autoconfirmed user.

In your Wikibase some pages may be (semi)protected, as listed on the Special:ProtectedPages in your Wikibase instance, see eg. the semiprotected Q-items on Wikidata and/or under "Page protection" in this Wikidata item.

To allow autoconfirmed users to write to your Wikibase, make sure (using an Admin login) you set the page protection to the semiprotected level "Allow only autoconfirmed users", via calls such as https://www.wikidata.org/w/index.php?title=Q34086&action=unprotect

Licensing

The contents of this page are released into the public domain under the Creative Commons Zero v1.0 Universal license and can therefore be reused freely and openly. Attribution (KB, national library of the Netherlands) is not required, but still appreciated.

About

Files for interaction between OpenRefine and KB Wikibases

License:Creative Commons Zero v1.0 Universal


Languages

Language:Python 100.0%