<< All versions

Skill v1.0.0

currentAutomated scan100/100
bibinprathap/veritasgraph/deduplicate
──Details
PublishedOctober 22, 2026 at 08:33 PM
Content Hashsha256:4378046772525bda...
Git SHA19bffd364d51
──Files
Files (1 file, 1.2 KB)
SKILL.md1.2 KBactive
SKILL.md · 43 lines · 1.2 KB

version: "1.0.0" name: deduplicate description: Detect duplicate entities, duplicate groups, and relationship duplicates in VeritasReason using fuzzy matching, schema heuristics, and graph similarity.


/veritasreason:deduplicate

Remove duplicates from the knowledge graph. Usage: /veritasreason:deduplicate <strategy> [args]

$ARGUMENTS = deduplication strategy + optional entity or threshold.


entities [--threshold <score>] [--field <name>]

Detect duplicate entities and group them by similarity.

python
from veritasreason.deduplication import DuplicateDetector
finder = DuplicateDetector()
candidates = finder.detect_duplicates(entities, threshold=threshold)
groups = finder.detect_duplicate_groups(entities, threshold=threshold)

Output: duplicate candidate list, duplicate groups, and representative merge recommendations.


relations [--similarity <score>]

Detect duplicate relationships and normalize edge representations.

python
from veritasreason.deduplication import DuplicateDetector
finder = DuplicateDetector()
relations = finder.detect_duplicates(relation_list, threshold=similarity)

Result: duplicate relation candidates, normalized relationship groups, and cleanup summary.

All versions