Interface: PropertyGraphQueryRequest
@kortexya/reasoninglayer / PropertyGraphQueryRequest
Interface: PropertyGraphQueryRequest
Section titled “Interface: PropertyGraphQueryRequest”Defined in: src/types/property-graph.ts:23
Request accepted by the GQL/Cypher/Gremlin compatibility endpoints.
Remarks
Section titled “Remarks”Sent to POST /api/v1/gql, /api/v1/cypher, /api/v1/gremlin and their
/translate counterparts. The tenant is determined from the X-Tenant-Id header.
The query text is parsed in the source language and lowered to an OSFQL program, which is what actually executes against the OSF knowledge base. There is no separate property-graph store — nodes and edges are Psi-terms.
Example
Section titled “Example”const request: PropertyGraphQueryRequest = { query: 'MATCH (p:person) RETURN p',};Properties
Section titled “Properties”query:
string
Defined in: src/types/property-graph.ts:25
GQL, Cypher, or Gremlin query text.