Skip to content

Interface: OsfqlResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Osfql / OsfqlResponse

Interface: OsfqlResponse

Defined in: src/types/osfql.ts:36

Response from OSFQL execution.

Remarks

Contains the results of executing an OSFQL program, including variable bindings from MATCH queries, IDs of produced terms and defined sorts, and diagnostic messages from the execution pipeline.

Properties

bindings

bindings: Record<string, OsfqlValue>[]

Defined in: src/types/osfql.ts:41

Variable bindings from MATCH queries. Each entry represents one solution.


definedSortIds?

optional definedSortIds: string[]

Defined in: src/types/osfql.ts:47

Sort IDs produced by DEFINE statements.


diagnostics

diagnostics: string[]

Defined in: src/types/osfql.ts:50

Diagnostic messages from the execution pipeline.


producedTermIds

producedTermIds: string[]

Defined in: src/types/osfql.ts:44

Term IDs produced by INSERT or DERIVE statements.


statementCount

statementCount: number

Defined in: src/types/osfql.ts:53

Number of statements executed.


success

success: boolean

Defined in: src/types/osfql.ts:38

Whether execution succeeded.