Consumer Goods Demo Kit: A Loadable CPG Knowledge Graph

Consumer Goods demo kit

The commercial world of Meridian Foods Group, a fictional manufacturer midway through a cocoa supply disruption, plus a real product corpus from USDA FoodData Central, packaged as a loadable knowledge graph with twenty-six competency questions and their expected answers. It loads into a free Fluree ledger in about two minutes.

Download the Kit Create a Free Workspace

The zip needs no signup. After downloading, hand it to a coding agent, load it in a free Fluree AI workspace, or run it locally: the setup section covers all three. Background reading: One Intelligence Layer, From Supplier Contract to Shelf.

Kit facts

Meridian sells chocolate, biscuits, and spreads through four retail accounts. Its cocoa supplier declared force majeure in June; three live promotions are exposed through their bills of materials, retailer agreements constrain what can change, and the early warnings were sitting in documents months before the declaration. Every commercial fact is synthetic.

Beside the fiction sits a real corpus: 68 branded food records from USDA FoodData Central, public domain under CC0 1.0, typed with the GS1 Web Vocabulary and carrying per-record provenance. Fictional facts attach only to fictional products; the real records carry only what USDA publishes.

The questions run across all of it: trade, ERP, procurement, contracts, and documents in one traversal, which is the point.

What you can answer with it

The documented trail

  1. Apr 14: Buyer call note: Altena signals forward-hedging
  2. May 2: Crop report: midcrop tracking 18% below average
  3. Jun 20: Altena declares force majeure; allocations cut to 60%
  4. Aug 15: Cocoa reaches $6,420 per tonne, up ~50% since April

Fastest · Your coding agent does it

Any agent with terminal access can fetch the zip, install the CLI, load the kit, validate it, and then answer the packaged questions and check itself against the expected answers that ship inside. The prompt includes the download URL.

Zip URL: https://flur.ee/demo/cpg/cpg-demo-kit.zip

Please download https://flur.ee/demo/cpg/cpg-demo-kit.zip (cpg-demo-kit.zip) and check that it works:
1. Unzip it and read README.md.
2. Install the Fluree CLI if I don’t have it: brew install fluree/tap/fluree
3. Create a ledger and load the files in the order the README gives.
4. Run the SHACL validation and confirm the data conforms.
5. Then open competency-questions.md. Answer each question by querying the graph, and compare your answer to the expected answer written under it.
Tell me which questions matched, which did not, and what the graph let you answer that separate systems could not.

Create an empty ledger

In the workspace, add a new ledger; on the CLI, run fluree create. A ledger is a Fluree database, empty until you load it.

Import the six data files

Load model.jsonld first, then the five instances files. The model file defines the vocabulary the instance files use.

Run the questions

Ask the AI agent the competency questions as written and compare each response against the expected answer. CLI users can run the included SPARQL queries directly.

The packaged questions

Each is answerable only by combining more than one source domain. The note under each describes what the query touches.

  1. Which completed promotions at Hartland Grocers created profitable incremental margin, and which eroded it?
    Reads promotion evaluations for one retail account
  2. What baseline was the February TPR’s margin-eroding verdict measured against?
    Reads the baseline note stored on the evaluation record
  3. If we wanted to change the live Back-to-School TPR, what commitments and notice periods apply?
    Joins the promotion to its JBP lock window, notice period, and terms
  4. Which trade terms govern scan-backs at Hartland, and where did the monthly reconciliation come from?
    Traces a trade term to the amendment document that introduced it
  5. Which products and live promotions are exposed to cocoa through their bill of materials?
    Traverses commodity → BOM line → product → live promotion
  6. Cocoa is up roughly 50% since April. Which live promotions still clear their brand margin guardrail?
    Combines the price series, cost shares, discount depth, and guardrails

These questions run through various modules and complex queries aimed at leveraging the available data effectively. The provided zip files serve various functionalities, including decision memory, governed access, and time travel features, allowing for deep analysis of the data provided.