<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Arthur keen on Medium]]></title>
        <description><![CDATA[Stories by Arthur keen on Medium]]></description>
        <link>https://medium.com/@ArthurAKeen?source=rss-b98d751319d7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*-6zmcI5JS7ilirnq.jpg</url>
            <title>Stories by Arthur keen on Medium</title>
            <link>https://medium.com/@ArthurAKeen?source=rss-b98d751319d7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 02:30:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ArthurAKeen/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Tracing Hidden Risk with Arango]]></title>
            <link>https://medium.com/arango-solutions/tracing-hidden-risk-cfe576e4b980?source=rss-b98d751319d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/cfe576e4b980</guid>
            <category><![CDATA[compliance]]></category>
            <category><![CDATA[risk-management]]></category>
            <category><![CDATA[transitive-risk]]></category>
            <category><![CDATA[knowledge-graph]]></category>
            <category><![CDATA[graph-database]]></category>
            <dc:creator><![CDATA[Arthur keen]]></dc:creator>
            <pubDate>Thu, 28 May 2026 22:18:41 GMT</pubDate>
            <atom:updated>2026-06-02T19:12:55.843Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ULUaUWi_p3ayWK-jJMG86w.png" /></figure><p><strong>A Transitive-Risk Knowledge Graph on Arango</strong></p><p>Every bank, defense prime, fintech, and cross-border supplier operating in the United States is required, either by law or by an internal counterparty-risk policy, to screen the entities they do business with against sanctions lists. The headline list is the OFAC (Office of Foreign Assets Control) Specially Designated Nationals (SDN) and Blocked Persons list, maintained by the U.S. Treasury and refreshed continuously: roughly 18,500 individuals, organizations, vessels, and aircraft that U.S. persons are prohibited from transacting with, plus tens of thousands of aliases and identifying records attached to them. Miss a match at onboarding, and the consequences cascade quickly: a regulatory enforcement action, a civil monetary penalty in the millions, and, depending on the program, a referral to the Department of Justice. Compliance teams that own this work have screening pipelines they trust, and the engineers who built those pipelines have spent years tuning fuzzy name matching against the SDN list.</p><p>Those pipelines are good at what they do. They are not good at the question that actually drives counterparty risk, which is whether the entity you are about to onboard is <em>connected</em> to a sanctioned entity through ownership, control, or family ties, even when the entity itself is not on any list. A sanctions list is a poor risk model. The risk model is the <em>path</em> from your counterparty to the list, and that path has to live in the same query context as the data, or it doesn’t get computed at all.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZLbzPD5yCzPriMWADBnrww.png" /><figcaption><em>Figure 1: Sentries graph visualization overlays risk color coding over the graph, where high risk is depicted in red, medium risk in yellow and low risk in green. Try it yourself: Github </em><a href="https://github.com/arango-solutions/risk-intelligence"><em>https://github.com/arango-solutions/risk-intelligence</em></a></figcaption></figure><p>This post is about a working risk-intelligence system, called <strong>Sentries (see Figure 2)</strong>, that we built on Arango. <strong>A brief orientation for readers new to Arango:</strong> Arango is a multi-model database — a single store that holds JSON documents, a labeled property graph, and (via the ArangoRDF adapter) an RDF/OWL ontology, all addressable from one query language called AQL (Arango Query Language). That property matters here because the inputs to a transitive-risk calculation live in three different conceptual layers, and Sentries’ central architectural commitment is to keep all three layers in the same query context so a single traversal can join them. The system ingests the OFAC SDN list, lifts an OWL (Web Ontology Language) ontology into a property graph via <a href="https://github.com/ArangoDB-Community/ArangoRDF">ArangoRDF</a>, computes transitive (path-summed) risk with a single AQL traversal, and exposes the whole thing through a small set of canvas actions and saved queries that an LLM agent calls in sequence. It is entirely self-contained in one query context: no extra graph libraries, no clunky bolt-ons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*phiBNypc78ZXtHc15GhXqw.png" /><figcaption>Figure 2: Figure 1. End-to-end Sentries architecture. The OFAC SDN list, counterparty CSVs, and the OWL ontology converge in a single Arango query context; canvas actions and saved queries surface the same tools to an analyst, an LLM agent, or an auditor.</figcaption></figure><h3>1. The problem with sanctions-list screening for vendor vetting</h3><p>Every shop that does sanctions screening starts the same way: take the OFAC SDN list, flatten it, index it in <a href="https://www.elastic.co/elasticsearch">Elasticsearch</a>, and run fuzzy name matching at onboarding. The <a href="https://sanctionslist.ofac.treas.gov/Home/SdnList">SDN list</a> is around 18,500 records — small enough to fit in a single index, easy to refresh nightly. It works for entities that are on the list.</p><p>The failure mode arises with indirect exposure. A vendor isn’t sanctioned. The vendor’s parent company isn’t sanctioned. The parent’s sister company isn’t sanctioned either. But the owner sitting above the sister — three layers up from the contract you just signed, behind a stack of clean intermediaries — is on the SDN list, and beneficial ownership flows from there back down through the family straight to your counterparty in Caracas. None of the intermediate hops show up in your screen because none of them are on a list. Your fuzzy-match score on the vendor is zero, so you sign.</p><p>We have a name for this scenario in the synthetic data we ship with Sentries: the <strong>Shell Game</strong> — three layers of clean ownership wrapped around a single sanctioned terminal, where the entire signal lives in the <em>path</em> rather than in any node along it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-ywmsKwJ-ei8sVfU2B6fsQ.png" /><figcaption><em>Figure 3. The Shell Game. A sanctions-list search screen sees four clean nodes and clears the counterparty. The AQL traversal multiplies the propagation weights along the ownership chain, surfaces the SDN-listed terminal three hops away, and assigns the counterparty an inferred risk of 1.0.</em></figcaption></figure><p>It is worth being precise about the framing here: this is not a search problem, it is a graph problem. The point cuts both ways. If your stack treats sanctions screening as a search problem — index, query, return — you will miss every Shell Game in the data. If your stack treats it as a graph problem but stores the graph in a different process from the entity records and the sanctions metadata, you will compute the wrong answer slowly and then have to explain it to a regulator. Both of those failures are common, and Sentries is built so neither happens.</p><h3>2. What Sentries does</h3><p>Sentries has three components. Together, they form the strict tool sequence an analyst (or an agent calling them) follows for any new counterparty.</p><p><strong>Component 1 — Ontology-driven schema. </strong>The domain is described once, in sentries_ontology.owl: a root Entity class with four subclasses (Person, Organization, Vessel, Aircraft), four object properties (owned_by, family_member_of, leader_of, operates), and the datatype properties that carry per-entity metadata (riskScore, primaryName, inferredRisk, dataSource). The ontology is loaded into Arango by the ArangoRDF adapter using its Property Graph Transformation, which materializes the OWL definitions themselves as a queryable graph — classes, properties, domains, and ranges, all addressable as documents alongside the instance data. The instance collections (Person, Organization, owned_by, …) are created from the same names that a small Python loader reads off the ontology, so the OWL file is the conceptual source of truth and the loader is its mechanical companion.</p><p><strong>Component 2 — AQL transitive-risk engine. </strong>A single AQL traversal walks 1–3 hops out from any entity, multiplies the propagation weights along each path, and sums the contributions per sanctioned terminal. The whole computation runs as a query against the live graph rather than as a separate scoring service sitting next to the database. A companion batch job propagates the same shape of computation across the entire graph after each ingest, writing inferredRisk onto every node so the visualizer’s heatmap and the portfolio queries can read it without re-traversing.</p><p><strong>Component 3 — Canvas actions and saved queries. </strong>The traversal isn’t buried in application code. It is stored as a document in two of Arango’s <em>system collections</em> (the underscore-prefixed collections that Arango uses to hold its own configuration): _canvasActions holds the right-click trace tools that appear on selected nodes in Arango’s built-in graph visualizer (a tool that ships with the Arango web UI), and _editor_saved_queries holds the vetting and portfolio queries, parameterized by the selected node or a typed entity ID and callable from anywhere that speaks AQL. <em>The vetting toolset is data.</em> That property — tools as documents in the same database as the data they query — is what lets the same five-step sequence drive a human analyst, an auditor, and an LLM agent.</p><p>The strict tool sequence is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1cUYiLalrcHd1BfKvcRRXg.png" /><figcaption><em>Figure 4. The five-step Sentries toolset. Each step is either a canvas action or a saved query stored in an Arango system collection, so every consumer — analyst, auditor, LLM agent — calls the same code path against the same data.</em></figcaption></figure><p>Five steps. Each step is a stored query. The agent or the analyst is doing the same thing — calling tools — and the tools are in the same database as the data they query.</p><h3>3. Why AQL fits transitive risk</h3><p>Risk propagation is path arithmetic: walk a bounded number of hops from a seed, multiply edge weights along each path you find, and sum the contributions across the paths that terminate on a risky entity. That is a specific computational shape, and the query language has to fit it well or the engine ends up living somewhere else — usually in application code, on stale snapshots. AQL fits it well, and the comparison to the alternatives is worth being concrete about.</p><p><strong>The propagation weights are stored on the edges, not in code. </strong>Each edge document in Sentries has a propagationWeight field with the policy weight baked in: 1.0 for ownership, 0.8 for leadership, 0.5 for family ties, 0.9 for operates. The weights could also be computed dynamically based on the kind of relationship, the graph topology, and other factors. In the current implementation, the weight values are written when the CSV loads, and the application never reads them again — the AQL traversal pulls them directly off whichever edge it is walking. So if compliance updates the policy next quarter and decides family ties should propagate at 0.4 instead of 0.5, the fix is a one-line AQL UPDATE against the family_member_of collection. There is no Python scoring service holding its own copy of the constants, and nothing else in the stack needs to be redeployed or re-indexed for the new weight to take effect.</p><p>AQL gives you the right primitive for path arithmetic. The query has two phases. In the first phase, it traverses the graph outward from a node and incrementally computes the product of the weights, i.e., the inferred risk, on the nodes on all the paths it traverses. Think of this as a wave of risk spreading out from the node. In the second phase, it computes the sum of the inferred risk on nodes across all paths. This is needed because paths can have common nodes, and the risk needs to be summed for each node for every path that goes through it. The next paragraph provides an additional layer of detail.</p><p>When a traversal walks a path, AQL exposes the edges along it as a structured array (p.edges[*]), so computing the path-weight product is a single built-in call: PRODUCT(p.edges[*].propagationWeight). The same shape comes up well outside risk intelligence — ultimate-beneficial-owner roll-ups for AML (anti-money laundering), blast-radius analysis on dependency graphs, bill-of-materials cost aggregation in manufacturing — because the underlying math is always the same: enumerate paths to some depth, multiply weights along each, aggregate across paths.</p><p>Cypher and SQL can both express this math — Cypher with a reduce fold, SQL with a recursive CTE (common table expression) — but neither has a built-in path-product aggregate, so you write the multiplication step by hand. The bigger argument for AQL on this problem isn’t the query syntax, though; it is what else the same query can touch in one pass, which is the next section.</p><p><strong>Reading the query for AQL newcomers. </strong>The variables v, e, p are bound by AQL on every step of the walk: a vertex, the edge that reached it, and the full path from the seed. 1..3 ANY @entityID says “walk 1 to 3 hops in any direction from the seed, where the seed is the bind parameter @entityID supplied at call time.” The three named edge collections immediately after that line are the ones the traversal is allowed to use. The two FILTER clauses enforce directionality on ownership and leadership (an owned_by edge only counts when the seed is the owner; a leader_of edge only counts when the seed is the entity being led). PRODUCT(p.edges[*].propagationWeight) takes the array of edge weights along the current path and multiplies them together — the path-product. COLLECT … AGGREGATE groups by seed (there is only one) and sums each path’s contribution (the path-product times the terminal node’s riskScore) into inheritedRisk. The final RETURN block packages three numbers: the seed’s own riskScore (directRisk), the path-summed contribution from neighbors (inferredRisk), and the sum of the two (totalExposure).</p><p>When invoked, AQL walks the graph out to depth 3 from the seed, multiplies the propagation weights along each path, and returns directRisk, inferredRisk, and totalExposure as a single JSON object. There is no other code in the loop — the query <em>is</em> the engine.</p><p><strong>The cost is bounded by depth, not by graph size. </strong>The 1..3 hop bound means the engine uses the edge index rather than a full scan, and path enumeration is O(branching^depth), so the cost is governed by the local degree of the seed node rather than by the size of the graph. On the OFAC dataset (~18,500 entities, ~50,000 edges after synthetic vetting targets are loaded), the query returns in tens of milliseconds for typical seeds and a few hundred milliseconds for unusually well-connected ones. When you genuinely need whole-graph propagation rather than per-seed exposure, the same logic ports to a propagation-weighted PageRank in Arango’s <a href="https://github.com/ArthurKeen/graph-analytics-orchestrator">Graph Analytics Engine</a> — but the AQL form stays the explainability layer because every path it returns is auditable by name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pN1benrcGpFpB5JQgrE3sg.png" /><figcaption><em>Figure 5. Path-product aggregation. Three paths reach three different sanctioned terminals; each path’s propagation weights are multiplied to produce a path-product, which is then multiplied by the terminal’s riskScore. The sum across paths is the seed’s inferred risk.</em></figcaption></figure><p>Here is the actual query, the one bound to the Sentries Dynamic Risk Vetting saved query, callable from the UI or from any AQL endpoint:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MiNZwa8izD5Wk91MmukRug.png" /></figure><h3>4. The multi-model architectural advantage</h3><p>What sharing one query context buys you is the ability to write a single AQL traversal that joins three things at once: the <strong>document store</strong> (OFAC records, aliases, identifiers, addresses), the <strong>property graph</strong> (the four edge collections that carry ownership and control), and the <strong>RDF/OWL layer</strong> (the class hierarchy and the propagation weights, both addressable as vertices in Class and Property collections after ArangoRDF loads the ontology).</p><p>The honest counter-argument to needing any of this runs: <em>“Why do I need a multi-model database? Elasticsearch can do the screening, Postgres can do two-hop joins, and if I really need three hops, I’ll spin up a Neo4j and stream the relationships into it. Three boxes. Each one is good at its job.” </em>Every other layer can be made to work with enough engineering. The exact failure point is the path-aggregation layer, because the inputs to the aggregation live in three places at once.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-5LLQqiEln94usQDU5Kyug.png" /><figcaption><em>Figure 6. Split stack vs. multi-model in one query context. On the left, three engines plus an application service that holds propagation weights as code constants; on the right, one database where weights live on edges as data and a single AQL traversal pulls documents, graph, and ontology in one call.</em></figcaption></figure><p>Consider what inferredRisk actually depends on for a single counterparty. It depends on (a) which edges exist between the counterparty and the rest of the graph — that is in the graph store; (b) the riskScore on the terminal node, which is a property of the OFAC record — that is in the document store; © the propagationWeight on each intermediate edge, which is derived from the ontology — that is in the RDF/OWL layer.</p><p>In the split stack, the application code has to fetch from three systems for every single path the traversal expands, and the traversal expands an exponential number of paths. You can cache. You can batch. You can stream-replicate the entity store into the graph store and the ontology into both. We have seen all of those approaches. They work, in the sense that they produce a number, until one of three things happens: the OFAC list updates and the cached entity store is stale; an investigator adds a new ownership relationship and the graph store is hot but the entity store hasn’t been replicated yet; or the ontology is updated to change a propagation weight and you discover the propagation weight is hard-coded in the application service that does the aggregation, in a constant called OWNERSHIP_WEIGHT = 1.0.</p><p>That last one is the worst. The first two are stale-data problems, which everyone on a financial-services team has tooling for. The third is a correctness problem: the system is computing the wrong risk, and there is no log that says so.</p><p>What collapses all three failures into a non-issue is having the toolset itself live in the database. Every saved query and every canvas action in Sentries is a document in a system collection. Here is the actual canvas-action document for the trace tool, straight out of scripts/add_analytics_actions.py:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p0T3GM7FXYfm68NhaI5AcA.png" /><figcaption>Figure 6. Canvas-action document trace tool — scripts/add_anaytics_actions.py</figcaption></figure><p>The tool is a document. The query is a string field on the document. The bind variables are a sub-object. There is no application service holding state. When an LLM agent — or the next vetting product on top of Sentries — wants to call this tool, it reads the document from _canvasActions, substitutes the bound nodes, and executes the query against the same database. There is no second place for the tool definition to drift to.</p><p>The split-stack argument is not wrong about any individual layer. It is wrong about the join.</p><h3>5. A worked example</h3><p>Two paths through the demo data, with the real names. The query returns three numbers: directRisk (the seed’s own riskScore, zero unless the seed is itself on the SDN list), inferredRisk (the path-summed contribution from sanctioned neighbors), and totalExposure (the sum of the two).</p><p>A note on the running example: the hero figure earlier in this article (originally captioned with “Medellin Trade and Commerce LLC” tracing to “Carlos Medina Ruiz”) shows a different synthetic test case from the two paths below. The engine and the math are identical — only the named entities differ.</p><p><strong>Path 1 — the Shell Game. </strong>Starting from <strong>Synthetic Vetting Target — 3-Hop Link</strong>, the toolset surfaced <strong>Stars Group Holding</strong> (OFAC SDN, riskScore = 1.0) — connected via <strong>Synthetic Holding — Layer 2</strong> → <strong>Synthetic Holding — Layer 1</strong> → <strong>Stars Group Holding</strong> with an aggregate inferredRisk of <strong>1.0</strong>. This suggests a fully-controlled subsidiary buried under two clean shells; the underwriting verdict is decline.</p><p>The arithmetic is verifiable by eye. Each owned_by edge carries propagationWeight = 1.0. The path product is 1.0 × 1.0 × 1.0 = 1.0. The terminal risk is 1.0. The contribution is 1.0 × 1.0 = 1.0. There is exactly one path, so the sum is 1.0. The vetting target’s direct risk score is 0.0 — it is not on any list. Its inferred risk is 1.0. Total exposure: 1.0. The visualizer paints it red.</p><p><strong>Path 2 — the Proxy Link. </strong>Starting from <strong>Synthetic Relative</strong>, the toolset surfaced <strong>Carlos Medina Ruiz</strong> (synthetic SDN-listed individual, anchor of the family-association scenario) — connected via family_member_of → Carlos Medina Ruiz with an aggregate inferredRisk of <strong>0.5</strong>. This suggests a PEP-adjacent (politically exposed person) individual whose ownership of any operating entity propagates 0.5 forward into that entity; tier-2 review.</p><p>Arithmetic: one edge, family_member_of, weight 0.5. Path product 0.5. Terminal risk 1.0. Contribution 0.5 × 1.0 = 0.5. Direct risk 0.0. Inferred risk 0.5. Total exposure 0.5. The visualizer paints it yellow.</p><p>The point of showing both paths is that the engine is not picking favorites between ownership and family. The propagation weights encode the policy (“family ties propagate half the risk that ownership does”), and the same query returns the right answer for both kinds of association in the same call.</p><p>The reason the named edges in the worked example exist as edge <em>collections</em> — not as a single generic relation collection with a type field — is that ArangoRDF derived them from the OWL object properties at load time. Here is the full ontology-load step:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*goOT_2WupWddHoLHpgvwlg.png" /><figcaption>Figure 7. ArangoRDF ontology-load step</figcaption></figure><p>Three lines of meaningful work after the imports. ArangoRDF supports three transformation strategies — RPT (RDF-topology preserving), PGT (property graph), and LPG (labeled property graph). We use PGT because it maps datatype property statements onto Arango document attributes, which is exactly the shape AQL traversals want. The schema is generated from the ontology, not the other way around. When the ontology adds a new object property next quarter, the next pipeline run produces a new edge collection automatically, and the traversal in section 3 picks it up the moment its name is added to the 1..3 ANY list.</p><h3>6. Why this matters for enterprise</h3><p>The same engine, with the same five-step toolset, supports three quite different lines of business, and the reason it does is that they all reduce to the same path-aggregation primitive over a domain graph.</p><p>In <strong>Department of Defense vendor vetting</strong>, the question is whether a prime contractor’s tier-three supply chain raises a foreign-influence concern. The prime is clean, the tier-one supplier is clean, and the tier-two supplier is a wholly-owned subsidiary of an entity whose principal happens to be on the SDN list. Today, this is caught, when it is caught at all, by an analyst who notices an address overlap between two records and pulls the thread manually. The Sentries traversal makes that thread the default output rather than something an analyst has to discover.</p><p>In <strong>financial services, </strong>the<strong> </strong>politically exposed persons<strong> (PEP), </strong>anti money laundering<strong> (AML) </strong>and<strong> </strong>know-your-customer <strong>(KYC)</strong> programs — the regulatory question is the ultimate beneficial owner (UBO), the natural person at the end of a chain that may run through three holding companies, two trusts, a nominee director, and a transliterated alias of the same individual under a different passport number. KYC programs already use sanctions screening on the named entity; the failure mode is the chain. The same PRODUCT(p.edges[*].propagationWeight) that aggregates risk also aggregates ownership percentage when the weight encodes equity rather than influence. UBO and transitive risk are the same query with different weights on the edges. When an analyst later has to file a SAR (suspicious activity report), the AQL traversal returns the exact path that drove the decision — the auditable chain of evidence the regulator will ask for.</p><p>In <strong>counterparty and supply-chain risk</strong>, the question is the second-order effect of a geopolitical event. If China blockades Taiwan, the immediate impact on a semiconductor importer is obvious; the impact on a North American auto manufacturer with two contracts removed is not. Modelling that requires the same multi-hop traversal — except now the seed is a country code rather than a sanctioned entity, and the propagation weights live on supplies and operates_in edges instead.</p><p>Across these three lines of business, the engine is the same; only the propagation weights and the seed types change. What makes that portability work is the architectural commitment underneath all three: the graph, the document fields, and the semantics live in a single query context, so re-targeting the engine is a question of which weights to load rather than which systems to integrate.</p><h3>7. What’s coming next</h3><p>What ships today is a per-seed AQL traversal. Three things are on the next iteration.</p><p><strong>GAE PageRank-with-weights for whole-graph recompute. </strong>Arango’s Graph Analytics Engine (GAE) is a Rust-based system that lets you spin up dedicated compute on demand and run customized graph algorithms — the algorithms can be authored in Rust or in Python. The interesting customization for risk intelligence is a propagation-weighted PageRank: instead of distributing rank uniformly across out-edges, the rank is apportioned by propagationWeight. The fixed point of that iteration is, mathematically, the same inferredRisk field the AQL traversal computes per seed — but evaluated for every node in the graph at once, GPU-accelerated, and incrementally repaired as edges arrive. The AQL form remains the explainability layer because every path it returns is concrete and auditable; PageRank is the always-on background job that keeps inferredRisk fresh between auditable queries.</p><p><strong>Graph time-travel for “what did we know and when”. </strong>Sanctions designations are added and removed, ownership filings update, and a SAR or an audit response may need to reconstruct the exact graph that produced a vetting decision on a specific date. The right mechanism is a temporal layer on the edges and on the riskScore field, with TTL indexes for housekeeping and a query convention that lets the same traversal run “as of” a target timestamp. Provenance is non-negotiable for an auditable risk system: regulators and internal compliance reviewers will ask for the chain of evidence that produced a conclusion, and the temporal layer is what makes that chain reproducible months after the fact.</p><p><strong>Entity resolution as a first-class step. </strong>The OFAC SDN list is full of transliterated aliases, multiple identifiers (passport, EIN — employer identification number, IMO — the International Maritime Organization vessel identifier), and the same legal entity registered in different jurisdictions. Real-world counterparty data is worse. Arango has a sister library, <a href="https://github.com/arango-solutions/arango-entity-resolution">arango-entity-resolution</a>, that combines record blocking, semantic blocking via embeddings, and hybrid blocking-with-traversal — the last one is interesting because it uses graph context to break ambiguity in a way pure record blocking cannot. Folding that step into the ingest pipeline turns the synthetic vetting demo into a real-world product where Carlos Medina Ruiz under one transliteration and the same Carlos Medina Ruiz under another are recognized as one entity before the traversal runs.</p><p>Two further extensions are on the same roadmap and worth naming briefly. <strong>AutoGraph over news</strong>: the same entity-resolution library can bridge unstructured reporting (news articles, sanctions investigations, regulatory filings) into the structured OFAC graph, which is how a Wagner-Group-style discovery surfaces in the system <em>before</em> the formal designation. <strong>Agentic orchestration of the toolset</strong>: the canvas actions and saved queries are already declarative tools stored in the database, so an LLM agent can call them in the strict five-step sequence shown in section 2 with no additional plumbing — the database is already shaped to receive that style of consumer.</p><h3>8. Closing</h3><p>A sanctions list tells you who is on it. A graph tells you who is one degree from someone on it — and underwriting decisions live in that gap.</p><p>Sentries was built to make that gap a query, not a research project. The OFAC list is the seed. The OWL ontology, lifted into Arango by ArangoRDF, is the schema. The five-step toolset — search, trace, vet, concentrate, visualize — is stored in the same database as the data it queries, so an analyst, an auditor, and an LLM agent are calling the same tools and getting the same answer.</p><p>The Shell Game scenario in section 5 is three hops of clean ownership wrapped around one sanctioned terminal. A keyword screen on the SDN list says the vetting target is fine. The traversal in section 3 says its inferredRisk is 1.0. Both answers are arithmetically valid. Only one of them corresponds to the real risk.</p><p>That is the difference a multi-model database makes when you put the path inside the query.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cfe576e4b980" width="1" height="1" alt=""><hr><p><a href="https://medium.com/arango-solutions/tracing-hidden-risk-cfe576e4b980">Tracing Hidden Risk with Arango</a> was originally published in <a href="https://medium.com/arango-solutions">Arango Solutions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing At Speed]]></title>
            <link>https://medium.com/arango-solutions/designing-at-speed-4ec6b0729df2?source=rss-b98d751319d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ec6b0729df2</guid>
            <category><![CDATA[knowledge-graph]]></category>
            <category><![CDATA[arangodb]]></category>
            <category><![CDATA[graphrag]]></category>
            <category><![CDATA[hardware]]></category>
            <category><![CDATA[product-design]]></category>
            <dc:creator><![CDATA[Arthur keen]]></dc:creator>
            <pubDate>Wed, 27 May 2026 12:39:22 GMT</pubDate>
            <atom:updated>2026-07-30T21:48:37.806Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GqdgRtijqrJpcqpt3TVucg.png" /></figure><h3><strong>Building an Integrated Circuit Hardware Design Knowledge Graph on Arango</strong></h3><p><em>A technical deep-dive for hardware architects, EDA tool developers, and engineering leads</em></p><p>Try it yourself: <a href="https://github.com/arango-solutions/hardware-design-knowledge-graph">GitHub: arango-solutions/hardware-design-knowledge-graph</a></p><p>What Is Arango?</p><p>Arango is a native multi-model database and a Contextual AI Data Platform. It stores documents, graph structures (vertices and edges), and vector embeddings within a single engine, queryable via AQL (ArangoDB Query Language) or natural language. Unlike traditional stacks that integrate disparate databases, Arango executes graph traversals and vector similarity searches in the same engine — eliminating network round-trips, format serialization, and the need for result stitching in application code.</p><p>Arango’s versatile capabilities can be combined to support a wide range of use cases. In this article, we will explore how these features simplify the inherent complexity of integrated circuit design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fKGrIZO07EpznHhOiSsngw.png" /></figure><p>Figure 1: Time traveling across 4 related IC design projects, showing inferred requirements/design similarity links across projects.</p><h3>Executive Outcomes</h3><p>For teams evaluating whether this architecture is worth exploring, here are the headline results measured on a multi-repo IC dataset that has been expanded to span five open-source RISC-V repositories (including the OpenRISC 1200, MOR1KX, Marocchino, and Ibex cores):</p><ol><li>10x Token Efficiency: Dropping LLM context windows from 5,000+ tokens to under 500 by filtering via topological neighborhoods.</li></ol><p>2. Temporal Concept Provenance: Tracking how design concepts evolve across different versions of documentation and different repositories over decades.</p><p>3. “Déjà Vu” Design Situations: Looking across all five designs to automatically find similar historical design situations, preventing repeated architectural mistakes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rBjue-pQ-ZuqUSi4M2sZhg.png" /><figcaption>Figure 2: The performance advantage of a 92% reduction in tokens.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V8WNtfsR-AE8kdc3YbXu0g.png" /><figcaption>Figure 3: Ability to bridge across hardware designs</figcaption></figure><p><em>Benchmark conditions: Dataset of ~50,000 nodes and ~180,000 edges across three open-source RISC-V repositories. Latency measured at the 95th percentile over 1,000 queries.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*945tiSEK4l3AG7wF0sNeXQ.png" /><figcaption>Table 1: Key performance metrics.</figcaption></figure><h3>The Problem: Why Fragmented Stacks Fail IC Design</h3><p>Hardware architects know that a System-on-Chip (SoC) is not a flat list of text chunks. It is a deeply nested hierarchy of logical subsystems, clock domains, and power islands. Standard vector-only RAG treats every document as a bag of embeddings — it retrieves text based on closeness in a latent space, with no awareness of structure or time.</p><p>To a vector engine, the phrase “clock signal” in a high-level Instruction Set Architecture (ISA) document looks semantically identical to “clock signal” in a peripheral UART block. The result: the agent retrieves the wrong RTL module, the LLM generates a plausible-sounding but fabricated connection, and the verification engineer spends hours debugging a requirement that never existed.</p><p>This spatial fragmentation is compounded by <strong>temporal fragmentation</strong>. Hardware evolves over years. A module from 2012 is not the same as its 2024 counterpart, and comparing them purely via vector embeddings strips away the vital context of <em>when</em> and <em>why</em> changes occurred.</p><p>This is a failure of structural grounding. Without the graph topology of the IP hierarchy, the vector engine is flying blind.</p><p><strong>Why latencies compound in fragmented stacks: </strong>In a Graph DB + Vector DB architecture (non-Arango), every query requires three sequential network hops: (1) embed the query, (2) find candidate IDs in the vector store, (3) send those IDs to the graph store for traversal. Each hop adds serialization overhead and a separate I/O round-trip. At 50,000-node scale, this compounds to 300 ms+ per query — unacceptable in an interactive design-rule-check loop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t07UaxfdIRpt6TCot8TEVA.png" /><figcaption>Figure 4: Vector RAG’s lack of context versus GraphRAG’s full understanding of context</figcaption></figure><p><em>Figure 1 — Vector-only RAG retrieves structurally unrelated modules sharing surface-level vocabulary. GraphRAG or Arango’s HybridRAG grounds retrieval in the IP hierarchy.</em></p><h3>The IC-Graph Architecture: Spec-to-Silicon Traceability</h3><p>The solution is an automated, four-stage pipeline that converts unstructured vendor PDFs and internal specifications into a structured, type-safe Knowledge Graph. Every stage is deterministic — given the same inputs, it produces identical outputs, making the system auditable at every link.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RTQfgVWlsoVc4qZAkQ67Iw.png" /><figcaption><em>Figure 5— The four-stage automated pipeline: PDFs and Git logs enter; a typed Knowledge Graph exits.</em></figcaption></figure><h3>Pipeline Stages</h3><h3>Stage 1 — document_converter.py</h3><p>Ingests vendor PDFs, datasheets, and internal specs. Converts them to clean Markdown, preserving table structures, register maps, and port lists that plain text extraction would flatten. Outputs are versioned alongside the source PDF hash, so the graph can be rebuilt deterministically on source changes.</p><p>Failure mode: Skip this stage, and you lose table structures and register maps — the highest-signal data in any hardware spec — reducing your entity extraction to plain prose only.</p><h3>Stage 2 — etl_graphrag.py</h3><p>A hardware-domain parser that identifies and classifies entities: Modules, Ports, Signals, Clock_Domains, Constraints, and Spec_Requirements. Each entity is assigned a strict type label at ingestion time — this label is used downstream to enforce the Type-Compatibility Matrix.</p><p>Failure mode: Skip this stage, and entities enter the graph without type labels, breaking the Type-Compatibility Matrix in Stage 4 and allowing architecturally nonsensical bridges to form.</p><h3>Stage 3 — consolidator.py (Entity Resolution)</h3><p>Performs cross-document deduplication. It identifies that clk_i in one module and sys_clk in another are the same logical net and merges them into a Golden Entity. Without this step, the graph would contain hundreds of duplicate signal nodes that inflate traversal fan-out and pollute similarity rankings.</p><h3>Stage 4 — bridger_bulk.py (Semantic Bridge with Type Safety)</h3><p>Calculates semantic similarity between Spec_Requirement nodes and RTL Golden Entities. Crucially, this stage enforces a Type-Compatibility Matrix — a structured constraint table that prevents semantically similar but architecturally incompatible entities from being linked.</p><p>Failure mode: Remove the Type-Compatibility Matrix, and a 0.90 similarity score between a Power Management requirement and an Interrupt Controller becomes a confirmed link, a bridge that would send the LLM down a fabricated reasoning path.</p><p><strong>The Type-Compatibility Matrix — explained: </strong>Without type constraints, a vector similarity score of 0.90 between a “Power Management” requirement and an “Interrupt Controller” entity would create a bridge link, which is architecturally nonsensical. The matrix is a lookup table keyed on (source_type, target_type). Only permitted pairs are bridged, regardless of similarity score. Current permitted pairs include: Spec_Requirement → Module, Spec_Requirement → Clock_Domain, Module → Golden_Entity, and Port → Signal. Prohibited pairs are logged as rejected candidates for engineering review.<br><strong>Stage 5 — Temporal &amp; Situation ETL:</strong> Our newest stage parses Git history commit-by-commit and ingests different versions of the documentation. It introduces two powerful concepts:</p><p><strong>Design Epochs:</strong> Instead of treating a repository as a flat history, commits are clustered into named periods (e.g., initial_commit, v1.0_release).</p><p><strong>Design Situations:</strong> Rule-based heuristics automatically detect patterns like major_refactor or subsystem_addition. By indexing these situations, the graph can look across all five IC designs and find similar historical situations.</p><h3>Graph Schema: Nodes and Edges</h3><p>The Knowledge Graph uses the following typed node and edge taxonomy. All nodes carry a type field enforced at ingestion; the edge types define the traversal semantics used in AQL queries.</p><h3>Node Types</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PiJGot-i5Y9IzRCvxwfvUA.png" /></figure><h3>Edge Types</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UBtgfmrPKXcS11lwDrWe2A.png" /></figure><h3>Why Arango for Hardware Graphs?</h3><p>Three native capabilities make Arango the correct choice for this workload. A Graph-only or Vector-only database cannot satisfy all three simultaneously.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eETFo-2FRtpE8lZr0eeHzw.png" /><figcaption><em>Figure 6— The Hardware Design Knowledge Graph schema.</em></figcaption></figure><h3>1. Inductive Community Discovery via the Leiden Algorithm</h3><p>The graph can automatically identify hidden subsystem boundaries that no single document defines — and surface the functional intent of an entire subsystem even when its components are scattered across hundreds of files. This is what Leiden community detection makes possible. The Leiden algorithm is a community detection method that groups nodes by maximizing modularity: it finds dense clusters of edges within a subset of the graph while minimizing edges crossing the cluster boundary.</p><p>Run natively within Arango’s framework, Leiden identifies these hidden communities without requiring pre-labeled subsystem definitions. The result: the AI can summarize an entire subsystem’s functional intent from graph structure alone, even when no architecture document exists for it.</p><p><strong>Leiden vs. Louvain: </strong>Leiden is a refinement of the older Louvain algorithm. Louvain can produce internally disconnected communities — a node might be assigned to a community it has no path to. Leiden adds a refinement phase that guarantees connectivity within each community. For IC graph analysis, this matters: a disconnected community would mislead the AI into summarizing unrelated subsystems together.</p><h3>2. Scalability via SmartGraphs</h3><p>Hardware graphs scale aggressively. A modern SoC with gate-level representation can exceed one billion edges. Distributed graph queries on such a dataset trigger “network fan-out”: each traversal hop may require data from a different shard on a different machine, multiplying network latency per hop.</p><p>Arango’s SmartGraphs co-locate related IP blocks on the same physical database shard using a user-defined sharding key (in our case, the module’s top-level subsystem). A 10-hop traversal across a bus fabric stays on-shard for the vast majority of hops, eliminating cross-shard network calls. In testing on a 3-repository, 180,000-edge graph, SmartGraphs reduced cross-shard queries by over 80% compared to a default hash-sharded graph.</p><h3>3. Hybrid Query Execution — Eliminating the Application-Side Join</h3><p>This is the critical architectural differentiator. In a Graph DB + Vector DB stack (non-Arango), the query lifecycle is:</p><ul><li>Embed the query vector in application code</li><li>Query the vector store → receive a list of candidate IDs</li><li>Pass those IDs back to the application layer</li><li>Issue a separate graph query using those IDs</li><li>Merge and re-rank results in the application code</li></ul><p>Each step is a separate I/O operation. The application layer becomes a stateful coordinator, and the join logic lives in code that is invisible to the database optimizer.</p><p>In Arango, vector similarity and graph traversal execute in a single AQL query within the same engine execution context. There is no application-side join. The optimizer sees the full query plan and can prune branches before they are ever traversed.</p><h3>Native AQL: Writing Cross-Repo Queries</h3><p>AQL (ArangoDB Query Language) is a declarative query language combining SQL-style filtering with graph traversal and vector search. The following two examples show how hardware queries that would require multi-service orchestration in a fragmented stack become single-pass operations in AQL.</p><h3>Query 1: Time-Travel &amp; Cross-Repo Evolutionary Lineage</h3><p>This query utilizes ArangoDB’s Hybrid Search capability, finding the architectural predecessor of a module across different repositories and epochs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*bCL0ABcv2xyuT9_bRPs4zQ.png" /></figure><h3>Query walkthrough<strong>: Hybrid Multi-Repo Lineage</strong></h3><ul><li>This query paints a complete picture of how a processor evolved by combining two separate searches — one looking across repositories, and one looking across time — and unifying the results.</li><li><strong>The Unification Strategy:</strong> The query acts as a wrapper that runs two distinct sub-searches (Part A and Part B) simultaneously. It then merges the structural paths found by both searches into a single return payload.</li><li><strong>Part A: Tracing the Cross-Repo Ancestor:</strong> * The first search starts at a highly specific “Golden Entity” representing a core piece of the modern MOR1KX processor.</li><li>It then takes exactly one step outward, following a relationship edge explicitly labeled as an evolutionary bridge.</li><li>This effectively asks the database, “What legacy component from a completely different project (like the OR1200) did this MOR1KX entity evolve from?” and grabs that connecting path.</li><li><strong>Part B: Time-Traveling Through the Git History:</strong></li><li>The second search switches gears to look at chronological history. It scans the database for “Design Epochs,” filtering specifically for major milestones and initial commits belonging to the MOR1KX repository.</li><li>It sorts these historical events from oldest to newest and isolates the first four major milestones.</li><li>For each of those four historical moments, it searches the graph to find the exact snapshot of the CPU module that was active at that precise time.</li><li>It filters out any milestones where the CPU module didn’t exist yet.</li><li>Once it finds the correct historical snapshots, it traces the paths connecting those snapshots to their respective milestones.</li><li><strong>The Final Output:</strong> By the end of the execution, the query delivers a unified dataset showing exactly what older architecture the MOR1KX evolved from, combined with a step-by-step snapshot of how its main CPU module changed across its first four major historical releases.</li></ul><h3>Query 2 — Hybrid Full-Text + Graph Search</h3><p>This query combines Arango’s full-text index with a graph traversal to find all high-criticality RTL modules related to an ECC (Error Correction Code) specification — in a single pass, without any application-side join.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*945tiSEK4l3AG7wF0sNeXQ.png" /></figure><h3>Query walkthrough:</h3><ul><li>FULLTEXT(Specifications, ‘description’, ‘prefix:ECC’) — uses Arango’s built-in full-text index to find all Specification documents whose description field contains any word starting with “ECC”. This is phrase-level matching, not vector similarity.</li><li>FOR v, e IN 1..2 ANY doc — from each matching spec, traverse up to 2 hops in any direction. This constrains the search to the immediate structural neighborhood of the matching specification — not the entire graph.</li><li>FILTER v.criticality == ‘High’ — prunes any traversal branches leading to modules not marked as high-criticality, dramatically reducing the result set before sorting.</li><li>SORT e.similarity_score DESC — ranks remaining results by the SEMANTIC_BRIDGE edge similarity score (range: 0.0–1.0, where 1.0 = highest structural similarity).</li><li>LIMIT 5 — returns only the top five results to the LLM context window, achieving the 92% token reduction.</li></ul><h3>Case Study: OR1200 to IBEX Architectural Lineage</h3><p>To validate the architecture on a real multi-repository dataset, we tested cross-repo lineage discovery using three open-source processor cores: OpenRISC 1200 (OR1200, circa 2001), Ibex (RISC-V, lowRISC), and the Marocchino out-of-order core.</p><p>The test question: given the OR1200 Development Interface specification, can the graph surface its structural descendants in modern RISC-V implementations, without a human manually annotating the relationship?</p><p><em>Figure 4 — Cross-repo bridging result: the OR1200 debug unit spec is structurally linked to the Ibex debug_mode signal via a Golden Entity with a confidence score of 0.72.</em></p><h3>The Deterministic Path Found</h3><p>The graph agent traversed the following path without any human guidance:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aIpjqTG8W4QN2BnEA0nM6g.png" /></figure><p>The AQL query that produced this result (parameterized from Query 1 above):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D73SsgLDwxaGRSBZCW6RWQ.png" /></figure><p><strong>What does a confidence score of 0.72 mean? </strong>SEMANTIC_BRIDGE edge scores range from 0.0 to 1.0, where the score is the cosine similarity between the two Golden Entity embeddings after type-compatibility filtering. Scores above 0.85 are treated as confirmed links. Scores between 0.70 and 0.85 are flagged as candidate links requiring engineering review. Scores below 0.70 are stored in the graph but excluded from LLM context by default.</p><p>A confidence of 0.72 correctly places the OR1200 → IBEX relationship in the “candidate link” tier — the architectural lineage is real (confirmed by senior engineers post-hoc), but the forty-year gap between implementations means the semantic distance is appropriately reflected. This was knowledge previously held only by senior architects with institutional memory of both projects.</p><h3>Performance: The Hybrid Search Advantage</h3><p>In a standard vector RAG pipeline, the LLM context window must receive a broad “cloud” of candidate documents to ensure the relevant one is included. Because there is no structural filter, the system errs toward over-retrieval typically 5,000+ tokens per query.</p><p>By combining graph topology with vector search, Arango constrains retrieval to the precise topological neighborhood of the query anchor. Only nodes within N hops of the matched entity are returned — the rest of the graph is never evaluated.</p><p><em>Figure 5–92% token reduction: standard RAG supplies 5,000+ tokens of broad context; Arango HybridRAG supplies a precise subgraph of fewer than 500 tokens.</em></p><p>The 92% token reduction figure comes from the following comparison run on the ECC query above:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7G1cu7b-rJGqiQcoWMWF5g.png" /></figure><p><em>Precision = (relevant tokens retrieved) / (total tokens retrieved). Latency measured end-to-end from query submission to LLM context delivery, excluding LLM inference time.</em></p><h3>Organizational Risk: Bus Factor and IP Compliance</h3><p>For enterprise and defense programs, the Knowledge Graph is not just a performance optimization — it is a risk management tool.</p><h3>The Bus Factor Problem in Silicon</h3><p>The graph can automatically surface which IP blocks in your silicon roadmap are one departure away from a catastrophic knowledge loss — without requiring manual dependency mapping or architecture reviews. This is the Bus Factor problem made visible. “Bus Factor” is a software engineering term for the minimum number of people who, if suddenly unavailable, would halt a project. In hardware design, a Bus Factor of 1 on a critical IP block means a single engineer holds all working knowledge of its clock domain constraints, interface contracts, or verification approach.</p><p>By mapping Git commits to the Knowledge Graph via MODIFIED_BY and OWNS edges, the system can calculate Bus Factor for every node in the graph. Specifically, we flag any node where:</p><ul><li>Fewer than two unique commit authors have touched the node’s source files in the last 12 months, AND</li><li>The node has degree centrality in the top 5% of the graph (meaning it is a structural hub that many other modules depend on).</li></ul><p>The output is a prioritized list of single-point-of-failure nodes in the silicon roadmap — surfaced automatically, without requiring manual dependency mapping.</p><h3>IP Reuse and Structural Equivalence</h3><p>Before reusing a legacy verification testbench on a new design, teams must determine whether the two designs are structurally similar enough to share the testbench. Previously, this required senior engineers to manually compare interface specs. The graph enables structural comparison:</p><ul><li>Run Leiden community detection on both the legacy and new IP subgraphs.</li><li>Compare the edge type distributions and port connectivity patterns of the resulting communities.</li><li>If graph topology matches above a configurable threshold (default: 90% edge-type overlap within the community), the verification testbench is flagged as a candidate for reuse.</li></ul><p><strong>Important caveat: </strong>A 90% topology match is a necessary condition for testbench reuse, not a sufficient one. Timing constraints, protocol versions, and power intent files must still be reviewed by a verification engineer. The graph surfaces candidates; human judgment closes the decision.</p><h3>Known Limitations and Trade-offs</h3><p>No architecture is without trade-offs. The following are honest assessments of the current system’s constraints.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_cgrGvyk-YcFWavliu1x2Q.png" /></figure><h3>The ArangoDB Graph Visualizer in Practice</h3><p>Beyond programmatic AQL access, Arango’s built-in Graph Visualizer provides interactive exploration of the IC graph. Engineers can filter by node type, follow edges manually, and inspect the properties of any node or edge — without writing a query</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kvRJpnZgYWDUggYkRrKwhw.png" /><figcaption><em>Figure 7— The Arango’s Graph Visualizer showing the full IC hardware design graph. Each colored block represents a typed node; edges represent relationships traversable via AQL.</em></figcaption></figure><p>For verification teams, this provides a human-readable audit trail: starting from any Spec_Requirement, a reviewer can manually walk the graph to confirm that a specific RTL module correctly implements the requirement — without relying on the AI’s interpretation.</p><h3>Conclusion</h3><p>The future of hardware verification and design reuse is not built on stochastic, disconnected AI wrappers — it is built on deterministic structural data natively fused with semantic search and temporal history. The key insight this project demonstrates is that the integration tax of fragmented databases is not a cost of doing business; it is an architectural choice, and it can be eliminated.</p><p>By replacing the Graph DB + Vector DB + application-join pattern with Arango’s unified multi-model engine, hardware teams gain three capabilities that were previously mutually exclusive:</p><ul><li>Determinism: every spec-to-silicon link is traceable, auditable, and reproducible.</li><li>Performance: hybrid queries execute in a single pass, achieving sub-60 ms latency at 180,000-edge scale.</li><li>Organizational intelligence: Bus Factor mapping and structural IP comparison surface risks and reuse opportunities that previously required senior architect judgment.</li></ul><p>The Knowledge Graph is no longer a research prototype. Everything described in this article is deployable today — on the open-source hardware datasets linked below, on your own RTL repositories, or on a managed instance via Arango.ai.</p><p>The architecture is ready. The GitHub repository contains every pipeline stage, the Type-Compatibility Matrix configuration, and example AQL queries. The next step is running it against your own data.</p><p>Try it yourself: <a href="https://github.com/arango-solutions/hardware-design-knowledge-graph">GitHub: arango-solutions/hardware-design-knowledge-graph</a></p><p>Contact Arango.ai for a demo or enterprise evaluation: <a href="https://arango.ai/contact-us/">https://arango.ai/contact-us/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ec6b0729df2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/arango-solutions/designing-at-speed-4ec6b0729df2">Designing At Speed</a> was originally published in <a href="https://medium.com/arango-solutions">Arango Solutions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>