Skip to content

Interface: VocabularyTheoryChangeInput

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VocabularyTheoryChangeInput

Defined in: src/types/vocabulary.ts:8315

A theory change: exactly one OSFQL statement of its construct kind.

optional clientRef?: string

Defined in: src/types/vocabulary.ts:8319

The client’s name for a created change.


constructKind: VocabularyTheoryConstructKind

Defined in: src/types/vocabulary.ts:8321

The construct the statement declares.


optional expectedOutcome?: VocabularyExpectedOutcome

Defined in: src/types/vocabulary.ts:8323

The expected_outcome.


optional introduces?: string

Defined in: src/types/vocabulary.ts:8325

The name of the construct it introduces.


kind: "theory_change"

Defined in: src/types/vocabulary.ts:8317

The record discriminator.


ordinal: number

Defined in: src/types/vocabulary.ts:8327

Execution order (zero or more).


rationale: string

Defined in: src/types/vocabulary.ts:8329

Why.


optional recordId?: string

Defined in: src/types/vocabulary.ts:8331

The change to replace; absent creates one.


role: VocabularyTheoryRole

Defined in: src/types/vocabulary.ts:8333

T-Box statement or test fact.


statement: string

Defined in: src/types/vocabulary.ts:8338

One OSFQL statement (sort: DEFINE; rule: DERIVE; constraint: CONSTRAINT or CHECK; fact: INSERT; reparent: ALTER SORT … PARENTS; prefix: PREFIX p: <iri>;, role tbox, and introduces, when stated, names the bound prefix).