Spike: native RDF querying for search and answering gaps
Part of the Ontology Studio EPIC.
What
Spike — the output is a recommendation, not an implementation.
The ontology is stored as RDF but is not queried as RDF. The question is what native RDF querying (SPARQL) buys for the searching and answering gaps we have today, and what it costs.
Investigate: which current search/answer failures a graph query would actually fix; what a SPARQL endpoint costs to operate at catalog scale; whether it duplicates or replaces the hybrid search path; whether it belongs in 2.1 at all.
Done when
A written recommendation with a 2.1-or-later call. Anything built is throwaway.
Current recommendation — 2026-09-11
Build a SPARQL agent tool for 2.1 whose query text is composed by a capable model — Claude Opus, GPT Sol or Astra are examples of that class, not a commitment to a model or a price — executed behind a narrow, read-only, bounded server surface. Two goals, in order: keep the intermediate result set out of model context, and answer structured questions today's tools answer badly or not at all. Product implementation is follow-on work, not this spike's deliverable.
This supersedes both earlier positions in this issue: the blanket 2.1 deferral, and the scoped fixed-template recommendation of 2026-09-10. No measurement changed. Predefined question shapes do not scale — each new shape is a new template, a new review and a new release, and the set stays behind what users ask. The generality that argument concedes belongs to model-authored SPARQL over an open schema.
Start with a more capable model: during the spike, Opus caught mistakes made by Sonnet. That is qualitative spike experience — a practical starting point, not a controlled comparison between models and not proof of reliability. The saved benchmark measures hand-authored, hand-reviewed recipes, not controlled evaluation of model-generated queries. Once the query-generation evaluation suite is ready, evaluate smaller models for correctness, tokens, retries and latency.
Authoring freedom is not execution freedom
The model composes the query. The server decides what may run:
- read-only, with an allow-list of operations;
- authorization applied to the participating entities before any aggregate is computed — a bare
COUNT(*)leaks existence whether or not the caller may see what was counted; - an ontology vocabulary and an explicit traversal-direction contract handed to the model, not assumed — a wrong direction fails silently with a confident wrong answer;
- result-size and time bounds that cannot silently truncate;
- a malformed query, a stale projection or an execution failure returns an error, never an empty result that reads like an answer.
A strong model is not the safety boundary and not proof of correctness. Starting on a more capable model is a practical choice about the authoring half; it does not replace the controlled half either way.
Most of that boundary already ships, which is a reuse opportunity — the remaining build effort
is unpriced:
OntologySparqlQueryValidator is, in its own javadoc, "the shared read-only SPARQL boundary used
by manual and AI-generated queries" — it parses, rejects non-read query types and external
datasets, enforces SparqlFederationGuard, and counts rejections; SparqlQueryLimits bounds every
user-authored surface (1,000 default / 10,000 max rows, 100,000 characters, 10 MB, 30 s). And
POST /v1/ontology/ai/sparql is already a non-admin surface — per-glossary VIEW_BASIC, no
admin check — that generates and validates a visible read-only query without executing it. Both it
and POST /v1/glossaries/{id}/sparql are glossary-scoped: precedents for authoring and for guarded
execution respectively, not for asset-wide authorization over lineage/asset joins, which stays
the real unpriced design work.
One hazard in that boundary to fix before shipping this shape:
SparqlQueryLimits.applyResultLimit injects LIMIT 1000 into any query that declares none, and an
explicit limit above 10,000 is rejected outright. LIMIT bounds the final solution sequence,
not the rows an aggregate consumes: a COUNT that returns one row is unaffected, while a grouped
result with more than 1,000 groups — or any listing longer than that — loses rows with no error. An
over-limit query fails loudly; the injected default is not signalled at all. The tool must set its
own limit and report when it binds.
Evidence
| Experiment | Result | Implication |
|---|---|---|
| 1. Lineage depth: 2/3/4/6 hops | SPARQL beats the capped tool endpoint past 3 hops; uncapped REST also returns the expected ancestors | A tool-routing gap, not a unique RDF capability |
| 2. Glossary hierarchy, assets tagged only at leaves | Plain hybrid search misses the expected assets; SPARQL and the REST tag-FQN prefix filter find them | One measured search miss with an existing non-RDF remedy |
| 3. Multi-predicate join, grouped by domain | Correctness tie with a competent REST implementation; REST measured 6 calls, 1.27 s, about 2.1 MB — a reported live observation, n = 1, not persisted | Combining traversal and filters is possible without RDF |
| 4. Aggregation over traversal, real-DAG reachability | A graph query reduces round trips; the sampled real topologies bound the size of that advantage | Do not extrapolate explosive fan-out from artificial random DAGs |
| 5. Token cost: 4 questions × naive REST / trimmed REST / SPARQL | The two heavy shapes put large intermediate payloads through model context; SPARQL returns compact results | Execute traversal and aggregation outside model context |
Experiment 5 — saved token results
Saved raw_tokens per question and arm:
| Question | Naive REST | Trimmed REST | SPARQL |
|---|---|---|---|
| Shallow control | 9,996 | 5,408 | 1,137 |
| Upstream failure impact | 11,816 | 6,660 | 1,028 |
| Aggregation over traversal | 550,894 | 278,008 | 1,379 |
| Multi-predicate join | 939,621 | 288,460 | 1,256 |
Read every cell in that table under these limits:
- Synthetic corpus. The fixture places 241 nodes in the intermediate set — a conditional reconstruction from the committed fixture defaults, not a cardinality read off a saved run. The most adversarial sampled real topology (hub-seeded, two public dbt projects plus this catalog) reaches 85 nodes at 2+ hops, medians 1–12. Two projects are not a survey of real catalogs, and the ratios do not transfer.
- Proxy tokenizer. Tokens are
tiktoken cl100k_base, chosen for reproducibility — a real tokenizer, but not the one of whatever model ships, and not a billing figure.raw_tokenscounts a small base prompt (39–87) plus every serialized call argument plus every response — for the REST arms it is 97.5–99.95% response payload. Report ratios between arms, not absolute costs. - No saved answers, so no verified equality. Experiment 5 persisted token counts only. The SPARQL bindings were printed to stdout and never saved, and on the aggregation and join questions neither REST arm computed the final answer at all — the harness fetches and stops. These are ratios between recipes, not between answers shown to match. (The five original depth/glossary cases are different: those have saved answer rows and were checked for exact-set equality.)
- Differently scoped seeds on the two heavy questions. Arm A restricts its PII seeds to
fullyQualifiedName:graph_pattern.*; arm B's seed pattern carries no such restriction. The store contents are not recorded, so the effect is unknown and cannot be signed in either direction. Scope both arms identically in any future run.
The five original cases — saved answers, exact-set checked
| Case | Capped/current baseline vs SPARQL | REST counterfactual |
|---|---|---|
| Depth 2 | Both reach expected | Also reaches |
| Depth 3 | Both reach expected | Also reaches |
| Depth 4 | SPARQL only | Uncapped /v1/lineage/getLineage also reaches |
| Depth 6 | SPARQL only | Uncapped /v1/lineage/getLineage also reaches |
| Glossary hierarchy | SPARQL only | /v1/search/query?q=tags.tagFQN:X* also reaches |
SPARQL is exact-set equal — nothing missing, nothing unexpected — on all five, from saved
answer rows; the plain-search arm's 16 glossary false positives are all fixture-name collisions.
The REST counterfactual column is not uniform evidence: uncapped getLineage is exact-set equal
on the four lineage cases from the same saved rows, while the glossary prefix-filter
counterfactual is a narrative observation with no saved result set. None of the five establishes
a capability unavailable through REST.
What the evidence does and does not support
- Depth and glossary hierarchy: the initial graph wins have REST counterfactuals already in the platform. They identify tool/query-surface gaps, not unique RDF capabilities.
- Multi-predicate joins and traversal aggregation: SPARQL expresses each as one query. On the join, a competently built REST recipe was reported to reach the same answer — a live observation, not a saved result set; on the aggregation, neither REST arm computed a final answer at all, so no REST/SPARQL answer equality is demonstrated for either shape.
- Token cost: evidence against passing large intermediate sets through model context — not a measurement of production HybridSearch, and not a REST expressiveness limit. A composite REST tool would also aggregate outside model context.
- What these measurements are: reference measurements of hand-written expert recipes on one synthetic fixture. They support the engineering investment. They are not a proven upper bound on what a model-authored tool costs or achieves, and the realized benefit is unmeasured.
- Operational evidence: #32262, merged 2026-09-09, fixes the writer/projection/ontology defects hit during the spike and supplies separate scale work. It does not replace workload-specific validation for the new tool.
Validation — today versus with the implementation
The right-hand column is deferred to tool integration: there is no agent tool to run it against yet, and it is not a closure gate for this spike.
| Check | Today, in this spike | With the tool |
|---|---|---|
| Query syntax and allowed operations | Hand-written, hand-checked queries | Generated-query parse and allow-list validity, plus the rejection counts the server already records |
| Ontology and semantic correctness | Direction and predicate errors made live, corrected by hand | Graded per question: predicates, traversal direction, hop semantics |
| Expected answers | SPARQL exact-set equal on the five original cases (saved rows); uncapped REST exact-set equal on the four lineage cases; the glossary prefix-filter counterfactual is narrative only; Experiment 5 saved no answer rows at all | Gold answers per question — exact sets/counts for structural questions. Graded relevance is optional and later, if discovery questions are added |
| Authorization | Admin /v1/rdf/sparql and the glossary-scoped surfaces are precedents; asset-level RBAC over traversal is untested |
Allowed-versus-denied traversal cases, and aggregate-leakage tests that a count over unauthorized assets is refused, not filtered afterwards |
| Model input and output tokens | cl100k_base over base prompt, call arguments and responses — a real tokenizer, but not the one of whatever model ships, and no output side |
Actual model-visible input and output tokens per question |
| Retries | None — no model in the benchmark's query loop | Retries on rejected, malformed or empty queries, and whether they converge |
| End-to-end latency | One reported live observation, n = 1, not persisted (1.27 s over 6 REST calls) | Authoring + validation + execution + answer, as a distribution |
Next steps
- Role-based authorization for participating assets. Define and implement the access model for cross-asset traversal, applied to the participating entities before any aggregate is computed; filtering an already-computed count is insufficient. The shipped glossary-scoped endpoints are a precedent for execution, not for this. This is the unpriced design work and it is a follow-up in its own right.
- Design and build the model-authored SPARQL agent tool: ontology vocabulary and traversal-direction contract handed to the model, execution behind the existing read-only validator and bounds, an explicit result limit reported when it binds, and errors rather than empty results on failure.
- Benchmarks land with that implementation — generated-query validity and semantic correctness, exact answer correctness, authorization (allowed/denied traversal, aggregate leakage), model input and output tokens, retries, end-to-end latency, per the table above. Graded relevance is optional and later.
- Optional, deferred to agent integration: the production-
HybridSearchcomparison — the same natural-language questions against the current path and that path plus the graph tool, with ordinary-search controls. Not a closure gate, and nothing above depends on it.
Implementation scope
Nine properties the tool must decide rather than inherit: traversal direction pinned to the projection version and asserted by a named test; a stated hop definition (path-exists vs shortest-distance); a tie policy and an explicit result limit; seed-exclusion and cycle behaviour; distinct-entity semantics wherever a pattern fans out; missing and multi-valued attribute policy; authorization before aggregation; empty results distinguishable from failures; identical scoping across any arms a comparison reports. A model-authored surface makes each more load-bearing: what one template settles once, the tool settles for every query.
Independent non-RDF improvements are recorded in the query-surface findings and should proceed independently. ai-platform#1292 holds the harness, saved results and full evidence summary.
Preliminary spike results. One dimension of Q1 is tested and answered; the dimension where a graph query should be strongest is not. The headline is not what I expected: the sharpest case I could construct for a graph query turned out to have a plain REST answer.
| Q1 — which failures would a graph query fix? | Partly answered. On lineage depth: no SPARQL win, there is a cheaper REST fix. On pattern complexity: untested. |
| Q2 — operational cost at scale? | Answered by #32262 (open), at a scale I could not reach. |
| Q3 — duplicates or replaces hybrid search? | No — complementary, different query class. |
| Q4 — does it belong in 2.1? | No, for the online query surface. Authorization settles this on its own. |
Method, and two caveats that qualify everything below
The sample catalog has no lineage chain deeper than three hops, so getLineage's depth-3 cap never binds and the comparison could not be run on it. So I built a synthetic fixture — lineage chains of 2, 3, 4 and 6 hops, plus a four-level glossary tree with tables tagged only at the leaf — and ran an A/B, model-free (no planner, no answer synthesis).
Everything ran as admin, and the SPARQL arm can only ever run that way. /v1/rdf/sparql is admin-gated, so there is no non-admin way to execute it at all. This does not bias the comparison — both arms saw the same catalog — but every SPARQL result below is a ceiling unreachable in production, where an agent is persona-scoped and would get a 403.
The depth cap has nothing to do with RDF or hybrid search. Three endpoints, three backing stores:
| Endpoint | Reads from | Depth cap | Auth |
|---|---|---|---|
/v1/lineage/{entity}/name/{fqn} |
relational DB | @Max(3) |
persona-scoped |
/v1/lineage/getLineage |
search index | none | persona-scoped |
/v1/rdf/sparql |
Fuseki | none | admin only |
Q1, part one — lineage depth: no SPARQL win
Controls (2 and 3 hops, inside the cap) came out level. Past the cap, SPARQL won and the capped REST arm lost exactly what you would predict — at depth 4 it returns the three nearest ancestors and misses the fourth; at depth 6 it misses the three beyond the cap.
That reads as a clean graph win until you check the counterfactual. The cap is @Max(3) bean validation on one endpoint — the one our agent tooling happens to call. /v1/lineage/getLineage takes upstreamDepth with no @Max at all, uses the value directly rather than clamping, and authorizes through the same persona-scoped path. Confirmed empirically: it returns all six ancestors of the 6-hop chain.
So the capability gap is real and costs real answers, but the fix is which URL a tool calls, not a new datastore on the request path. Checking the history, this looks like an unexamined default rather than a considered tradeoff. It is not free, though: /getLineage is search-index-backed rather than reading the relationship table, so it inherits reindex lag — a consistency difference for a lineage answer — and its response shape is materially more complex. Real costs, just unpriced ones.
Q1, part two — what was not tested
The fixture is linear chains and a linear tree: the simplest possible graph. Right for the depth question, wrong for the general one, because depth is not where a graph query is most differentiated — pattern complexity is, and almost none was tested:
- Multi-predicate joins — "tables more than two hops downstream of PII-tagged tables, owned by team X, grouped by domain." One SPARQL query; a sequence of REST calls plus client-side joining otherwise.
- Cross-entity-type traversal — table → dashboard → report.
- Aggregation over a traversal, as distinct from the flat aggregation OpenSearch already does exactly.
So the accurate claim is "no SPARQL win on the shapes tested", not "no SPARQL win".
One case does survive: glossary/tag hierarchy traversal, where hybrid search genuinely misses tables carrying only a leaf term and no REST counterfactual exists. That is one case — evidence, not a benchmark.
Q4 — not a 2.1 candidate, on two independent counts
Neither blocker is "RDF is a bad idea". Both are "not yet".
1. No RDF query surface is callable by an agent today. 33 of RdfResource's 40 endpoints require admin, including /sparql and /graph/explore; #32262 does not change this. A persona-scoped, non-admin agent user cannot call any of them without escalating every agent call to admin.
Could that be fixed for 2.1? It depends which version you mean, and the distinction matters:
- Authorizing arbitrary SPARQL is hard for structural reasons, not effort.
LineageResourcecan filter per entity because its result shape is known — a set of entities it hydrates and checks individually. A SPARQL result need not be entities at all; it can be counts, aggregates or arbitrary bindings, so there is nothing to filter. Post-filtering leaks anyway (aCOUNT(*)reveals that something exists whether or not you may see it), and pre-filtering means expressing the policy model — teams, domains, roles, inherited policies — as graph patterns. I would not scope that into a release. - Authorizing a handful of fixed, parameterized graph queries is tractable, and is the same per-entity pattern lineage already uses. It is also the design this spike would recommend on safety grounds regardless, since it keeps model-generated SPARQL out of the execution path.
So the honest statement is not "authorization is impossible." It is: the general form is a research problem, the tractable form requires knowing which queries to ship — and we do not yet know that.
2. There is currently no evidence a graph query would improve retrieval. On the shapes tested, the one strong candidate had a cheaper REST answer, and the single surviving win rests on one case. These are preliminary results and may not hold — but they are what we have, and they point away from building rather than towards it.
Together: not a 2.1 candidate unless authorization is solved and the retrieval case is made — and neither is true today. The two are independent, so progress on one does not unblock the other. If the pattern-complexity tests come back strongly positive, the argument to make is for a small set of authorized, fixed graph queries in a later release, not for a general SPARQL surface.
One shape sidesteps the authorization question entirely, and to be clear it is a proposal out of this investigation rather than something the platform contemplates: run the inference offline and project its output into the search index, so the request path never touches Fuseki and inherits existing per-entity permissions. The mechanism half already ships (transitive-lineage-closure.json via RdfInferenceApp, confirmed running end to end); the projection does not exist. Note it closes over prov:wasDerivedFrom, so the surviving glossary case would need a new rule regardless.
Next
- Test the pattern-complexity shapes. The real gap. The harness extends to them directly — the work is cases and a richer fixture, not new tooling. Until that runs, Q1 has a partial answer.
- More glossary/hierarchy cases — the only surviving candidate, currently resting on one measurement.
- File the lineage tool-routing gap separately. Real, cheap relative to a graph tool, independent of RDF, and it should not wait on any of this — but its switching costs need pricing rather than assuming away.
Filed along the way: #32883 (ontology/writer drift), #32047 (projection reliability), #32057 (scale) — all three addressed by #32262, pending merge.
Fixture, cases, runner and the full run are in a draft PR on the Collate side; happy to walk through the detail or share numbers with anyone who wants them.
Correction to the above. The one surviving win I reported — glossary hierarchy traversal — does not survive either. Posting the retraction rather than quietly amending, since the original has been read.
I tested whether a REST path already answers it, the same treatment that overturned the depth result. It does:
GET /v1/search/query?q=tags.tagFQN:GraphBench.Finance*
Returns exactly the tables tagged at the leaf terms — no traversal, no graph query. It is also not an obscure trick: SearchResource.java documents q=tags.tagFQN:user.email as usage example #4 in its own javadoc, and the endpoint authorizes through the same persona-scoped getSubjectContext path as the lineage endpoints. Tag-FQN prefix filtering is a first-class, non-admin capability that has been there all along.
So there is now zero surviving measured evidence for a graph-retrieval win on the shapes tested.
The pattern is more useful than the negative result
Both apparent graph wins turned out to be gaps between the agent tool surface and the platform API surface — not gaps in platform capability:
| The platform API can | The agent tool cannot | |
|---|---|---|
| Lineage depth | /v1/lineage/getLineage, no depth cap |
our lineage tool calls the @Max(3) endpoint |
| Glossary hierarchy | tag-FQN prefix filter, documented | our search tool takes natural language only, and cannot construct a field filter |
Two for two. This spike would have recommended a triplestore for two problems that are both tool-surface limitations — and in both cases the fix is small and needs no new infrastructure.
Worth stating as a general check, because it caught me twice: before concluding that new infrastructure is needed, verify the existing API cannot already do it and the tool simply cannot reach it. The first version of each result was confident and wrong, and only a deliberately-sought cheaper alternative surfaced that.
What this does and does not settle
Does not settle whether graph retrieval is useful. Two case shapes have been tested, and both were the simple ones — linear traversal and linear descent. Pattern complexity is untested and is the only remaining ground: multi-predicate joins, and especially aggregation over a traversal, where a REST client must pull the whole intermediate result set back to count it while a graph query pushes the computation to the data. That is the one place a graph query can win on something other than convenience, and it is what I am testing next.
Does not change the Q4 answer, which never depended on the retrieval result: no RDF query surface is callable by a persona-scoped, non-admin agent user today, so this is not a 2.1 candidate regardless.
Does change the priority of the two tool-surface fixes. Both are cheap relative to anything discussed here, both are independent of RDF, and they are now the concrete output of this spike. Filing them separately.
Update: token cost changes the recommendation for one question shape. This contradicts the "no SPARQL win" reading of my two comments above — posting the correction rather than leaving the wrong answer standing, since both were read.
Everything above priced REST vs SPARQL in HTTP calls. That was the wrong unit. Priced in tokens — what a model-driven agent actually spends to read a response, not just place a call — the one real advantage I'd already found (aggregation over a traversal: "which tag is most common among tables downstream of a PII table") turns out to be decisive, not marginal.
The numbers. Same question, three arms, four question shapes: naive REST (full payloads), REST with field trimming applied properly, and SPARQL. On the two shapes with a real intermediate set (aggregation, and a multi-predicate join), both REST arms — trimmed included — exceed a 200K-token context window. SPARQL answers the same questions in ~1.3K tokens. That isn't "SPARQL is cheaper," it's "a naive tool loop cannot answer these questions at any budget, and SPARQL can."
The qualifier, because it's easy to overclaim here and I don't want to. This is about a tool loop that reads raw REST responses into the model's context — not about what the REST API itself can express. A composite tool that aggregates server-side (traverses, filters, counts in code, hands the model back one row) would cost roughly the same tokens as SPARQL, because neither puts the intermediate set in front of the model. So the durable advantage isn't cost — it's generality. A composite tool only answers the question shapes someone anticipated and hard-coded; a new aggregate needs a new tool, shipped. SPARQL expresses an aggregate nobody pre-built and still returns only the answer. That's the first advantage in this whole investigation a platform-surface fix doesn't close, because it was never a tool-routing gap the way the earlier findings were.
Updated recommendation. Not a general-purpose, agent-callable SPARQL surface for now — but I'm no longer calling that "blocked," and I want to be precise about why. 33 of RdfResource's 40 endpoints call authorizeAdmin today — a plain grep returns 34, one of which is a javadoc mention rather than a call. But this same class already ships two working non-admin patterns for RDF-adjacent endpoints — per-entity authorization on the single-entity RDF export, and a per-user-private saved-query library scoped to the caller's own data — plus a third, more suggestive one: /queries/templates lets an admin curate SPARQL query templates that any authenticated user can list. To be precise and not round this up: it only lists — running a template still goes through /sparql, still admin-gated, so it isn't a working precedent for non-admin execution. What it is, is evidence this codebase's own authors were already reaching for the fixed-template shape below. Outside this class, POST /v1/glossaries/{id}/sparql is a working execution precedent — read-only, per-entity authorized, federation blocked by default, capacity/timeout guarded.
Arbitrary SPARQL across the whole knowledge graph has no natural container to authorize against, which is real, unscoped design work — post-execution result filtering, per-persona named graphs, or fixed templates with a statically-known access footprint are the shapes available, and nobody has priced which one. That's a reason to prefer the fixed-template shape below, not a reason the general surface is impossible. What actually carries more of the "not yet" here is the correctness failure mode: a wrong predicate or direction fails silently with a plausible wrong answer, not an error — found twice in this spike, both fixed by #32262, now merged into main (commit d821be920bd) — and an open-ended, model-authored query reintroduces exactly that risk every time, where a fixed template doesn't.
So: a scoped, fixed-template SPARQL tool for aggregate-over-traversal and multi-predicate-join questions specifically is justified now, on measured evidence, with an authorization design that has real precedent to build from rather than a blank page.
Full numbers, the corrected cost formula, and both ways of pricing SPARQL's own vocabulary-discovery cost are written up on the Collate side — happy to share directly or walk through any of it.
Correction to my earlier recommendation in this issue.
I recommended a scoped, fixed-template SPARQL tool for 2.1 and kept the model-authored surface deferred. That is superseded: the recommendation is now a SPARQL tool whose query text a capable model composes, executed behind a controlled, read-only, bounded surface. Predefined question shapes do not scale — each new shape is a new template, a new review and a new release. The generality argument I made earlier in this thread was right about where generality lives (model-authored SPARQL over an open schema); the fixed-template conclusion did not follow from it.
Nothing measured changed, and the limits stand as stated: the saved benchmark measures hand-authored, hand-reviewed recipes, not controlled evaluation of model-generated queries, so there is no graded evidence here about how often a model composes a correct query. Start on a more capable model — during the spike, Opus caught mistakes made by Sonnet, which is practical experience rather than a controlled comparison — and evaluate smaller models for correctness, tokens, retries and latency once the query-generation evaluation suite is ready. The Experiment 5 ratios come from a constructed corpus (241 intermediate nodes, a fixture reconstruction, against 85 in the most adversarial sampled real topology) with no saved answer rows and differently scoped arms on the two heavy questions; they are reference measurements of expert hand-written recipes, not a proven ceiling. And no ranking against a competently built composite REST tool exists in either direction.
Freedom is in authoring, control is in execution: read-only allow-listed operations, authorization applied to participating entities before any aggregate is computed, an ontology vocabulary and traversal-direction contract given to the model, bounded results and runtime, and errors rather than silent empty answers. A strong model is not the safety boundary. Next steps are role-based authorization for participating assets, the tool itself, and benchmarks that land with it — generated-query validity and semantics, answer correctness, input and output tokens, retries, latency. The production HybridSearch comparison stays a deferred nice-to-have.