Principle:7onez Cti expert KB Entity Edge Model
| Knowledge Sources | |
|---|---|
| Domains | OSINT, Knowledge_Base, Graph_Theory |
| Last Updated | 2026-10-28 14:00 GMT |
Overview
Data model that represents an OSINT knowledge base as attributed entities (facts) and attributed, deduped relationships (edges), where every fact and edge carries its source, collector, observation time, confidence, and evidence reference.
Description
The KB Entity-Edge Model solves the problem of unattributed correlation: a knowledge base that stores "domain A uses tracker X" without recording who said so, when, and how confidently cannot distinguish a verified fact from a guessed one, and cannot survive a re-collection that disagrees. The model defines two primitive types:
1. Entity: a typed node (domain, ip, email, indicator, person, org) keyed by value. An entity carries first_seen, last_seen, and a list of facts — each fact is an (attribute, value, source, collector, observed_at, confidence, evidence_ref) tuple.
2. Edge: an attributed, deduped relationship between two entities: (src_type, src, rel, dst_type, dst, source, collector, observed_at, confidence, evidence_ref, attrs). Both endpoints are ensured to exist as entities.
The model is idempotent: add_fact is deduped on (attribute, value, source, collector); add_edge is deduped on the full edge key. Re-ingesting updates observed_at but never overwrites a disagreement — conflicts are kept as separate facts.
Usage
Use this principle when designing a knowledge base for OSINT where:
- Every fact must carry its provenance (source, collector, observation time) so the KB can distinguish verified from guessed.
- Re-collection is safe — idempotent ingest means running the same collection twice does not duplicate or overwrite.
- Conflicting facts (same attribute, different value, different source) must be preserved, not silently resolved.
- Edges may carry extra data-level fields (e.g. a hosted_on edge's hosting window) without affecting the dedup key.
Theoretical Basis
The model is a provenance graph — every node and edge carries a full provenance chain. This is the RDF reification pattern applied to OSINT: instead of bare triples, each triple carries its own metadata.
# Abstract model (NOT real implementation)
Entity = {type, value, first_seen, last_seen, facts: [
{attribute, value, source, collector, observed_at, confidence, evidence_ref}
]}
Edge = {src_type, src, rel, dst_type, dst, source, collector,
observed_at, confidence, evidence_ref, attrs?}
# Idempotency keys
fact_key = (attribute, value_json, source, collector)
edge_key = (src_type, src, rel, dst_type, dst, source, collector)
The conflict preservation invariant: when two sources disagree on the same attribute (e.g. registrant email), both facts are stored. The KB never silently resolves a disagreement — the assessment layer (the LLM or the analyst) decides which source to trust.
Related Pages
Implemented By
- Implementation:7onez_Cti_expert_Ingest_Webpivot_Ingest_File
- Implementation:7onez_Cti_expert_KB_Add_Fact_Add_Edge
Used By Workflow
- Workflow:7onez_Cti_expert_Domain_Investigation (Step 4: Ingest Phase)
- Workflow:7onez_Cti_expert_Deterministic_Case_Pipeline (Step 2: KB Ingestion)
- Workflow:7onez_Cti_expert_Binary_Artifact_Analysis (Step 6: KB Ingestion)
- Workflow:7onez_Cti_expert_Social_Intake_Investigation (Step 5: Cross-Linking)