Contents
  1. The task and the information it requires
  2. Entities, identities and modeling granularity
  3. Relationships and qualified assertions
  4. Ontology, inference and validation
  5. Entity resolution across sources
  6. Graph construction and assertion evidence
  7. Time, disagreement and incomplete knowledge
  8. Relationship patterns and result rows
  9. Traversal boundaries and execution work
  10. A traceable dependency-and-owner result
  11. Source updates and dependent conclusions
  12. Identity repair and semantic change
  13. Graph quality, task usefulness and operating cost
  14. Check understanding
  15. Open questions
  16. Selected talks
  17. References
  18. Talk library
← All topics

Knowledge Graphs

A knowledge graph represents identifiable things and meaningful relationships between them. Its value comes from answering questions whose evidence spans those connections. A software dependency investigation makes the responsibilities concrete: distinguish releases and deployments, preserve source qualifications, follow valid paths, identify responsible teams, and report what remains unknown.

The task and the information it requires

A knowledge graph connects identifiable entities through relationships with explicit meanings. A connection stating that a talk was presented at a conference carries more information than an undifferentiated link between two strings. Shared identities allow separately collected records to participate in the same query.

Competency questions specify what the knowledge base must answer and at what level of detail. They bound the categories and relationships worth maintaining. This task-first modeling method is developed in Ontology Development 101; intended outcomes provide the corresponding evaluation boundary.

Evidence required by the answer

Example

Ownership and deployment evidence establish different parts of the result.

Join dependency evidence with observed deployment and ownership records. None establishes the complete answer alone.
Read the diagram as text
  • Artifact dependency evidence.
  • Deployment observation.
  • Ownership record.
  • Qualified result.
  • Artifact dependency evidenceQualified result: Data: dependency path.
  • Deployment observationQualified result: Data: observed artifact.
  • Ownership recordQualified result: Data: responsible team.

The running task identifies production deployment occurrences whose software inventories contain a path to an exact library release, then identifies their responsible teams. The constructed fixture adapts CycloneDX’s published Acme Application dependency diamond. Releases, deployments, teams and observation records added here are examples, not observations of a production environment.

The expected answer carries evidence as well as names: deployment D1, artifact H1, dependency witness W1 and team Blue, qualified by the deployment observation, ownership source, applicable time and coverage.

A logical graph does not require a dedicated graph database.
Representation or access methodAppropriate role
Document searchLocate relevant passages; explicit relationships can add context when evidence spans documents.
Tables and recursive SQLFollow stored relationships without introducing a separate graph store.
Virtual graph mappingExpose relational records as graph statements without necessarily copying them.
Maintained domain graphMake recurring relationship-dependent questions worth the construction and update effort.

Entities, identities and modeling granularity

An entity is a distinguishable thing in the modeled domain. A relation specifies a connection between entities. Nodes represent entities; typed, directed edges represent relationships. Properties hold attributes, such as a name or observation date. Relationship direction matters: a deployment uses an artifact, while the artifact does not thereby use the deployment.

A triple is a subject–predicate–object statement. An entity reference identifies something that other statements can also reference; a literal supplies a value, such as text or a typed date. The RDF Primer explains this distinction. A graph schema specifies vocabulary and structural expectations; it does not establish that populated records are true.

A source record describes an entity; a textual mention refers to one. Neither is automatically the entity’s canonical identity. Several records can describe one entity, and one document can mention several entities. Observation identity remains distinct from the domain identities a graph connects.

The dependency investigation needs identifiers at several levels.
Thing identifiedIdentity boundary
Library releasePackage ecosystem, namespace, name and version; a versionless reference cannot identify an exact release.
Inventory component occurrenceBill of materials (BOM) identity plus its locally unique component reference.
Executable artifactAn image digest identifies content; a mutable image tag can later select different content.
Deployment object occurrenceCluster context plus object UID, a unique occurrence identifier. Deleted object names can be reused.
Service and responsible teamOrganizational identities connected by maintained ownership records; ownership is not runtime authorization.

If H1 contains common-util release 1.0 and H2 contains release 2.0, merging both releases into a library-name node destroys the distinction needed by an exact-release query. Conversely, preserving release identifiers does not establish that an inventory actually describes a deployed artifact; that requires another evidenced connection.

Relationships and qualified assertions

Resource Description Framework (RDF) represents information as triples. Internationalized Resource Identifiers, or IRIs, identify resources and predicates. Reusing an identifier connects statements. Serialization formats can change without changing the graph’s logical content; choosing which real-world thing an identifier denotes remains a modeling decision.

The same dependency needs different representations depending on which qualifications must remain addressable.
RepresentationWhat it preserves
Labeled property graphTyped, directed edges and properties on nodes or edges. A dependency edge can carry inventory and observation attributes.
Bare RDF tripleThe dependent, predicate and dependency. It supplies no separate relationship record for attaching this occurrence’s qualifications.
Explicit relation instanceAn addressable record connects participants, inventory and evidence. Queries follow those participant relationships.

Shared endpoints, separate assertions

Example

Qualifications remain attached to their own relationship instance.

Assertions C1 and C2 connect the same releases but retain different inventory evidence. Their shared endpoints do not merge their qualifications.
Read the diagram as text
  • Assertion C1.
  • Assertion C2.
  • Dependent release.
  • Dependency release.
  • Inventory evidence B1.
  • Inventory evidence B2.
  • Assertion C1Dependent release: dependent.
  • Assertion C1Dependency release: dependency.
  • Assertion C1Inventory evidence B1: inventory evidence.
  • Assertion C2Dependent release: dependent.
  • Assertion C2Dependency release: dependency.
  • Assertion C2Inventory evidence B2: inventory evidence.

An n-ary relation involves several participants or qualifications that belong together. The relation-instance pattern introduces a node for that relationship. Two dependency assertions can share release endpoints while retaining different inventory contexts. Deriving an unqualified dependency edge from those records requires an explicitly chosen mapping.

Reification gives a statement an addressable description. RDF 1.1 uses a statement resource with subject, predicate and object properties. Describing a triple this way does not entail the triple itself, and asserting the triple does not entail its reification. Separate descriptions of the same triple can therefore carry separate attribution without automatically endorsing the relationship.

An RDF dataset has one default graph and may have named graphs. A graph name does not inherently identify its author, authenticate its contents or declare endorsement. The default graph is not automatically their union. Source attribution and inventory scope require explicit application conventions in addition to dataset organization.

Ontology, inference and validation

An ontology describes domain categories, relationships and their meanings. A class is a category; an instance is an individual classified within it. A taxonomy organizes categories hierarchically. An ontology can additionally describe relationship meanings and logical rules, giving multiple ingestion pipelines a shared domain model.

Vocabulary reuse requires comparing definitions and granularity, not merely labels. A superclass must actually include its subclasses. Two systems using the word component might mean a package family and a deployable artifact, respectively; declaring them equivalent would erase a distinction the investigation needs.

Two operations on one record

Example

An inferred type can coexist with a validation failure.

D1 is a DeploymentOccurrence with no artifact reference. The subclass axiom entails its Resource type; the shape reports the missing artifact. Neither verifies a deployment observation.
Read the diagram as text
  • D1: DeploymentOccurrence. No artifact reference supplied.
  • DeploymentOccurrence ⊆ Resource.
  • Require exactly one artifact.
  • D1: Resource.
  • Missing artifact violation.
  • D1: DeploymentOccurrenceD1: Resource: premise.
  • DeploymentOccurrence ⊆ ResourceD1: Resource: entails superclass membership.
  • D1: DeploymentOccurrenceMissing artifact violation: record checked.
  • Require exactly one artifactMissing artifact violation: required count not met.

An axiom is a statement given logical meaning by the ontology. RDF Schema (RDFS) and the Web Ontology Language (OWL) support type inference: subclass membership propagates upward, and domain/range declarations infer relationship-endpoint types. Under OWL’s open-world assumption, missing information is not automatically false. The OWL Primer explains these semantics.

The Shapes Constraint Language (SHACL) checks selected graph records against declared requirements. A shape can require exactly one artifact reference and a specified endpoint class. Cardinality means the permitted number of values. Validation reports violations; it does not repair the graph or verify the observation.

Transitivity must follow the relation’s meaning. If Sue is an ancestor of Mary and Mary of Anne, an ancestor rule can derive Sue’s relationship to Anne. A two-edge dependency chain similarly supports reachability, but it must not be relabeled as a direct dependency. Different predicates preserve that distinction.

Reasoning strategies depend on permitted constructs. OWL 2 QL supports ontology-guided query rewriting over relational data; OWL 2 RL supports restricted rule-engine implementations. A rule engine sound on arbitrary RDF need not recover every OWL entailment. Choose the required semantics before choosing materialization or query-time reasoning.

Entity resolution across sources

Entity resolution decides which records or mentions describe the same entity. Record linkage connects matching records across sources; entity linking connects a textual mention to an existing entity. Mention recognition locates the referring text, while relation extraction identifies relationships expressed in it. These tasks can share an implementation without becoming the same decision.

Normalization standardizes representations; it does not establish identity. Embedding similarity can propose matches beyond a fixed alias list, but similar names can preserve meaningful distinctions. Duplicates and revisions explains the underlying identity rule; representation failures explains why semantic proximity can miss a decisive difference.

Blocking restricts expensive matching to candidate record pairs. It saves comparisons but can exclude true matches before scoring begins. A candidate generator therefore needs its own coverage assessment. Failure to find a candidate is not evidence that a record describes a new entity.

The Fellegi–Sunter model compares how likely observed field agreement is among matching and nonmatching records. Agreement on a rare value supplies stronger evidence than agreement on a common one. A prior and multiple comparisons contribute to a match weight; correlated fields can overstate evidence if treated as independent.

BF(e)=m(e)u(e)\mathrm{BF}(e)=\frac{m(e)}{u(e)} Here ee is a comparison outcome, m(e)=P(ematch)m(e)=P(e\mid\text{match}), and u(e)=P(enonmatch)u(e)=P(e\mid\text{nonmatch}). A Bayes factor above one favors a match. It is evidence, not proof of identity or a complete clustering policy.
Identity decisions must respect the identifier’s scope.
Record comparisonInterpretation
Same package name, different ecosystemsDo not merge on the shared label.
Renamed team, unchanged authoritative organizational IDTreat the rename as an attribute change under the organization’s identity contract.
A–B and B–C accepted into one clusterThe cluster also implies A–C, even if that pair was never scored.

Use validated decision thresholds and retain an unresolved outcome when evidence is insufficient. Review candidates before creating or merging identities. Preserve source identifiers, comparison evidence and decision versions so mistaken merges can be reversed; restoring identities may also require repairing references rewritten elsewhere.

Graph construction and assertion evidence

Structured inventories provide fields and keys that can be mapped directly. Documents require extraction into the chosen model. Schema-guided extraction constrains categories and relationship types, making outputs more consistent. Instructions can also standardize names and units, but prompt compliance remains fallible.

R2RML maps relational tables or queries to RDF. An employee row keyed by employee ID can join a department row through department ID and emit an employee-to-department statement. Stable keys and identifier templates preserve identity across display-name changes. The resulting graph may be virtual; mapping does not require a second stored copy.

Candidates and publication

Example

Extraction and publication are separate decisions.

The application retains evidence through mapping, extraction and review. Only accepted candidates enter the published snapshot; unresolved and rejected candidates remain inspectable.
Read the diagram as text
  • Structured mapping.
  • Document extraction.
  • Candidates with evidence.
  • Resolve, check and review.
  • Accepted assertions.
  • Unresolved candidates.
  • Rejected candidates.
  • Published snapshot.
  • Structured mappingCandidates with evidence: Data: mapped claims.
  • Document extractionCandidates with evidence: Data: extracted claims.
  • Candidates with evidenceResolve, check and review: Data: candidates and evidence.
  • Resolve, check and reviewAccepted assertions: Decision: requirements satisfied.
  • Resolve, check and reviewUnresolved candidates: Decision: evidence insufficient.
  • Resolve, check and reviewRejected candidates: Decision: candidate rejected.
  • Accepted assertionsPublished snapshot: Publish coherent state.

Existing business entities can guide extraction toward recognition and relationship enrichment. Preserve document and chunk structure so assertions remain connected to their source passages. Evidence spans explain passage location; meaning beyond schema acceptance explains why an accepted structure can still reference the wrong entity.

An assertion is a recorded claim. Provenance records its origin and production history. PROV-O distinguishes source entities, transforming activities and responsible agents; its agents can be people, organizations or software. An extracted assertion is a derived artifact, not the original source itself. Lineage connects those artifacts without certifying their truth.

Four checks establish different things.
CheckWhat passing establishes
Structural validityDeclared requirements hold for selected records.
Source supportThe identified source supports the assertion’s wording and qualifications.
CorroborationAdditional evidence supports the claim; copied statements are not automatically independent confirmations.
Domain verificationA designated observation supports a bounded operational claim; desired deployment state alone is insufficient.

Retain source version and passage locator, transformation identity, resolution decision and review outcome. A source’s participation in an extraction batch does not establish that it contributed to every output. Keep links specific enough to trace the assertion through intermediate representations.

For this application, publication is an explicit gate: accepted assertions enter a coherent snapshot; rejected and unresolved candidates remain available for investigation. A deterministic mapping can still preserve a source error. Construction stages separate source structure, domain extraction and optional enrichment, making the point of failure inspectable.

Time, disagreement and incomplete knowledge

Valid time records when a claim applies in the domain; system time, also called transaction time, records when its version was known to the database. Bitemporal storage retains both. A query selects intervals containing its domain time and knowledge cutoff, using start-inclusive, end-exclusive boundaries. Open ends are unbounded.

Version identity, publication time, retrieval time and generation time answer different questions. A newly generated summary can still describe an old source. Neither its timestamp nor its fluency establishes that ownership remains current.

One past date, two knowledge cutoffs

Example

A correction changes later knowledge without rewriting earlier snapshots.

Ownership versions

At valid day 4, compare the points: cutoff 4 selects A; cutoff 8 selects B.

Scroll sideways if the figure extends beyond the screen.

02.557.51002.557.510Valid time (days)System time (days)A, originalA, revisedB, revisedQuery pointsCutoff 4: ACutoff 8: B
  • 1. A, original
  • 2. A, revised
  • 3. B, revised
  • 4. Query points
Read coordinates and regions as data

X: 010 days; Y: 010 days, increasing up. Equal scale on both axes.

A, original (polygon)

(0, 0); (10, 0); (10, 5); (0, 5)

A, revised (polygon)

(0, 5); (2, 5); (2, 10); (0, 10)

B, revised (polygon)

(2, 5); (10, 5); (10, 10); (2, 10)

Query points (points)

(4, 4); (4, 8)

Cutoff 4: A: (4.3, 4)

Cutoff 8: B: (4.3, 8)

B’s ownership starts day 2, arrives day 5. Ends are exclusive; day 10 clips open intervals.

Source authority is specific to the claim. An organizational registry may determine responsibility while an operational inventory supplies deployment observations. Data owners must clarify field meanings, joins, safeguards and reporting conventions. Import order cannot replace those agreements when sources conflict.

Retraction withdraws support; replacement supplies a successor assertion; supersession records which assertion a policy now prefers. Preserve the evidence responsible for invalidation and retain competing claims when their disagreement remains unresolved. Merging entities must retain both source sets rather than silently discarding one.

In a dependency inventory, an explicitly empty dependency list means none are declared. An omitted dependency entry can mean unknown. Negative answers therefore need a declared collection boundary.

Relationship patterns and result rows

Graph queries match relationship patterns using shared variables, much like joins between tables. Cypher expresses property-graph patterns; relationship names such as WORKS_ON are domain-defined vocabulary, not built-in knowledge. For complex traversals, an expert tool or constrained query template can expose the intended operation without relying on unrestricted model-generated queries.

For collaboration questions, matching people through shared projects answers a different question from searching documents for the word collaborator. The relationship’s definition determines what the result means. Shared work can support a project-grounded answer without establishing a broader social relationship.

The fixture’s accepted, time-selected query view admits only production deployments supported by designated deployment observations at most one day old. Inventory graphs hold occurrence dependencies and release mappings; default metadata joins artifacts to inventory roots and deployments to services. Only equally fresh, time-selected ownership from the designated registry is exposed before OPTIONAL; unresolved owners leave qualifying deployments eligible. These eligibility and projection rules are application-defined, not inherent in named graphs.

SPARQL joins shared variables. Here : denotes the fixture vocabulary; + requires at least one dependency hop. SELECT DISTINCT ?d ?team WHERE { ?d :artifact ?a; :service ?s. ?a :inventory ?g; :root ?r. GRAPH ?g { ?r :dependsOn+ ?t. ?t :release :requestedRelease. } OPTIONAL { ?s :owner ?team. } }

SPARQL returns multisets of bindings. Projection can retain duplicates; DISTINCT removes duplicate projected rows. GROUP BY aggregates groups; COUNT(*) counts rows, while COUNT(DISTINCT ?d) counts distinct bound deployments. Fixed path sequences can yield repeated endpoints; arbitrary-length paths test connectivity rather than enumerate alternative routes. Surrounding joins can still duplicate rows.

OPTIONAL preserves missing values as unbound, not zero. With prices A=10, B=30, C=absent:
Filter placementResults
Price <20 inside OPTIONALA/10, B/unbound, C/unbound.
Price <20 outside OPTIONALOnly A/10; false comparisons and unbound errors remove rows.

Traversal boundaries and execution work

A traversal follows selected relationships; a hop crosses one. Direct dependencies are one hop away. Reachability means an eligible path exists; transitive closure records reachable pairs. Breadth-first search expands successive depths, while depth-first search follows a branch before alternatives. Relationship type, direction and stopping boundaries determine the paths explored.

Repetition policy also matters. A walk permits repeated vertices and edges, a trail forbids repeated edges, and a simple path forbids repeated vertices. The investigation returns distinct reachable endpoints with selected witness paths, not every possible walk. Cycles require explicit handling; recursive SQL can track visited identities and detect them.

Two witnesses, one dependency

Distinct paths need not imply distinct endpoints.

Within one inventory, Acme Application reaches common-util through either intermediate component. Arrows point from dependent to dependency.
Read the diagram as text
  • Acme Application.
  • web-framework.
  • persistence.
  • common-util.
  • Acme Applicationweb-framework: depends on.
  • Acme Applicationpersistence: depends on.
  • web-frameworkcommon-util: depends on.
  • persistencecommon-util: depends on.
A breadth-first trace over one inventory with edges R→A, A→R and A→T terminates by suppressing already visited occurrences.
ExpansionQueue afterwardNewly reached
RAA
ATT; R already visited
TEmptyNone

Key visited state by inventory occurrence, not package name. Preserving scope prevents a traversal from entering one build and leaving through another’s dependency record. Visited suppression supports endpoint reachability, but can discard alternative witnesses; storing every path is a different and potentially much larger task.

An index can locate selective starting nodes without eliminating subsequent expansion. High-degree nodes, joins and late filters can produce many intermediate rows even when the final answer is small. A Cartesian product combines every row on one side with every row on the other.

depth-k path bindingsNsbk\text{depth-}k\text{ path bindings}\approx Ns\,b^k In a roughly tree-like expansion, NN is candidate starts, ss is the retained fraction and bb is average eligible branching. This estimate explains why selective starts help; skew, cycles and pruning change actual work.

Planner statistics estimate selectivity and relationship counts; they do not guarantee uniform degree. In Neo4j, EXPLAIN reports estimates without executing, while PROFILE executes and reports actual rows and database hits. Hits describe storage-engine work, not elapsed time or disk reads. PROFILE adds overhead and executes writes if the query writes.

A result LIMIT is not a reliable work bound. Define an application contract for depth or work exhaustion: return supported matches, a termination reason and the unresolved frontier. A partial traversal cannot establish that no additional matches exist. Complete enumeration and an honest partial answer are different task outcomes.

A traceable dependency-and-owner result

At day 8, the fixture requests common-util 1.0. Its application contract designates deployment observations for artifact identity and environment, inventories for declared dependencies, and the organizational registry for ownership. Observations must be at most one day old. These authority and freshness rules belong to this application, not to the graph model.

The stipulated records distinguish supported matches from missing evidence.
RecordsResult
D1/H1, fresh production observation; inventory B1 reaches 1.0Supported dependency candidate, with inventory-scoped witnesses.
D1’s service S1 has fresh ownership record BlueResponsible team Blue; retain the ownership assertion.
D2/H2 inventory contains only common-util 2.0Not a 1.0 match within that inventory’s declared coverage.
D3/H3 inventory uses an ambiguous package labelIdentity unresolved; do not force a release match.
D4/H4 has a supported 1.0 path; ownership last observed day 3Dependency match retained; owner unresolved under the freshness rule.
D5/H5 has no available inventoryDependency coverage unavailable; not a negative result.

Deployment status describes observed controller state, not every running image identity or application health. A requested image reference likewise does not establish what currently runs. The fixture stipulates an artifact-specific observation; a real system must obtain and retain that evidence.

A result envelope preserves the investigation’s interpretation boundary.
Field groupContents
Query contextResolved release; graph, schema and rule versions; validity time and knowledge cutoff.
MatchesDeployment, artifact, service, optional team, witness paths and supporting assertion references.
EvidenceSource version, locator, observation time and applicable validity.
CoverageUnresolved cases, unavailable inventories, traversal boundary and termination status.

A dependency path identifies a candidate for investigation, not proof that vulnerable code executes or causes an incident. Vulnerability Exploitability eXchange (VEX) communicates whether a vulnerability is exploitable in a particular product context. A VEX assessment requires applicable supporting evidence beyond connectivity.

Search selects relevant items; retrieval-augmented generation supplies evidence to a model producing an answer. GraphRAG names graph-assisted approaches, including semantic search for starting nodes followed by relationship expansion. Graph results can equally serve ordinary application code.

Other GraphRAG approaches build community summaries for corpus-wide questions and combine partial answers from those summaries. The different mechanism serves a different information need. Neither architecture removes extraction errors, and a finite graph does not automatically enforce refusal when evidence is absent. Preserve provenance, uncertainty and coverage at the consumer boundary.

Source updates and dependent conclusions

Idempotent ingestion makes replaying the same import leave the accepted state unchanged. A proposed contribution ledger uses a non-null unique key of source ID, immutable source version and canonical assertion ID. Freeze normalization and extraction output for each version; otherwise nondeterministic re-extraction can add new assertions during a supposed replay.

Illustrative pseudocode Python-like pseudocode
# Application contract; contribution key is unique and non-null.
with database.transaction():
    inserted = insert_contributions(
        frozen_rows,
        on_conflict="DO NOTHING",
        returning="assertion_id",
    )
    for assertion_id, delta in counts(inserted).items():
        increment_support_in_database(assertion_id, delta)

Explicit support and another proof

Example

Zero explicit contributions need not remove a derivable assertion.

1 / 3 · Both contributions active

t0 is current.

S1 and S2 contributions are withdrawn successively. Historical snapshots remain visible. The unchanged alternative proof preserves assertion a throughout.
Read the diagram as text
  • Assertion a.
  • Source S1.
  • Source S2.
  • Alternative proof. Premises remain supported.
  • t0: two active contributions.
  • t1: one active contribution.
  • t2: zero active contributions.
  • Source S1Assertion a: recorded contribution.
  • Source S2Assertion a: recorded contribution.
  • Alternative proofAssertion a: derives.
  • t0: two active contributionsAssertion a: support snapshot.
  • t1: one active contributionAssertion a: support snapshot.
  • t2: zero active contributionsAssertion a: support snapshot.
  1. Both contributions active. t0 is current. Active: Assertion a, Source S1, Source S2, Alternative proof, t0: two active contributions. New: Assertion a, Source S1, Source S2, Alternative proof, t0: two active contributions.
  2. Withdraw S1. t1 becomes current; t0 remains history. Active: Assertion a, Source S1, Source S2, Alternative proof, t0: two active contributions, t1: one active contribution. New: t1: one active contribution.
  3. Withdraw S2. t2 becomes current; a remains logically supported. Active: Assertion a, Source S1, Source S2, Alternative proof, t0: two active contributions, t1: one active contribution, t2: zero active contributions. New: t2: zero active contributions.

Insertion and counter changes must commit or roll back together. Increment with database arithmetic rather than writing an application-read counter value. Alternatively, count contribution rows directly. Retry the complete transaction after failure. This boundary does not automatically include external graph stores or reasoning services.

Source support counts active source-version contributions, not independent confirmations.
ImportContribution delta
First S1/version 1 assertion+1
Identical committed replay0
Same assertion from S2+1

Define version activation explicitly: replacement can deactivate an older contribution instead of accumulating every revision. Publish the resulting assertion set and its dependent views coherently; committed source rows alone do not establish that every consumer has caught up.

Materialization precomputes logical consequences. Datalog is a rule language; for positive, function-free rules over a finite domain, repeated application reaches a fixed point when no new facts appear. This can move inference work ahead of queries, while creating a corresponding update obligation.

I0=E,In+1=InTΠ(In)I_0=E,\qquad I_{n+1}=I_n\cup T_{\Pi}(I_n) EE is the explicit fact set, Π\Pi the rules and TΠT_{\Pi} their newly derivable consequences. Stop when In+1=InI_{n+1}=I_n. The closure follows the supplied premises; it adds no independent observations.

Only source-support zero crossings change the explicit fact set. Logical support is separate: another proof can preserve a conclusion. Nonrecursive maintenance can count derivations; recursive cycles complicate counting. DRed overdeletes potentially affected consequences, then rederives those still supported.

Identity repair and semantic change

A false merge can redirect many assertions to the wrong identity. Wikidata’s unmerge procedure restores earlier revisions and warns that references rewritten elsewhere may also need reversal. Deleting an equivalence link is therefore insufficient when the merge changed records or downstream references.

Repair a mistaken package merge through its recorded effects.

  • RestoreRecover the separate identities and reassign source assertions using retained resolution history.
  • RepairLocate rewritten references and dependent results; restoring source identities does not repair every copy.
  • RecomputeRefresh affected stored similarities and communities after graph relationships change.

A bad import should be contained before its outputs spread. Preserve the previous published state, identify the import’s contributions, and revalidate the replacement before publication. Database rollback covers only its transaction; already published derivatives need separate recovery. Verified recovery supplies the broader release discipline.

Changing a relationship definition can change query behavior while records still parse successfully. An ontology-driven retriever can select different edges after an annotation changes. Treat that as a semantic release: preserve old and new definitions, identify affected mappings and queries, and verify their expected results before switching consumers.

Assign source stewards to freshness and coverage, identity reviewers to ambiguous matches, and schema owners to meaning changes. Monitor stale records, dangling references and unresolved work. These responsibilities turn errors into owned decisions rather than indefinitely accumulating exceptions.

Correction and deletion must reach derived artifacts as well as original records. A revision is a new entity with a derivation relationship, preserving the history needed to locate affected outputs. Lifecycle fulfillment covers obligations across stores; graph lineage supplies references for carrying them out.

Graph quality, task usefulness and operating cost

Compare the maintained graph with a reasonable same-source baseline, such as recursive SQL. Give both the same collection, identity mappings, cleanup and permissions. Controlled comparisons isolate the changed mechanism. Reported improvements from an assembled graph-and-generation system do not isolate the contribution of relationships alone.

Historical evaluation must fix the knowledge cutoff across source records and derived features. Selecting a past valid time using today’s corrected knowledge can leak later information. A reproducible past answer and today’s best reconstruction of the past are different evaluation targets.

Resolution evaluation needs explicit populations. Let UU contain eligible record pairs, TUT\subseteq U the true matches, CUC\subseteq U distinct candidates and ACA\subseteq C accepted pairs. For deduplicating nn records, U=n(n1)/2|U|=n(n-1)/2. Deduplicate overlapping blocks before counting candidates.

Rcandidate=CTT,Pdecision=ATAR_{\mathrm{candidate}}=\frac{|C\cap T|}{|T|},\qquad P_{\mathrm{decision}}=\frac{|A\cap T|}{|A|} Rconditional=ATCT,Rend-to-end=ATT=RcandidateRconditionalR_{\mathrm{conditional}}=\frac{|A\cap T|}{|C\cap T|},\qquad R_{\mathrm{end\text{-}to\text{-}end}}=\frac{|A\cap T|}{|T|}=R_{\mathrm{candidate}}R_{\mathrm{conditional}} These quantities are defined when their denominators are nonzero. End-to-end recall includes matches excluded before scoring.

Candidate precision is CT/C|C\cap T|/|C|; reduction ratio is 1C/U1-|C|/|U|. The latter measures avoided comparisons, not accuracy. Labels restricted to candidates cannot reveal blocked-out true matches. Report empty denominators as undefined with counts, rather than silently converting them to perfect scores.

Final entities require separate evaluation. Form all unordered pairs within each predicted cluster, including unscored implied pairs. Pairwise precision and recall compare these with reference pairs; exact-cluster precision and recall require recovering entire clusters. Verify record coverage and represent genuinely unmatched records as singletons. Larger clusters contribute more pairs, so pairwise scores can hide poor recovery of small entities.

Compare baseline and graph on the same cases; keep quality, completion and operating effort separate.
LayerEvidence to collectFailure to expose
Task matchesSupported deployment precision and recall against a declared reference set.Missed deployments and incorrect matches; incomplete judgments limit recall.
WitnessesCheck release identity, relation direction and inventory consistency along each path.Cross-build shortcuts and omitted dependencies.
Query workActual intermediate rows, database accesses and elapsed latency.Tiny outputs concealing expensive expansion.
Change handlingReplay, late correction, source withdrawal and false-merge recovery cases.Stale derived similarities or communities after new data.
Operating valueInvestigation effort, refresh lag, unresolved workload and continuing curation effort.Relationship benefits smaller than their construction and maintenance burden.

Retain the graph when supported task improvements justify its ongoing burden. Narrow it when only particular relationship questions benefit. Remove a redundant representation when the baseline satisfies the same requirements more simply. Graph size and ingestion throughput describe activity; they do not establish usefulness.

Open questions

  1. Semantic evolution across organizations remains difficult because identical labels can hide incompatible definitions and granularity. Progress would include versioned mappings that preserve competency-question answers or explicitly identify which answers change when a shared concept is revised.

  2. Confidence across graph proofs remains unresolved when premises share sources or depend on one identity decision. Multiplying edge scores ignores those dependencies and alternative proofs. Progress requires calibrated conclusion-level uncertainty that distinguishes copied evidence, shared failure causes and genuinely independent support.

  3. Complete answers under strict online work limits remain costly when facts change frequently. Materialization moves work into maintenance rather than removing it. Progress would demonstrate bounded serving work together with measured refresh lag and correct retraction behavior under realistic update loads.

  4. Corrections across derived stores remain hard because summaries and intermediate answers contain information beyond their citations. Progress would demonstrate that a source correction or permission change reaches every affected report, cached answer and conversation artifact before reuse, with explicit unavailable coverage.

Follow the curated reading path through the speakers and demonstrations behind this entry.

Explore more talks

The rest of the library, beyond the curated path. Cited talks support this entry; reviewed transcripts were processed in full. Metadata candidates have not been reviewed as sources or verified as topic members.

40 matching talks

TalkSpeakerEventYear
Emil EifremAI Engineer World's Fair 20242024
William LyonAI Engineer World's Fair 20252025
Sam JulienAI Engineer World's Fair 20252025
Michael Hunger, Stephen Chin, Jesús BarrasaAI Engineer World's Fair 20252025
Mitesh PatelAI Engineer World's Fair 20252025
Emil EifremAI Engineer World's Fair 20262026
Jesús BarrasaAI Engineer World's Fair 20252025
Dr. Sajjan KanukolanuAI Engineer World's Fair 20262026
Stop Using RAG as Memory

Transcript reviewed

Daniel ChalefAI Engineer World's Fair 20252025
Intro to GraphRAG

Cited in this entry

Zach BlumenfeldAI Engineer World's Fair 20252025
Andreas Kolleger, Zach Blumenthal, Michael Hunger, TomaszAI Engineer World's Fair 20242024
Stephen ChinAI Engineer Code 20252025
Stephen ChinAI Engineer World's Fair 20262026
Stephen ChinAI Engineer World's Fair 20252025
Stephen Chin, Jonathan LoweAI Engineer Summit 20252025
Jonathan LarsonAI Engineer World's Fair 20252025
Tom SmokerAI Engineer World's Fair 20252025
Ola MabadejeAI Engineer World's Fair 20252025
Yohei NakajimaAI Engineer World's Fair 20262026
Anita KirkovskaAI Engineer Summit 20252025
Varsha ShahAI Engineer World's Fair 20262026
Rachna SrivastavaAI Engineer World's Fair 20252025
Stephen ChinAI Engineer Europe 20262026
Andreas Kollegger, Zaid ZaimAI Engineer Europe 20262026
Anushrut GuptaAI Engineer World's Fair 20252025
Julia Neagu, Deanna Emery, Maitar AsherAI Engineer World's Fair 20252025
Kevin BaiAI Engineer World's Fair 20262026
Andreas KolleggerAI Engineer World's Fair 20252025
Jaspreet SinghAI Engineer World's Fair 20252025
Chau TranAI Engineer World's Fair 20252025
Hubert MisztelaAI Engineer World's Fair 20242024
Mark Bain, Vasilije Markovic, Daniel Chalef, Alex GilmoreAI Engineer World's Fair 20252025
Elizabeth Fuentes LeoneAI Engineer World's Fair 20262026
Natalie MeurerAI Engineer World's Fair 20262026
Philip RathleAI Engineer World's Fair 20242024
Luis Romero-SevillaAI Engineer World's Fair 20262026
Nupur SharmaAI Engineer Europe 20262026
Subbiah Sethuraman, Abhilash AsokanAI Engineer World's Fair 20262026
Zach BlumenfeldAI Engineer Europe 20262026
Chin Keong LamAI Engineer World's Fair 20252025

References

Coverage and source review
Processed transcripts
18 processed in full · 5 in the curated path
Automated source review
Passed
Metadata candidates
27 unreviewed; not verified topic membership
Corpus version
1bd8e407b26a07b33815594e1b2db5f41827119a2b3cb6fbf240f9fc571fc767

Automated review checks source support; it is not publication approval.

A synthesis of selected conference talks and technical references. Citations link to the source material; they do not imply that every talk on this subject is included.

  1. Time in XTDB

    System time; Valid time and worked example; Behind the scenes; In practice.

  2. The Knowledge Graph Mullet: Trimming GraphRAG Complexity

    Use canonical entities and explicit relationship semantics rather than undifferentiated links between strings.

  3. Ontology Development 101: A Guide to Creating Your First Ontology

    Section 3, Steps 1–2; Section 4.1 on concepts and names; Section 4.8 on disjoint subclasses; Sections 7–8 on analysis and evaluation.

  4. Software Dependencies — CycloneDX

    Software dependency representation, identifier scope, missing-versus-empty semantics, and the published JSON/XML fixture.

  5. Deployment API Reference — Kubernetes

    DeploymentStatus and DeploymentCondition definitions.

  6. Descriptor Format of Catalog Entities — Backstage

    Kind: Component; spec.lifecycle and spec.owner definitions.

  7. When Vectors Break Down: Graph-Based RAG for Dense Enterprise Knowledge

    Graph retrieval can complement text search by preserving relationships and supplying associated context to the answer model.

  8. WITH Queries — PostgreSQL 18

    Recursive queries, search order, cycle detection, and the warning about parent-query LIMIT.

  9. R2RML: virtual RDF over relational tables and joins

    Introduction; sections 2, 5–8 and 11.2. Mapping example adapts the specification’s employee/department construction.

  10. HybridRAG: A Fusion of Graph and Vector Retrieval to Enhance Data Interpretation

    Choose GraphRAG when the data can support a useful graph and the application's questions require complex relationships.

  11. Intro to GraphRAG

    Neo4j's property graph represents entities as nodes, connections as relationships, and attributes on both; vector search can be combined with graph traversal.

  12. RDF 1.1 Primer — W3C

    W3C primer, triples, IRIs, vocabularies, and RDF serialization.

  13. Knowledge Graphs — extraction, integration, and completeness

    Sections 6.2.2–6.2.5, 6.4.3, 7.2, and 8.1 on identity links; Section 4.1 and appendix definitions of open-world semantics.

  14. Package-URL (PURL) Specification — ECMA-427

    Clauses 1, 5, and 5.6; package identity components and release-specific references.

  15. Images — Kubernetes

    Image names and image pull policy; artifact identity for the dependency-and-deployment example.

  16. Object Names and IDs — Kubernetes

    Names and UIDs sections; concrete identity-versus-label example for deployment inventories.

  17. Neo4j: Graph database concepts

    Official Neo4j introduction to nodes, relationships, labels, and properties.

  18. Defining N-ary Relations on the Semantic Web

    Pattern 1, particularly Use Case 1 on additional relation attributes and Use Case 3 on relations without a distinguished participant; section on n-ary relations versus RDF reification.

  19. RDF 1.1 Semantics — W3C

    Informative Appendix D.1, Reification; RDF 1.1 vocabulary and intended interpretation.

  20. RDF 1.1 Concepts and Abstract Syntax

    Sections 1.6–1.7, 3, and 4, especially the note on graph-name denotation.

  21. Why Your Agent’s Brain Needs a Playbook: Practical Wins from Using Ontologies

    Use an ontology as an implementation-agnostic schema rather than separately maintaining each pipeline's domain description.

  22. OWL 2 Web Ontology Language Primer, Second Edition — W3C

    W3C primer: basic semantics, class hierarchies, domain/range, open-world reasoning, and identity.

  23. Shapes Constraint Language (SHACL) — W3C

    W3C recommendation, data/shapes graphs, validation process, and core constraint components.

  24. Why Agentic Systems Need Ontologies

    A declared transitive relationship allows a reasoner to derive an additional relationship from a chain of existing ones.

  25. OWL 2 Web Ontology Language Profiles

    Section 1 profile overview; Section 2 EL; Section 3 QL rewriting; Sections 4.1–4.3 RL restrictions, rules, and completeness conditions.

  26. A Practitioner's Guide to Graphs - Tim Ainge, Good Collective

    Match entities before creating nodes; embedding-based matching can extend beyond a predefined alias map.

  27. Leveraging Unlabeled Data to Scale Blocking for Record Linkage

    Section 2 blocking coverage and cost definitions; Section 3.1 Experiment Setup, Evaluation Metrics, and dataset splits.

  28. The Fellegi-Sunter model — Splink

    Official Splink theory guide: m/u probabilities, priors, Bayes factors and additive match weights.

  29. Your Moat Is Your Data Model

    Engage data owners to model field meanings, joins, safeguards, and reporting conventions, rather than treating source schemas as sufficient semantics.

  30. ER-Evaluation: clustering metrics and evaluation coverage

    Evaluation Metrics overview: pairwise precision/recall, cluster precision/recall, and Notes on inner joins, missing identifiers, and representativeness.

  31. Splink evaluation tutorial: labeled pairs and threshold selection

    Evaluation of prediction results; Load in labels; View examples of false positives and false negatives; Threshold Selection chart; ROC curve; Truth table.

  32. Help:Merge — Wikidata

    Automatic merge, manual merge, and Unmerging sections; operational example of identity maintenance.

  33. A Practitioner's Guide to Graphs - Tim Ainge, Good Collective

    Give the extractor a domain schema instead of asking it to invent unrestricted subject-predicate-object triples.

  34. A Practitioner's Guide to Graphs - Tim Ainge, Good Collective

    Add ontology instructions that standardize what values enter the schema, while treating prompt compliance as fallible.

  35. Practical GraphRAG: Making LLMs Smarter with Knowledge Graphs

    Provide both a graph schema and existing structured entities to steer extraction toward recognizing known entities and attaching new relationships.

  36. Why Your Agent’s Brain Needs a Playbook: Practical Wins from Using Ontologies

    Connect the domain graph of entities to a lexical graph of source documents and chunks, preserving where entities were mentioned.

  37. PROV-O: The PROV Ontology — W3C

    W3C recommendation, starting-point provenance terms, derivation, qualified derivation and revision.

  38. Citation Needed: Provenance for LLM-Built Knowledge Graphs

    A synthesized fact can hide both its original wording and the authority of its actual source, so retain verbatim inputs and explicit links to derived artifacts.

  39. Introduction to Probability — Independence

    Section 1.4.1, definitions of independence for two and multiple events and discussion of pairwise independence.

  40. PROV-DM: The PROV Data Model

    Sections 2.1.1–2.1.3; 5.1.1–5.1.4; 5.2.1–5.2.2; 5.3.1–5.3.3.

  41. Practical GraphRAG: Making LLMs Smarter with Knowledge Graphs

    Build GraphRAG in stages: represent source structure, extract domain entities and relationships, enrich the graph, then retrieve from it.

  42. PROV-DM: The PROV Data Model

    Sections 5.1.1–5.1.4, entities, activities, generation and usage; 5.1.8, invalidation; 5.2.1–5.2.2, derivation and revision.

  43. Citation Needed: Provenance for LLM-Built Knowledge Graphs

    Lineage must survive graph mutation: entity merges retain both source sets, and invalidation records the new evidence responsible for the change.

  44. Intro to GraphRAG

    Relationship types are domain-defined names, and their wording acts as an annotation for the model.

  45. Intro to GraphRAG

    Use expert tools or constrained query patterns for complicated traversals rather than depending entirely on unrestricted Cypher generation.

  46. Agentic GraphRAG: Simplifying Retrieval Across Structured & Unstructured Data — Zach Blumenfeld

    Retrieve collaborators through shared work relationships and domain constraints instead of searching documents for collaboration language.

  47. SPARQL 1.1 Query Language — W3C

    Sections 9.3–9.4, 11, 15.2–15.3, 18.4 Join, and 18.5.1 aggregation definitions. Sections 6.1–6.2, 17.2 and 18.4 Filter/LeftJoin support the added trace.

  48. Expand Paths with Config — APOC

    Terminator Nodes and End Nodes; Breadth First Search and Depth First Search; relationship-sequence examples.

  49. Operators in detail — Neo4j

    Node Index Seek, Node Index Scan, Multi Node Index Seek, Expand All, VarLength Expand All, and Cartesian Product operator sections.

  50. Statistics and execution plans — Neo4j

    Statistics collection, database statistics, index selectivity, and automatic/manual statistics collection.

  51. Understanding query plans — Neo4j

    Understanding query plans; EXPLAIN and PROFILE query plans; plan-column explanations and database-hit discussion.

  52. W3C PROV-DM: Evidence Entities and Derivations

    Sections 2 and 4; sections 5.1–5.3, especially entity attributes, usage, generation, derivation and 5.2.2 Revision; section 5.4 Bundles.

  53. Vulnerability Exploitability eXchange — CycloneDX

    Introduction to VEX; interpretation boundary for the software-dependency task.

  54. GraphRAG: The Marriage of Knowledge Graphs and RAG

    Use vector search to locate initial graph nodes, then traverse relationships to assemble additional context for the LLM.

  55. From Local to Global: A GraphRAG Approach to Query-Focused Summarization

    Primary paper v2, graph construction, community summaries, global query workflow, and evaluation scope.

  56. Context Engineering: Connecting the Dots with Graphs — Stephen Chin, Neo4j

    Refusal for unsupported questions is an intended behavior in the demo, but the transcript does not establish that it is reliably enforced.

  57. PostgreSQL INSERT: conflict handling and returned insertions

    INSERT Description, RETURNING behavior, and Parameters → ON CONFLICT Clause.

  58. PostgreSQL transactions: atomic contribution and support changes

    Section 3.4 Transactions: all-or-nothing operations, visibility, BEGIN/COMMIT, ROLLBACK, and account-update example.

  59. Combining Rewriting and Incremental Materialisation Maintenance for Datalog Programs with Equality

    Abstract; Section 1 Introduction; Section 2 Preliminaries; Section 3 on updating equality-aware materialization.

  60. Maintaining Views Incrementally

    Abstract; Section 1 Example 1.1 and Counting; Sections 4–5 nonrecursive counting; Section 7 DRed; Section 8 recursive-counting limitations.

  61. Intro to GraphRAG

    Adding people or skills requires recurring recomputation of affected similarity relationships and communities.

  62. Why Your Agent’s Brain Needs a Playbook: Practical Wins from Using Ontologies

    Persist the ontology in the graph and annotate contextualizing relationships so a dynamic retriever can select traversal paths from data.

  63. When Vectors Break Down: Graph-Based RAG for Dense Enterprise Knowledge

    Writer reported that its combined knowledge-graph and Fusion-in-Decoder system achieved the best accuracy and fastest response time in its RobustQA comparison.

  64. Introduction to Information Retrieval: evaluation of unranked retrieval sets

    Evaluation of unranked retrieval sets, equations 36–39 and 41.

  65. Why Agentic Systems Need Ontologies

    RDFS domain, range, and class relationships can derive types that were not explicitly stated in an individual relationship.

  66. Intro to GraphRAG

    Shared-skill traversal provides an inspectable similarity definition based on exact overlap.

  67. Intro to GraphRAG

    Define identity constraints before merging nodes and relationships.

  68. A Practitioner's Guide to Graphs - Tim Ainge, Good Collective

    Relationship-heavy, multi-hop queries are a natural use case for graph data structures and query languages.

  69. Introduction to Probability — Conditional probability and the chain rule

    Section 1.4.0, definition of conditional probability and chain-rule equations 1.5–1.7 and generalization to n events.

  70. GraphRAG output schemas

    Outputs sections for documents, text_units, entities, relationships, communities, and community_reports.

  71. GraphRAG global search

    Global Search workflow description, particularly community-report context and map/reduce response generation.