Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redefine named-graph URI for Notices #79

Open
cristianvasquez opened this issue Nov 19, 2024 · 0 comments
Open

Redefine named-graph URI for Notices #79

cristianvasquez opened this issue Nov 19, 2024 · 0 comments
Labels

Comments

@cristianvasquez
Copy link
Contributor

cristianvasquez commented Nov 19, 2024

While looking into the data, I discovered an inconsistency in the calculation of amounts. The culprit are noticesUri that appear in more than one named-graph.

For instance, consider the notice with publication number: 00642806-2024.

Multiple publication numbers are associated with the same noticeUri: query

And this results in conflicting estimated amounts for the same noticeUri: query

A problem is that a notice URI has different publication numbers simultaneously. query.

We need to revise the URI pattern for a notice and/or named-graph of a notice. Using the uuid for the named-graph might be correct if only the last version of the notice is to be maintained in the triplestore, if all versions are to be maintained, then the named-graph should be based on the publication number. There are tradeoffs to analyze.

Some options from the top of my head:

  • URI of the named graph of the notice
    • Use the notice uuid, so one can keep only the latest versions of notices, by rewriting the named graph.
    • Use the publication number, so one can keep all versions of notices, (some queries become complex)
  • URI of the notice
    • Use the uuid, the same as the named-graph. Only one version exists
    • Use the publication number, the same as the named-graph
    • Use the public URL of the notice as the URI
    • Use a composite URI? uuid + version?

Related: #41

@cristianvasquez cristianvasquez changed the title Redefine URI Pattern for Notices Redefine named-graph URI for Notices Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant