OpenRefine / OpenRefine

OpenRefine is a free, open source power tool for working with messy data and improving it
https://openrefine.org/
BSD 3-Clause "New" or "Revised" License
10.91k stars 1.96k forks source link

Adding also sitelinks to Wikidata while reconciling #1788

Open SannitaSSJ opened 6 years ago

SannitaSSJ commented 6 years ago

Is your feature request related to a problem or area of OpenRefine? Please describe. It would be awesome to have a functionality that lets users add also sitelinks to Wiki* projects, through a Wikidata schema.

Describe the solution you'd like Adding some space below the statements part in the Wikidata schema, that works kinda the label/description area, but that lets you add sitelinks to Wiki* projects.

Describe alternatives you've considered As of now, there are no practical alternatives (except doing this outside the OR framework.

VojtechDostal commented 4 years ago

Yes this would be lovely. I missed the sitelink functionality once or twice already

wetneb commented 4 years ago

As part of this it could be useful to update Wikidata-Toolkit's API to make it easier to add / delete sitelinks. This is currently only possible by sending the whole item JSON to the server, whereas we are currently using incremental changes with the updateTermsStatements method: https://github.com/Wikidata/Wikidata-Toolkit/blob/master/wdtk-wikibaseapi/src/main/java/org/wikidata/wdtk/wikibaseapi/WikibaseDataEditor.java

So I have opened an issue here: https://github.com/Wikidata/Wikidata-Toolkit/issues/486

VojtechDostal commented 1 year ago

For anyone who is looking for a solution: Wikibase-Cli started supporting this: https://github.com/maxlath/wikibase-cli/blob/main/docs/write_operations.md

trnstlntk commented 1 year ago

I have received a new request for this feature just today.

Status: unfortunately there are no plans or people/money to work on this yet.

As a circumvention, I personally add sitelinks as follows:

The QuickStatements syntax for sitelinks is described here: https://www.wikidata.org/wiki/Help:QuickStatements#Adding_labels,_aliases,_descriptions_and_sitelinks