Semogram Docs
Getting startedCore concepts

Ontology

Give records shared business meaning and connect that meaning to queryable values

An ontology defines the business things a project talks about, such as Equipment, and the properties and relationships describing them. It separates what a term means from where its current values come from.

The pieces

PiecePurposeEquipment example
DefinitionVersioned classes, properties, relationships and shapesEquipment has an equipment identifier and temperature
BindingConnects a term to a source and read methodTemperature comes from a selected endpoint column
Materialized factA mapped entity/property/relationship persisted through a fact storeP-101 has a stored temperature observation
AssertionReviewable statement with its own evidence and lifecycleAn incident supports a claim that P-101 failed
Published queryReleased input/output contract over the model and bindingsReturn measurements for one equipment identifier

Definitions, compiled packages, bindings and queries belong to the project. Plugin installations and endpoints are workspace resources the project references. A definition asset/version is different from the compiled package/version used by bindings and mappings.

Reading values

Virtual bindings read a supported endpoint at query time. Materialized bindings read persisted ontology facts. Asserted bindings select assertion values according to their resolution policy. Inferred bindings compute supported expressions from other terms. One query can combine methods when entity identity and its contract align.

Creating Equipment in a model does not create equipment records. A model graph shows structure, not proof that data was read or a materialization run succeeded. Publication stabilizes query logic; live source values can still change.

Example: P-101

A workspace endpoint selects a measurements table. The project defines Equipment and binds equipmentId/temperature to source fields. A query matches equipmentId against its subject input and returns P-101's measurement. The entity identifier, business identifier, source column and query output name are distinct unless explicitly mapped.

Learn the full lifecycle

Ontology covers definitions, bindings, materialization, assertions and queries. Your first model and query contains a complete fixture. Use assertions and evidence for recorded claims rather than treating every statement as an ordinary source fact.