Technical documentation
The wine trade, as a graph.
Every wine resolves to one canonical SKU, then links to each party that moves it from vineyard to table: the producer, the export agent, the importer, the distributor (state by state), and the shops and restaurants that carry it. The diagram below is live — counts come straight from the public graph. Every node is clickable.
Entity-relationship diagram
Entities and how they connect.
Counts are live public-graph facts and update hourly. Arrows point in the canonical edge direction (actor → wine; export agent → producer). The wine/SKU is the hub every trade actor attaches to.
The edges
Every relationship, defined.
| Edge | From → to | Live count | What it means |
|---|---|---|---|
| produces | producer → wine | 0 | The grower made this bottling. |
| represents | export agent → producer | 0 | An export agent (courtier) represents the domaine for export. NEW layer. |
| imports | importer → wine | 0 | The importer brings this wine into the country. |
| distributes | distributor → wine | 0 | A distributor carries it within a state / market. |
| listed_by | retailer / restaurant → wine | 0 | A venue lists it on a shelf or wine list. |
| in_region | wine / producer → region | 0 | Geographic origin in the appellation hierarchy. |
| awarded | wine / producer → award | 0 | A critic score or accolade. |
A path through the graph
One bottle, vine to table.
The sample path is loading from the graph.
Build on the graph