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

Only update changed entries for struct,tax,ref #57

Open
bjonnh-work opened this issue Jan 23, 2024 · 1 comment
Open

Only update changed entries for struct,tax,ref #57

bjonnh-work opened this issue Jan 23, 2024 · 1 comment

Comments

@bjonnh-work
Copy link

Use something like:

SELECT ?compound ?date_ WHERE {
  BIND ((now() - "P1D"^^xsd:duration) AS ?date_)
  ?compound schema:dateModified ?date .
  ?compound wdt:P31 wd:Q113145171;
  FILTER (?date >= ?date_)
}

We need to store the last modified date.

@Adafede
Copy link
Contributor

Adafede commented Jan 23, 2024

Sill not 100% optimal but 99% there:

https://w.wiki/8wTB

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