Skip to content

Interface: Owl2ConstraintViolation

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Owl2ConstraintViolation

Defined in: src/types/ontology.ts:158

A cardinality violation in the instance data (an OWL 2 RL rule that fired).

maxAllowed: number

Defined in: src/types/ontology.ts:168

The declared maximum.


observedCount: number

Defined in: src/types/ontology.ts:166

How many values the term actually carries.


property: string

Defined in: src/types/ontology.ts:164

Feature the bound is declared on.


rule: string

Defined in: src/types/ontology.ts:160

The OWL 2 RL rule that fired, e.g. cls-maxc1.


subject: string

Defined in: src/types/ontology.ts:162

The offending term, as its id.