docs: add entity resolution guide composing Worlds primitives - #100
Open
EthanThatOneKid wants to merge 1 commit into
Open
docs: add entity resolution guide composing Worlds primitives#100EthanThatOneKid wants to merge 1 commit into
EthanThatOneKid wants to merge 1 commit into
Conversation
Worlds does not ship a write-path entity resolver, but RDF is the substrate: identity is IRI-based, memory is curated, and every fact needed to resolve entities is a triple you can assert and query. This guide composes the primitives into entity resolution — retrieval-time resolution as the native pattern, and a conservative three-signal write-time pipeline (name similarity, co-occurrence, recency) built on hybrid search, SPARQL, ledger patches, provenance, and SHACL. Generated with Codebuff 🤖 Co-Authored-By: Codebuff <noreply@codebuff.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
Worlds does not ship a write-path entity resolver — identity is IRI-based,
memory is curated, and facts enter deliberately. That is a design decision,
not a missing capability: RDF is the substrate, and Worlds' primitives (items,
facts, the append-only ledger, hybrid search, SPARQL, provenance, SHACL)
compose into anything, including entity resolution.
This PR adds the official Entity resolution with Worlds guide
(
guides/entity-resolution.mdx), registered under Guides indocs.json:co-occurrence, recency, merges) to the Worlds primitive that provides it.
IRI resolved by hybrid search, co-occurrence disambiguation via SPARQL, and
ontology grounding with
discoverSchema.pipeline built on primitives: extraction with provenance, candidate search,
a 0.5/0.3/0.2 weighted score (name similarity, co-occurrence overlap,
recency) with the two SPARQL queries and a TS resolver sketch, a 0.6
conservative decision written as
wazoo:resolvesToledger patches, and anaudit query replaying every decision.
and Next steps, matching the company-brain guide format.
Notes
wazoo:source/wazoo:assertedAt/wazoo:resolvesTopredicates areexplicitly flagged as example vocabulary from the guide's example ontology —
the guide tells readers to define them and validate with SHACL.
Validation
prettier --checkpasses on both changed files.worlds/index,worlds/search,worlds/query,worlds/update,integrations/ai-sdk,console/tokens,guides/company-brain).mintlify validateis network-dependent and runs in CI.