DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to merge duplicate entity names into one canonical view with Lemmalog

Assert alias edges and read facts through canonical names, with conflicts escalated instead of silently merged.

Short answer: Run cargo build --release --features mcp; then Assert alias edges with confidence, for example Acme_Corp --alias_of[0.9]--> Acme, through lemmalog_canonicalize or the CLI observe command; Query the canonical view, for example current_canon(S, R, O), and check the same_as closure. All steps.

Who it is forA researcher or engineer whose extracted facts use several spellings for the same entity and who needs one consistent name for queries.

The problemThe same company or person appears under variant names, so facts split across records and queries miss matches.

The outcomeAlias edges are asserted, closures derive same_as links, and canonical views project facts under one spelling, with topology violations flagged as alias_conflict.

What you need first

  • Rust toolchain with cargo, and a clone of the lemmalog repo
  • Claude Code (or Kimi CLI) installed if you want MCP tools
  • A writable path for the memory snapshot, for example /tmp/lemmalog.snapshot or the default ~/.lemmalog/memory.snap

Steps

  1. Run cargo build --release --features mcp.
  2. Assert alias edges with confidence, for example Acme_Corp --alias_of[0.9]--> Acme, through lemmalog_canonicalize or the CLI observe command.
  3. Query the canonical view, for example current_canon(S, R, O), and check the same_as closure.
  4. Check for alias_conflict facts and resolve any local name that maps to two canonical names.
  5. Retract a wrong alias edge and confirm the downstream views update in the same epoch.

Prompt for your agent

Using the lemmalog MCP server, canonicalize the alias edges in <file> and then query current_canon for <entity>. Expected output: the canonical facts plus any alias_conflict entries. Verify that no local name maps to two canonical names.

Caveat. The canonical rules are described in the README as read-side projections in src/canonical.rs, so check the README example against your own rule set before relying on it.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for JordyZomer/lemmalog and "Merge duplicate entity names into one canonical view"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer