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

Add EntityFacts to describedBy object #294

Open
acka47 opened this issue Oct 4, 2021 · 1 comment
Open

Add EntityFacts to describedBy object #294

acka47 opened this issue Oct 4, 2021 · 1 comment

Comments

@acka47
Copy link
Contributor

acka47 commented Oct 4, 2021

@felixlohmeier requested via email a way to query describedBy.dateModified and to also get the last modification date of data from EntityFacts. One option would be

  1. to make describedBy an array (which would be an API break) and
  2. to inject an object into describedBy for each resource that gets information from EntityFacts with dateModified of the last day we updated from EntityFacts.

E.g. for https://lobid.org/gnd/124767079:

{
  "describedBy":[
    {
      "id":"https://d-nb.info/gnd/124767079/about",
      "license":{
        "id":"http://creativecommons.org/publicdomain/zero/1.0/",
        "label":"http://creativecommons.org/publicdomain/zero/1.0/"
      },
      "dateModified":"2020-12-18T16:08:46.000"
    },
    {
      "id":"https://hub.culturegraph.org/entityfacts/124767079",
      "license":{
        "id":"http://creativecommons.org/publicdomain/zero/1.0/",
        "label":"http://creativecommons.org/publicdomain/zero/1.0/"
      },
      "dateModified":"2021-08-27"
    }
  ]
}

To clarify, we would update the dateModified with each update form EntityFacts although for most resources the EntityFacts information doesn't change between updates. @felixlohmeier, would this suit your use case?

@felixlohmeier
Copy link

Yes, that would solve my use case.I am looking for a way to pre-filter weekly bulk downloads to save resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants