wikibase-cli
wikibase-cli copied to clipboard
duplicating refs via known reference-hashes
This is more of a question. When I query using SPARQL ?stmt prov:wasDerivedFrom ?ref I get as result a hash which is presumably the same as what you call "reference-hash" in your description of wb remove-reference. The question: would it be possible to duplicate an existing reference on a new statement if we have the hash?
there is no command to do that easily at the moment I'm afraid
It would only be useful if it improved edit speed, anyway.
I would like to reopen this, as the question came up in a different task, where I want to merge identical statements having different references. I want to collect all references on a single statement, and the references are very complicated. It would be nice to copy them to one statement, and delete the other statements. But now I need to query for the content of the references to create them again.