Skip to content

Interface: OntologyQualityReport

@kortexya/reasoninglayer


@kortexya/reasoninglayer / OntologyQualityReport

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

The composed ontology quality report.

axiomCount: number

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

Axioms the knowledge-base projection yielded.


boundViolations: BoundViolation[]

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

Cardinality violations in the data.


checksRun: LintRule[]

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

The rules that ran. Reported next to the findings because “no findings” and “the engine did not look” are different claims.


competencyAssessment: CompetencyAssessment

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

Whether this report assessed the competency questions, and how many accepted requirements exist. Read it before competencyPassRate: an absent pass rate is not a pass.


optional competencyPassRate?: number | null

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

Competency-question pass rate, present only when a competency run was composed into the report. ontology.qualityReport() runs no question, so the engine omits it; competencyAssessment says why.


findings: LintFinding[]

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

Lint findings, worst first.


profile: string

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

Tractable profiles the axioms fit, e.g. QL+RL. Empty when there were no axioms to classify.


summary: QualitySummary

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

Severity roll-up.


unsatisfiable: UnsatisfiableSort[]

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

Sorts that can never have members.