Smalyshev added a comment. > we have to replace all occurrences of <A> in the graph with <B> (and delete > triples with <A> as the subject, since A's old content is now gone)
Deletion happens automatically as part of the update, since new data only has one triple with A as a subject. However, replacement is harder. If we would replace all triples that mention <A> as an object, it can be an expensive operation. > But when <A> owl:same <B> is removed, we'd have to revert only some > occurrences of <B> back to <A> That would be pretty hard to do, given that the data may have changed - i.e., even if we kept the backup of the pre-redirect data, some of it may not be relevant anymore, as the corresponding subjects may have been updated by the user. > All this has to be done for all URIs derived from the redirected entity ID, > not just the concept URI. What other URIs are there? TASK DETAIL https://phabricator.wikimedia.org/T96490 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Smalyshev Cc: Denny, mkroetzsch, Lydia_Pintscher, M.schmidt00, Beebs.systap, Haasepeter, Thompsonbry.systap, Thompsonbry, daniel, Manybubbles, Aklapper, Smalyshev, jkroll, Wikidata-bugs, Jdouglas, aude, JanZerebecki _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs