Graph Insights Tutorial – Supply Chain Risk Analysis¤
This tutorial demonstrates a workflow of Graph Insights using the Northwind dataset.
Demo Data
The demo data using in this tutorial is available here: northwind-data.ttl. You can import the data:
- by using the web interface (Explore -> Knowledge graphs → Add new graph) or
-
by using the command line interface:
Business Scenario¤
Northwind Traders needs to identify vulnerabilities in the trade network by answering a critical question:
“Which VIP US customers will be impacted if the UK supply chain fails, and which products will be involved?”
We will traverse the ordering chain, identify high-volume US partners, and isolate the product mix.
1. Seed the Canvas¤
Every exploration requires a starting point. We begin with the central entity: The product.
- Locate the
Productclass in the class tree in the left pane. - Drag it to the center of the canvas.
- Outcome: A group appears, representing the entire inventory (e.g., 77 Products).
2. Build Traversals to the Interest Groups¤
Next, we expand the exploration tree to connect Suppliers and Customers.
Preparation¤
To simplify the expansion menus, hide generic classes that are not relevant to this analysis.
- Right-click the Agent class in the class tree.
- Select Deactivate class.
Expansion Steps¤
We extend the exploration tree from the central Product group.
-
Add suppliers:
- Select the
Productgroup. - Expand to the
Supplierclass via→ hasSupplier.
- Select the
-
Add customers:
- Select the
Productgroup again. - Expand to the
Orderclass via← includesProduct. - From the new
Ordergroup, expand to theCustomerclass via→ hasCustomer.
- Select the
3. Filter Key Players¤
The exploration tree currently visualizes all connections. We must now isolate the high-value targets (VIPs) and the specific risk region (UK).
3.1. Identify VIP US Customers¤
We define “VIP” as customers with the highest volume of incoming orders.
- Select the
Customergroup and open the resource table. - Filter by country: Open the menu of the
countrycolumn from its header (using the menu dropdown or a right-click) and enterUSAin the text field of the filter submenu. - Identify VIPs: Click the Predecessors column header to Sort Descending. This ranks customers by their incoming connection count (number of Orders).
- Select and restrict: Check the boxes for the top 5 customers and click
Restrict to selection.
3.2. Isolate UK Suppliers¤
- Select the
Suppliergroup to open the table. - Filter
CountrytoUK. - Click
Apply filters.
The Disconnected State
At this stage, you have filtered the ends of both traversals, but their start (Products) still shows the total inventory (left-join pattern). The branches of the exploration tree represent independent aggregated traversals sharing the same starting point.
4. Propagate the Filtering to the Products¤
We now need to identify the intersection: Which products are both sold by UK Suppliers and bought by VIP US Customers?
We apply left group restriction (i.e., switching from left join to inner join) on the connections to retain only resources of the left group having at least one object property assertion in the connection (i.e., successor in the right group).
4.1. Identify Products from UK Suppliers¤
Right-click the connection beam between Supplier and Product and select Restrict left group:
- This retains only products having a UK supplier.
- As this reduces the start group of the second branch of the exploration tree, the
OrderandCustomergroups might be impacted.
4.2. Identify Products ordered by VIP USA Customers¤
Apply the same restriction to the connections between Order and Customer as well as between Product and Order:
- This retains only products appearing in at least one order of at least one VIP USA customer.
- All products having been constrained to have a UK supplier in the previous step, the
Productsgroup now contains the high risk products.
5. Analyze Impact¤
We have isolated the high risk product group, that we can now analyze:
- Select the filtered
Productgroup to display the class histogram in the right pane. - Expand the
Productclass bar to display its sub-classes (e.g., Beverages, Confections). - Insight: The products of the
Confectionsclass are the most represented in this high impact risk group.
6. Operationalize Findings¤
Finally, we convert this visual insight into an actionable list for the procurement team.
-
Drill down:
- In the histogram, right-click the
Confectionsbar. - Select
Restrict group to class. This discards the other product types, leaving only the high-risk confections, with the side effect of reducing the UK suppliers to a single resource.
- In the histogram, right-click the
-
Visualize traversals including a specific resource:
- Open the resource table of the
Productsgroup. - Right-click a specific high-value item (e.g., “Teatime Chocolate Biscuits”) to open its context menu.
- Select
Flag all connected resources on the branch.
- Open the resource table of the
- Graph Insights highlights all resources on a specific high-risk traversal: The specific UK Supplier → The specific Biscuit → The specific VIP US Customers buying it.
Summary and Next Steps¤
You have successfully modeled a complex dependency network, filtered it by geo-location and volume, and identified a risk cluster.
- Share: Save the exploration to share this view with colleagues.
- Monitor: Create a user-defined class called “High-Risk Confections” to permanently track this segment.
- Report: Export the CSV of the flagged branch for the procurement team.









