Skip to content

Proxy URIs from namespace#285

Merged
namedgraph merged 4 commits intodevelopfrom
feat-proxy-uris-from-namespace
Apr 9, 2026
Merged

Proxy URIs from namespace#285
namedgraph merged 4 commits intodevelopfrom
feat-proxy-uris-from-namespace

Conversation

@namedgraph
Copy link
Copy Markdown
Member

No description provided.

namedgraph and others added 4 commits April 9, 2026 01:01
After the DataManager cache check, run a DESCRIBE query against the
app's in-memory OntModel (full imports closure) before falling through
to the external proxy or 405. Covers both slash-based term URIs (e.g.
schema:category) and hash-based namespaces (e.g. sioc:ns → describes
all sioc:ns#* terms via the WHERE clause). This allows facet headers
and other term lookups to resolve from imported ontologies without
requiring ENABLE_LINKED_DATA_PROXY=true.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Creates two OWL classes in a made-up hash-based namespace, clears
the in-memory ontology, then retrieves the namespace document via
?uri= and verifies both class descriptions are returned. The namespace
is not DataManager-mapped and not a registered app, so the request
exercises the new OntModel DESCRIBE path in ProxyRequestFilter.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Set filter.ontology = Optional.empty() in setUp() so existing tests
reach the proxy/NotAllowed paths they were designed to test.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@namedgraph namedgraph merged commit 00f0d60 into develop Apr 9, 2026
1 check passed
@namedgraph namedgraph deleted the feat-proxy-uris-from-namespace branch April 9, 2026 21:22
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