The core manufacturing ontology already gives us shared concepts. Here we extend it with the classes and relationships needed to describe quality operations.
In the previous articles, we defined a small core manufacturing ontology and then extended it with the concepts required to describe production operations.
The same approach can be applied to quality.
The core ontology already gives us the shared concepts needed to describe manufacturing operations:
However, it deliberately does not define concepts such as laboratory testing, quality specifications, retained samples, non-conformance reviews, or material disposition.
Those concepts belong in a quality-domain ontology.
The purpose of the quality ontology is therefore to introduce the vocabulary required to describe how product quality is inspected, measured, judged, documented, and governed, while keeping every quality concept connected to the shared manufacturing core.
In this example, the quality ontology covers three major areas:
The model is based on a food-production operation, but the same extension approach can be applied to pharmaceutical, chemical, automotive, and other manufacturing environments.
The quality ontology introduces more specific concepts by making them subclasses of the existing core concepts.
For example:
QualityProcess SUBCLASS_OF Process
Sample SUBCLASS_OF Material
QualitySpecification SUBCLASS_OF OperationalEntity
QCTechnician SUBCLASS_OF Agent
TestingCapability SUBCLASS_OF Capability
QualityEvent SUBCLASS_OF Event
ApprovedState SUBCLASS_OF MaterialStateThe core remains unchanged.
It still defines the general semantic structure of manufacturing operations. The quality ontology adds the concepts required to describe how quality is assessed and how quality decisions affect materials and production.
The resulting structure is:
Core ontology
↓
Quality-domain ontologyFor example:
Process
└── QualityProcess
├── Inspection
├── Sampling
├── Testing
├── Disposition
└── NonConformanceReviewEvery quality-specific process retains the shared meaning of the core Process concept: it is work that happens over time and affects or produces something.
Quality activities occur in particular parts of the manufacturing environment.
The quality ontology introduces:
QualityLaboratory SUBCLASS_OF WorkCenter
InspectionStation SUBCLASS_OF WorkCenterA QualityLaboratory is the controlled area where samples are analysed for attributes such as:
An InspectionStation is a point on or beside the production line where product is checked against defined quality criteria before it is allowed to proceed.
At the knowledge-graph level, actual locations could later be represented as:
MainQualityLab INSTANCE_OF QualityLaboratory
FillInspectionStation3 INSTANCE_OF InspectionStationQuality processes can then be connected to those locations through the core relationship:
TestingExecution4711 OCCURS_AT MainQualityLab
BottleInspection88 OCCURS_AT FillInspectionStation3The quality ontology therefore gives the general core concept Location a more precise quality-control meaning.
The quality ontology introduces three physical concepts:
Sample SUBCLASS_OF Material
RetainedSample SUBCLASS_OF Material
TestEquipment SUBCLASS_OF EquipmentA Sample is a representative portion of material drawn from a batch or container for quality analysis.
For example:
BatchSample4711 INSTANCE_OF SampleA RetainedSample is a sample that is stored through the product shelf life so that it remains available for later reference or investigation.
For example:
RetainedSample4711 INSTANCE_OF RetainedSampleTestEquipment represents the laboratory instruments used to measure quality attributes.
Examples include:
pH meter
Refractometer
ViscometerAn actual instrument could be represented as:
PHMeter12 INSTANCE_OF TestEquipmentThe core classification tells us that these are physical entities. The quality ontology tells us the particular function they have within the quality domain.
Their participation in a specific quality process can then be described separately:
BatchSample4711 PARTICIPATES_IN PHTestingExecution88
PHMeter12 PARTICIPATES_IN PHTestingExecution88The sample and instrument are physical things. Their involvement in a particular test is contextual.
The quality ontology introduces an abstract parent concept:
QualityProcess SUBCLASS_OF ProcessIt then defines five major types of quality work:
Inspection
Sampling
Testing
Disposition
NonConformanceReviewInspection represents examining a product against defined criteria to judge whether it conforms.
For example:
BottleInspection88 INSTANCE_OF InspectionThis could represent checking bottles for:
Sampling represents drawing a representative portion of material from a batch or container for analysis.
For example:
BatchSampling4711 INSTANCE_OF SamplingThe process creates the connection between the source material and the physical sample that will later be tested.
Testing represents measuring product attributes in the laboratory using a defined test method.
For example:
PHTestingExecution88 INSTANCE_OF TestingTesting may measure attributes such as:
Disposition represents deciding the fate of a batch or material lot.
Possible decisions include:
Approve
Release
Rework
Reject
QuarantineFor example:
BatchDisposition4711 INSTANCE_OF DispositionNonConformanceReview represents the investigation of a result or material that does not meet its required criteria.
The review determines:
These processes give the quality ontology a lifecycle that moves from observation to judgement:
Sampling
↓
Testing or Inspection
↓
NonConformanceReview, where required
↓
DispositionThe quality ontology introduces operational entities that either define what quality work should be performed or record the evidence produced by that work.
The main concepts are:
QualitySpecification
InspectionResult
CertificateOfAnalysis
Deviation
NonConformanceReport
QualityPlan
TestMethodThese can be divided into two broad groups.
The following operational entities define or govern quality work:
QualitySpecification
QualityPlan
TestMethodA QualitySpecification defines the attributes and acceptance limits a product must meet.
For example:
KetchupQualitySpecification
target pH range
target Brix range
target viscosity rangeA QualityPlan defines which inspections and tests apply to a product, when they must be performed, and at what frequency.
A TestMethod describes how a specific product attribute must be measured.
For example:
PHTestMethodV3
BrixTestMethodV2
ViscosityTestMethodV1These concepts represent what should happen and the conditions against which quality must be judged.
The following operational entities record what actually happened:
InspectionResult
CertificateOfAnalysis
Deviation
NonConformanceReportAn InspectionResult captures measured values and the resulting pass-or-fail verdict.
A CertificateOfAnalysis certifies that a batch meets its quality specification and can accompany released product.
A Deviation records a departure from an approved procedure, process parameter, or specification.
A NonConformanceReport documents material or a result that did not conform and records the review that followed.
This creates the important distinction between:
The quality requirementand:
The evidence of whether the requirement was metFor example:
PHTestingExecution88 CONFORMS_TO KetchupQualitySpecification
PHTestingExecution88 IS_GUIDED_BY PHTestMethodV3
PHTestingExecution88 PRODUCES InspectionResult88The specification and test method guide the work. The inspection result records the outcome.
The quality ontology introduces three specialized agents:
QCTechnician
QualityManager
LabAnalystThese extend the core Agent concept.
A QCTechnician performs in-line inspections and draws samples on the production floor.
A LabAnalyst performs laboratory tests and records the results.
A QualityManager owns the final quality decision and authorizes whether material is approved, held, or rejected.
For example:
QCTechnician17 PARTICIPATES_IN BatchSampling4711
LabAnalyst8 PARTICIPATES_IN PHTestingExecution88
QualityManager3 PARTICIPATES_IN BatchDisposition4711The quality ontology defines the types of agents involved.
The core Role concept can then describe how they participate in a particular process:
QCTechnician17 PLAYS_ROLE Performer
LabAnalyst8 PLAYS_ROLE Performer
QualityManager3 PLAYS_ROLE ApproverThe current quality extension does not define new quality-specific role classes. It relies on the core role model or on a later governance extension to introduce concepts such as Approver, Reviewer, or Authorizer.
The quality ontology introduces three capabilities:
DefectDetectionCapability
TestingCapability
SamplingCapabilityThese extend the core Capability concept.
DefectDetectionCapability is the ability to identify quality defects such as:
TestingCapability is the ability to measure product attributes according to a defined test method.
SamplingCapability is the ability to draw a representative sample without compromising the sample or source material.
These capabilities can be associated with people, equipment, or systems:
QCTechnician17 HAS_CAPABILITY SamplingCapability
LabAnalyst8 HAS_CAPABILITY TestingCapability
XRayInspector201 HAS_CAPABILITY DefectDetectionCapabilityThe corresponding quality processes can state what they require:
Sampling REQUIRES_CAPABILITY SamplingCapability
Testing REQUIRES_CAPABILITY TestingCapability
Inspection REQUIRES_CAPABILITY DefectDetectionCapabilityThis creates the same reusable matching pattern used in the production domain:
QualityProcess
REQUIRES_CAPABILITY
Capability
possessed by
Agent or PhysicalEntityAn application or AI agent can use this model to identify which people, instruments, or inspection systems are qualified to perform a particular quality activity.
The quality ontology introduces:
QualityEvent SUBCLASS_OF EventIt then defines five quality events:
InspectionCompleted
DeviationRaised
NonConformanceRaised
SampleTaken
DispositionMadeThese events record significant points in the quality lifecycle.
SampleTaken records that a sample was drawn from a batch or container.
For example:
SampleTakenEvent4711 INSTANCE_OF SampleTaken
SampleTakenEvent4711 OCCURS_DURING BatchSampling4711InspectionCompleted records that an inspection or test finished and produced a verdict.
For example:
InspectionCompletedEvent88 INSTANCE_OF InspectionCompleted
InspectionCompletedEvent88 OCCURS_DURING PHTestingExecution88DeviationRaised records that a departure from an approved procedure, process parameter, or specification was identified.
NonConformanceRaised records that a non-conforming material or test result was flagged for review.
DispositionMade records that a release, rework, or rejection decision was made for a batch or lot.
These events allow the knowledge graph to reconstruct the quality history of a material:
SampleTaken
↓
InspectionCompleted
↓
NonConformanceRaised, where required
↓
DispositionMadeThey provide the temporal evidence required for traceability, investigation, and auditability.
The quality ontology introduces five material-quality states:
AwaitingInspectionState
UnderReviewState
ApprovedState
RejectedState
QuarantinedStateThese extend the core State concept.
AwaitingInspectionState means that material is being held until the required quality check is completed.
UnderReviewState means that the material is being assessed following a non-conforming result.
ApprovedState means that the material has passed quality judgement and is cleared for use or dispatch.
RejectedState means that the material has failed quality judgement and may not be used.
QuarantinedState means that the material is isolated and blocked from movement while a disposition decision is pending.
These states describe the lifecycle of material under quality control:
AwaitingInspectionState
↓
ApprovedStateor:
AwaitingInspectionState
↓
UnderReviewState
↓
QuarantinedState
↓
ApprovedState or RejectedStateEvents can be used to explain why the state changed:
NonConformanceRaisedEvent88 CHANGES_STATE Batch4711
Batch4711 HAS_STATE UnderReviewStateLater:
DispositionMadeEvent88 CHANGES_STATE Batch4711
Batch4711 HAS_STATE RejectedStateFor stronger traceability, these direct state relationships could later be represented through time-qualified state assertions.
The quality ontology introduces two more precise relationships:
INSPECTS
CONFORMS_TOBoth refine relationships already defined in the core.
The core defines:
Process AFFECTS EntityThe quality ontology specializes this with:
Process INSPECTS PhysicalEntityFor example:
BottleInspection88 INSPECTS BottleLot4711
PHTestingExecution88 INSPECTS BatchSample4711INSPECTS provides more precise meaning than the general AFFECTS relationship.
It tells us that the process examines the physical entity to judge whether it meets defined quality criteria.
The core defines:
Process IS_GUIDED_BY OperationalEntityThe quality ontology specializes this with:
Process CONFORMS_TO OperationalEntityFor example:
BottleInspection88 CONFORMS_TO PackagingQualitySpecification
PHTestingExecution88 CONFORMS_TO KetchupQualitySpecificationCONFORMS_TO means that the process is governed by a specification whose requirements must be satisfied.
This is more precise than saying only that the process is guided by an operational entity.
The same process may also use the broader core relationship for another quality artifact:
PHTestingExecution88 IS_GUIDED_BY PHTestMethodV3
PHTestingExecution88 CONFORMS_TO KetchupQualitySpecificationThe test method explains how the measurement is performed. The specification defines the limits against which the result is judged.
The resulting quality ontology can support a graph such as:
BatchSampling4711 INSTANCE_OF Sampling
BatchSample4711 INSTANCE_OF Sample
BatchSample4711 PARTICIPATES_IN BatchSampling4711
QCTechnician17 INSTANCE_OF QCTechnician
QCTechnician17 PARTICIPATES_IN BatchSampling4711
QCTechnician17 HAS_CAPABILITY SamplingCapability
SampleTakenEvent4711 INSTANCE_OF SampleTaken
SampleTakenEvent4711 OCCURS_DURING BatchSampling4711
PHTestingExecution88 INSTANCE_OF Testing
BatchSample4711 PARTICIPATES_IN PHTestingExecution88
PHMeter12 INSTANCE_OF TestEquipment
PHMeter12 PARTICIPATES_IN PHTestingExecution88
LabAnalyst8 INSTANCE_OF LabAnalyst
LabAnalyst8 PARTICIPATES_IN PHTestingExecution88
LabAnalyst8 HAS_CAPABILITY TestingCapability
PHTestingExecution88 REQUIRES_CAPABILITY TestingCapability
PHTestingExecution88 IS_GUIDED_BY PHTestMethodV3
PHTestingExecution88 CONFORMS_TO KetchupQualitySpecification
PHTestingExecution88 INSPECTS BatchSample4711
PHTestingExecution88 PRODUCES InspectionResult88
InspectionCompletedEvent88 INSTANCE_OF InspectionCompleted
InspectionCompletedEvent88 OCCURS_DURING PHTestingExecution88If the result is outside specification, the graph may continue:
NonConformanceRaisedEvent88 INSTANCE_OF NonConformanceRaised
NonConformanceRaisedEvent88 AFFECTS Batch4711
NonConformanceRaisedEvent88 CHANGES_STATE Batch4711
Batch4711 HAS_STATE UnderReviewState
NonConformanceReview88 INSTANCE_OF NonConformanceReview
NonConformanceReview88 PRODUCES NonConformanceReport88
BatchDisposition88 INSTANCE_OF Disposition
QualityManager3 PARTICIPATES_IN BatchDisposition88
DispositionMadeEvent88 INSTANCE_OF DispositionMade
DispositionMadeEvent88 OCCURS_DURING BatchDisposition88
DispositionMadeEvent88 CHANGES_STATE Batch4711
Batch4711 HAS_STATE ApprovedStateThe graph is specific to the quality domain, but every major concept remains grounded in the core ontology.
For example:
PHTestingExecution88
INSTANCE_OF Testing
SUBCLASS_OF QualityProcess
SUBCLASS_OF Processand:
BatchSample4711
INSTANCE_OF Sample
SUBCLASS_OF Material
SUBCLASS_OF PhysicalEntityAn application or AI agent can therefore move from detailed quality facts to the general semantic structure shared across manufacturing operations.
The quality ontology extends the core manufacturing ontology with the concepts required to describe how product quality is assessed, documented, and decided.
It introduces vocabulary for:
It also introduces the specialized relationships:
INSPECTS
CONFORMS_TOThese refine the more general core relationships AFFECTS and IS_GUIDED_BY.
The central principle remains the same:
The core ontology defines the shared structure of manufacturing operations. The quality ontology extends that structure with the concepts and relationships required to determine whether products and materials meet their defined quality requirements.
This allows quality models to become more detailed without separating them from production, maintenance, inventory, and the rest of the manufacturing knowledge graph.
New architecture guides, implementation tutorials and use-case blueprints, delivered as they’re published.





