D40 — A path is a chain of claims, and it is as strong as its weakest hop¶
- Status: Accepted — supersedes D27b
- Date: 2026-09-22
- Origin: slice 13 build
- Area: reading
Decision¶
kg path A B returns the shortest routes between two entities, every route of
that length, up to --limit. Each hop is an edge, and an edge is a claim (D9b),
so each hop carries its own evidence, dates, attributes and confidence.
The confidence reported for a path is the minimum over its hops, and the hop that produced it is named in the output. We do not multiply hop scores and we do not average them.
Where several routes tie at the shortest length, all of them are returned rather than one being picked. Two independent routes between the same pair is a finding.
Why¶
A number on a path is only worth printing if a person can act on it. "These two are 0.41 connected" is a product of four numbers, none of which the reader can see, and it cannot be checked, improved or argued with. The minimum can: it says this hop is the one holding the chain up, go and find a second source for it.
Multiplying also punishes length for its own sake. A five-hop chain of well-sourced company filings would score below a two-hop chain of aggregator rows, which is backwards — the five-hop chain is five documented facts and the two-hop chain is one dataset's opinion twice.
The walk reuses relation_state, the same function kg get renders an entity's
relations from, rather than reading the claims table itself. A path that
disagreed with the entity page about whether an edge exists would be a bug with
a user interface, and reuse makes that impossible by construction. It is also
how the walk inherits merged identity (D20b), retraction, expiry and the two
clocks without reimplementing any of them.
Slice 13's session shows the point: Colossus 2 → Colossus 1 returns two
distinct two-hop routes, a shared owner and a shared tenant, and both rest
entirely on one aggregator at 0.40. Printing "0.16" would have hidden that; the
weakest hop names it.