Back

Projects

Neo4j Demo

U.S. trade knowledge graph · Fall 2026

I built an exploratory graph database of U.S. import data, to see what trade looks like when you explore it through relationships rather than tables.

Design

My first design represented exporter countries, detailed products, quarters, and trade-remedy stages as nodes. The working prototype is simpler: countries and broad industries (HS2 chapters) are nodes, linked by exports, with import value stored on each relationship. The simpler model also fit the relationship limits of the available Neo4j plan.

An example question

One query the prototype answers directly: what are China’s total U.S. import values by HS2 industry?