CredentialEngine / CredentialRegistry

Repository for development of the Credential Registry
Apache License 2.0
12 stars 10 forks source link

Blank node ids are generated so a graph with no real changes now appear changed #672

Closed mparsons-ce closed 8 months ago

mparsons-ce commented 8 months ago

@excelsior We have a partner publishing thousands of transfer values daily. Often or usually there is no change to the data but the envelope gets marked as changed. I think the issue is the blank node ids. These are always generated new so the graph will appear changed. I would guess there is little you could do about this, other than a major hack, but thought I would check. Another possibility would depend on whether blank node ids have to be globally unique or only unique within a graph?

excelsior commented 8 months ago

@mparsons-ce Blank nodes need to be unique within a graph, not necessarily globally. I think we can diff two versions of a graph and see whether they only differ by blank node IDs, but it may be tricky indeed…

mparsons-ce commented 8 months ago

@excelsior Thanks for your response. It doesn't sound like it will worth investigating a solution on the registry side at this time.