Skip to content

Drop the last three references to the LDT namespace - #95

Merged
namedgraph merged 2 commits into
masterfrom
chore/drop-last-ldt-references
Sep 25, 2026
Merged

namedgraph merged 2 commits into
masterfrom
chore/drop-last-ldt-references

Conversation

@namedgraph

Copy link
Copy Markdown
Member

Finishes what d7cac463 and 816f4ca3 started. Those two took the ldt: namespace out of the stylesheets and the writer, and deleted vocabulary/LDT.java, the bundled ldt.ttl and the prefix-mapping.n3 entry that resolved it. Three lines were left behind — the last mentions of https://www.w3.org/ns/ldt anywhere in this repo.

ns.ttl

ac:stylesheet carried rdfs:domain ldt:Application. With ldt.ttl gone and the namespace unmapped, that names a class nothing here defines and nothing can resolve. It is inert rather than broken — ns.ttl has no owl:imports of the namespace, so nothing is fetched and nothing errors — but it is a dangling reference in a published ontology.

Dropped rather than repointed. Web-Client has no class of its own to name there, and it must not take a dependency on a LinkedDataHub namespace to borrow one. ac:stylesheet keeps its label and rdfs:isDefinedBy; it simply no longer claims a domain.

ProxyRequestFilterTest

The fixture used two ldt: rel URIs to check that a comma-joined Link header comes back split into one value per link-value. ProxyRequestFilter.overlayHeaders never inspects rel, so the URIs are arbitrary — they are now example.org. The assertions are unchanged in shape.

Context

This is the Web-Client half of AtomGraph/LinkedDataHub#394, which retires https://www.w3.org/ns/ldt on the platform side and renames its deployment-configuration ontology.

LinkedDataHub reads ns.ttl out of the published client jar, so this only reaches it on the next release plus a dependency bump — it currently pins client:6.0.1 twice, as classes and as the war overlay. Nothing waits on that: until then the platform simply carries one unresolvable URI in its ontology closure, exactly as it does today.

ns.ttl's owl:versionInfo is left at 2.1.0 — dropping a dangling annotation did not seem worth a bump, but say the word and it can go up with the next release.

Verification

mvn test-compile clean; ProxyRequestFilterTest passes; ns.ttl validates with riot. grep -r 'ns/ldt\|ldt:\|LDT' over the repo now returns nothing but the false positive checkLiteralDT in TokenizerText.java.

🤖 Generated with Claude Code

namedgraph and others added 2 commits September 25, 2026 18:36
d7cac46 took the ldt: namespace out of the stylesheets and the writer, and
816f4ca deleted vocabulary/LDT.java, the bundled ldt.ttl and the
prefix-mapping.n3 entry that resolved it. Three lines were left behind.

ac:stylesheet carried rdfs:domain ldt:Application. With ldt.ttl gone and the
namespace unmapped, that names a class nothing here defines and nothing can
resolve - it is inert rather than wrong, since ns.ttl does not owl:imports the
namespace, so no fetch is attempted and no error is raised. The domain is dropped
rather than repointed: this project has no class of its own to name there, and it
must not take a dependency on a LinkedDataHub namespace to borrow one.

ProxyRequestFilterTest used two ldt: rel URIs to check that a comma-joined Link
header comes back split into one value per link-value. ProxyRequestFilter does not
inspect rel at all, so the URIs are arbitrary; they are now example.org.

LinkedDataHub reads ns.ttl out of the published client jar, so this reaches it on
the next release and dependency bump. Nothing waits on that: the reference is
dangling, not dereferenced.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@namedgraph
namedgraph merged commit ace8826 into master Sep 25, 2026
@namedgraph
namedgraph deleted the chore/drop-last-ldt-references branch September 25, 2026 17:13
namedgraph added a commit to AtomGraph/LinkedDataHub that referenced this pull request Sep 25, 2026
…6.0.2.

Web-Client 6.0.2 (AtomGraph/Web-Client#95) drops the rdfs:domain ldt:Application
that ac:stylesheet still carried. The class had not been resolvable since Web-Client
deleted its bundled ldt.ttl and the prefix-mapping entry for the namespace, and
ns.ttl reaches this project from the published jar, so the reference sat in every
ontology closure the platform built - inert, since nothing imports the namespace and
no fetch is attempted, but there.

Both client dependencies move: the classes artifact and the war overlay.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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

Successfully merging this pull request may close these issues.

1 participant