본문으로 건너뛰기
← Workshop overview
Chapter 4 of 7
15 min

Expand a product into branch, region, and supplier context

Materialize the enriched result as an ontology and inspect its operational relationships.

Question for this chapter

Which branch and supplier context should be checked with a price-review candidate?

Why this matters now

A product name with a large price gap does not identify the responsible branch or affected region. Connecting product, branch, region, and supplier exposes that context without switching among tables.

Try it

Open Ontology → Modeling and select Retail Inventory Analysis. Inspect the product, branch, region, and supplier entities and their stocked-at, located-in, and supplied-by relations.

Ontology model with product, branch, region, supplier, and three relations
Inspect how four entities and three relations support the operations question.

Run Retail Ontology Materialization Pipeline. Verify that data appears in all four entity and three relation datasets.

Pipeline splitting the enriched result into ontology entities and relations
One enriched result becomes product, branch, region, and supplier context.

Check each asset's Data tab against the current ZIP.

TypeAssetRows
EntityProduct8
EntityBranch11
EntityRegion11
EntitySupplier8
RelationLocated in11
RelationStocked at56
RelationSupplied by8

After checking the seven row counts, expand one product's relationships.

  1. In Graph Explorer, select Retail Inventory Analysis.
  2. Select ri_product under Entities.
  3. Select one product and record its item_code from Node properties.
  4. Inspect the stocked-at branch and supplier connections returned with the product.
  5. Select a connected branch and use Expand neighbours to add its region.

Success looks like this

The current seed creates 8 products, 11 branches, 11 regions, and 8 suppliers. It creates 11 located-in, 56 stocked-at, and 8 supplied-by relations. If those row counts match and the graph connects the selected product to branches, regions, and a supplier, the step succeeded. The node and relation badges count only the current selection and expansions, not all 38 nodes and 75 relations.

Interpret the result

The 46,700 raw rows aggregate to 56 stocked-at relationships at product × branch level. Price and inventory remain on ri_stocked_at, so a candidate product can be traced to its affected branches.

Next decision

Relationships explain a candidate's context but do not choose a priority. Next, read the dashboard in a fixed order and decide the response.