Closed rubberviscous closed 6 years ago
In the past we were experiencing some bugs (code, VOS, network, etc) in the code that, when restarting the application were leaving the database in an inconsistent state. for this reason, besides the normal diff (deletions/additions) we have an optional clean update operation that is performed when a resource is updated for more than X (i.e. 5) times. in that case, besides the normal diff, there are two additional steps:
the update frequency and data are handled by the Live framework and this is where we execute these updates. For other applications that do not need this logic, these triples can be ignored
Is this explanation sufficient? if so, can we close the issue
Thank you for the explanation Dimitris! Can you point me to the file(s) where the optional clean update operation when resource is updated more than X times?
If you look for example at this changeset list: http://live.dbpedia.org/changesets/2018/03/11/17/ the files with suffix clear and reinserted are the ones I the code you refer to handles.
On Sun, Mar 11, 2018, 16:56 Michael notifications@github.com wrote:
Thank you for the explanation Dimitris! Can you point me to the file(s) where the optional clean update operation when resource is updated more than X times?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dbpedia/dbpedia-live-mirror/issues/13#issuecomment-372121477, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_8HREHwYFJEYGQNNlu--rnEe4NQeWXks5tdTsqgaJpZM4ShJtg .
Thanks!
Hi,
What is the difference between the "reinsert" and "add" operations in the syncing process. I looked at the codebase, in particular the ChangesetExecutor.java file and the two seem to perform the same SPARQL 'INSERT DATA INTO' operation. My assumption is that 'reinserted' updates a triple statement. So if the fact :hasAge "12" exists, a reinserted file with the statement :hasAge "15" will update the literal value of property :hasAge to "15. The reason I'm asking is because I'm trying to repurpose this code to support SPARQL updates for my own personal Virtuoso server.
Can someone clarify this whether the two are indeed different operations?