Repository navigation
Every ETL-built document carries its build timestamp as dct:created - #33
Open
namedgraph wants to merge 1 commit into
Open
namedgraph wants to merge 1 commit into
namedgraph wants to merge 1 commit into
Conversation
Each mapping's dh:Item template gains dct:created ?now, bound once per query by a top-level BIND(NOW() AS ?now) at the end of the WHERE. make load writes straight to TDB2, bypassing the LDH API that would otherwise stamp dct:created on PUT. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dh:Itemtemplate in the 21 mappings on master (22 templates;position-types.rqhas two) gainsdct:created ?now, bound once per query by a top-levelBIND(NOW() AS ?now)at the end of the WHERE. Placing it at the top level, not inside an OPTIONAL, avoids the bottom-up BIND pitfall.make loadwrites straight to TDB2, so LDH never stampsdct:createdon these documents; the ETL now does it.datasets/current/is regenerated with a fullmake.CLAUDE.mddocuments the rule for new mappings.Notes
NOW()is constant per query execution, so every document from one mapping shares one timestamp.dct:createdbefore theriot --output=nquads | sortcomparison.votes.rqanddecision-methods.rqlive onfeat/seimas-votes(unmerged) and get the same edit there.Test plan
qparse --syntax=ARQ, Jena 5.6.0)makepassesvalidate.sh+ SHACL for every domain; graph counts as in CLAUDE.md (10 / 60 / 584 counties / municipalities / elderships, 10 / 131 / 4 771 terms / sessions / sittings)dct:createdfiltered out: 0 added / 0 removed in every regenerated filedct:createdperdh:Item🤖 Generated with Claude Code