LeMyst / WikibaseIntegrator

A Python module to manipulate data on a Wikibase instance (like Wikidata) through the MediaWiki Wikibase API and the Wikibase SPARQL endpoint.
MIT License
67 stars 14 forks source link

New ActionIfExists: Append or merge #645

Closed dpriskorn closed 9 months ago

dpriskorn commented 9 months ago

While Working on https://www.wikidata.org/wiki/Wikidata:Tools/WikidataEurLexScraper I would like to merge the references of official name statements that are identical

So when I add a claim with the same official name and another reference I would like WBI to merge so that the statement has two references. If he references are exactly the same they should be merged.

If there are different qualifiers we should raise a QualifierMergeConflict error

dpriskorn commented 9 months ago

duplicate of #607