Data and Ontology
Ontology and Mongo data are related but not the same layer.
| Layer | Role |
|---|---|
| Ontology (TBox) | Vocabulary of kinds: classes, properties, optional SHACL constraints |
| Data (ABox) | Concrete Mongo documents that realize those kinds |
Forward: ontology → data
- Provide Turtle (upload/paste) in Workbench2 synthetic generation
- Backend summarizes classes and properties into prompt context
- LLM generates documents preferring ontology terms
- Documents insert into the chosen
database.collection
Reverse: data → ontology
- On Workbench2 Data Management (
/data), open a collection and choose Export (download icon) - Set File Type to ttl — indicative ontology (Turtle)
- Choose sample size, then Download (or save to the server data folder)
- Optionally paste that TTL into Generate Synthetic Data → Ontology for a round trip
Reverse output is inductive: sparse fields, mixed types, and nested arrays may need manual refinement.
Ontology TTL ──guides──► Synthetic generation ──inserts──► Mongo collection
▲ │
└──────── indicative infer (sample) ──────────────────────┘Runtime asymmetry
For ecosystem-runtime campaigns:
- Customer / feature lookup — open bag (any shape) — Customer Feature Lookup
- Offer matrix — fixed six fields — Offer Matrix
Last updated on