Objective
95% of supply-chain leaders see Tier-1 supplier risk; only 42% see Tier-2 or beyond. The signal
exists — strikes, recalls, fires, fines — but it lives in news prose, not in any ERP. Use
/v2/graph/extract to turn one paragraph of newswire into supplier-event edges, then
LLM_SCORE to grade each event's disruption severity. The wow moment: a single Cypher query
returns every Tier-2 supplier with a high-severity event in the last 30 days, joined to the
Tier-1 suppliers and products downstream.
Step 1: Extract events from a news paragraph
curl -X POST https://localhost:8443/v2/graph/extract \
-H "Authorization: Bearer $AIDB_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"text": "Reuters, April 28 2026 — A fire at the Andes Forge titanium plant in Chile halted production for at least six weeks, the company said. Andes Forge supplies turbine forgings to Pacifica Components and to Helios Aerospace; both companies declined to comment on inventory levels. Separately, a port strike in Valparaíso entered its second week, delaying ocean shipments from Andes Forge and three other regional suppliers.",
"default_node_label": "SupplyEntity",
"node_provenance": {"source": "reuters-2026-04-28"},
"edge_provenance": {"source": "reuters-2026-04-28"},
"min_confidence": 0.55
}'
Step 2: Pre-seed the graph for the demo
// Tier-2 supplier in the news
MERGE (af:Supplier {name: "Andes Forge", tier: 2, country: "CL"})
// Tier-1 customers of the Tier-2
MERGE (pc:Supplier {name: "Pacifica Components", tier: 1, country: "MX"})
MERGE (ha:Supplier {name: "Helios Aerospace", tier: 1, country: "US"})
// The OEM downstream of the Tier-1s
MERGE (oem:Manufacturer {name: "Northwind Aero", country: "US"})
// Products produced by the OEM that depend on this material
MERGE (prod:Product {sku: "NA-727", name: "Turbine assembly module"})
MERGE (prod2:Product {sku: "NA-805", name: "Landing gear actuator"})
// Two events the news mentioned, with embedded text the LLM can grade.
MERGE (ev1:Event {id: "EVT-1", date: "2026-04-28", category: "production_halt",
text: "Fire at Andes Forge titanium plant halts production for at least six weeks"})
MERGE (ev2:Event {id: "EVT-2", date: "2026-04-22", category: "logistics_delay",
text: "Port strike in Valparaiso enters second week, delaying ocean shipments"})
MERGE (af)-[:HAS_EVENT]->(ev1)
MERGE (af)-[:HAS_EVENT]->(ev2)
MERGE (af)-[:SUPPLIES]->(pc)
MERGE (af)-[:SUPPLIES]->(ha)
MERGE (pc)-[:SUPPLIES]->(oem)
MERGE (ha)-[:SUPPLIES]->(oem)
MERGE (oem)-[:MAKES]->(prod)
MERGE (oem)-[:MAKES]->(prod2);